: window_(NULL),
window_type_(Type::NORMAL),
initialized_(false),
+ currentViewModeFullScreen_(false),
focus_(NULL),
content_(NULL),
rotation_(0),
rotation_ = elm_win_rotation_get(window_);
}
+void NativeWindow::SetCurrentViewModeFullScreen(bool mode) {
+ currentViewModeFullScreen_ = mode;
+}
+
void NativeWindow::Show() {
evas_object_show(window_);
}
void NativeWindow::FullScreen(bool enable) {
elm_win_indicator_opacity_set(window_,
- enable ? ELM_WIN_INDICATOR_TRANSPARENT : ELM_WIN_INDICATOR_OPAQUE);
+ (enable || currentViewModeFullScreen_) ? ELM_WIN_INDICATOR_TRANSPARENT : ELM_WIN_INDICATOR_OPAQUE);
}
#ifdef MANUAL_ROTATE_FEATURE_SUPPORT
void SetRotationLock(int degree);
void SetRotationLock(ScreenOrientation orientation);
void SetAutoRotation();
+ void SetCurrentViewModeFullScreen(bool mode);
int AddRotationHandler(RotationHandler handler);
void RemoveRotationHandler(int id);
int rotation() const { return rotation_; }
void DidFocusChanged(bool got);
bool initialized_;
+ bool currentViewModeFullScreen_;
Evas_Object* focus_;
Evas_Object* content_;
int rotation_;
if (app_data_->widget_info() != NULL &&
app_data_->widget_info()->view_modes() == "fullscreen") {
+ window_->SetCurrentViewModeFullScreen(true);
window_->FullScreen(true);
}