From 595691a4de61cec171dcb20a43bfa38976d2fa7e Mon Sep 17 00:00:00 2001 From: "keuckdo.bang" Date: Fri, 21 Jun 2013 11:25:55 +0530 Subject: [PATCH] Apply new Indicator GUI. Change-Id: I83c8734a7803836575217c31656d76577317bc6f --- src/ui/controls/FUiCtrl_Form.cpp | 222 ++++++++++++++++++++++++++++++---- src/ui/controls/FUiCtrl_FormImpl.cpp | 64 ++++++++-- src/ui/controls/FUiCtrl_Indicator.cpp | 102 ++++++++++++---- src/ui/controls/FUiCtrl_Popup.cpp | 2 +- src/ui/inc/FUiCtrl_Form.h | 6 +- src/ui/inc/FUiCtrl_Indicator.h | 5 +- 6 files changed, 339 insertions(+), 62 deletions(-) diff --git a/src/ui/controls/FUiCtrl_Form.cpp b/src/ui/controls/FUiCtrl_Form.cpp index b5d156d..885eac8 100644 --- a/src/ui/controls/FUiCtrl_Form.cpp +++ b/src/ui/controls/FUiCtrl_Form.cpp @@ -1476,6 +1476,25 @@ _Form::SetActionBarsTranslucent(unsigned long actionBars, bool translucent) return E_INVALID_OPERATION; } + if ((actionBars & FORM_ACTION_BAR_INDICATOR)) + { + if (GetOrientation() == _CONTROL_ORIENTATION_PORTRAIT) + { + if (!(__formStyle & FORM_STYLE_INDICATOR)) + { + SysLog(NID_UI_CTRL, + "[E_INVALID_OPERATION] The current state of the instance prohibits the execution of the specified operation."); + return E_INVALID_OPERATION; + } + } + else + { + SysLog(NID_UI_CTRL, + "[E_INVALID_OPERATION] The current state of the instance prohibits the execution of the specified operation."); + return E_INVALID_OPERATION; + } + } + result r = E_SUCCESS; Color bgColor(0, 0, 0, 0); @@ -1575,6 +1594,25 @@ _Form::SetActionBarsVisible(unsigned long actionBars, bool visible) return E_INVALID_OPERATION; } + if ((actionBars & FORM_ACTION_BAR_INDICATOR)) + { + if (GetOrientation() == _CONTROL_ORIENTATION_PORTRAIT) + { + if (!(__formStyle & FORM_STYLE_INDICATOR)) + { + SysLog(NID_UI_CTRL, + "[E_INVALID_OPERATION] The current state of the instance prohibits the execution of the specified operation."); + return E_INVALID_OPERATION; + } + } + else + { + SysLog(NID_UI_CTRL, + "[E_INVALID_OPERATION] The current state of the instance prohibits the execution of the specified operation."); + return E_INVALID_OPERATION; + } + } + FloatRectangle bounds = GetBoundsF(); SetBounds(bounds); @@ -1812,6 +1850,36 @@ _Form::HasHeader(void) const bool _Form::HasIndicator(void) const { + + if (__pIndicator) + { + if (GetOrientation() == _CONTROL_ORIENTATION_PORTRAIT) + { + if ((GetFormStyle() & FORM_STYLE_INDICATOR) || (GetFormStyle() & FORM_STYLE_INDICATOR_AUTO_HIDE)) + { + return true; + } + else + { + return false; + } + } + else + { + if (GetFormStyle() & FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE) + { + return true; + } + else + { + return false; + } + } + } + else + { + return false; + } if (__pIndicator && (GetFormStyle() & FORM_STYLE_INDICATOR)) { return true; @@ -2746,7 +2814,10 @@ _Form::GetIndicatorBounds(void) const } else { - GET_SHAPE_CONFIG(FORM::INDICATOR_MINIMIZE_HEIGHT, GetOrientation(), indicatorheight); + if (FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & GetFormStyle()) + { + GET_SHAPE_CONFIG(FORM::INDICATOR_MINIMIZE_HEIGHT, GetOrientation(), indicatorheight); + } } Rectangle rect (0, 0, indicatorwidth, indicatorheight); @@ -2786,7 +2857,10 @@ _Form::GetIndicatorBoundsF(void) const } else { - GET_SHAPE_CONFIG(FORM::INDICATOR_MINIMIZE_HEIGHT, GetOrientation(), indicatorheight); + if (FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & GetFormStyle()) + { + GET_SHAPE_CONFIG(FORM::INDICATOR_MINIMIZE_HEIGHT, GetOrientation(), indicatorheight); + } } FloatRectangle rect (0.0f, 0.0f, indicatorwidth, indicatorheight); @@ -2871,7 +2945,7 @@ _Form::SetIndicatorShowState(bool state) } void -_Form::SetIndicatorAutoHide(bool autohide) +_Form::SetIndicatorAutoHide(bool portrait, bool landscape) { result r = E_SUCCESS; @@ -2883,7 +2957,7 @@ _Form::SetIndicatorAutoHide(bool autohide) FrameShowMode mode = pFrame->GetShowMode(); if (mode == FRAME_SHOW_MODE_FULL_SCREEN) { - __pIndicator->SetIndicatorAutoHide(autohide); + __pIndicator->SetIndicatorAutoHide(portrait, landscape); r = GetLastResult(); SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r)); } @@ -3018,23 +3092,64 @@ _Form::AttachedToMainTree(void) if (__indicatorShowState != IsIndicatorVisible()) { - SetIndicatorShowState(__indicatorShowState); + SetIndicatorShowState(__indicatorShowState); } - SetIndicatorAutoHide(false); + if (FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & GetFormStyle()) + { + SetIndicatorAutoHide(false, true); + } + else + { + SetIndicatorAutoHide(false, false); + } r = GetLastResult(); SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r)); } - else if (FORM_STYLE_INDICATOR_AUTO_HIDE & GetFormStyle()) - { - AddIndicatorObject(); - SetIndicatorShowState(__indicatorShowState); - SetIndicatorAutoHide(true); - } else { - r = SetIndicatorShowState(false); - SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r)); + if ((FORM_STYLE_INDICATOR_AUTO_HIDE & GetFormStyle()) && (FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & GetFormStyle())) + { + AddIndicatorObject(); + SetIndicatorShowState(__indicatorShowState); + SetIndicatorAutoHide(true, true); + } + else + { + if (FORM_STYLE_INDICATOR_AUTO_HIDE & GetFormStyle()) + { + AddIndicatorObject(); + if (GetOrientation() == _CONTROL_ORIENTATION_PORTRAIT) + { + SetIndicatorShowState(__indicatorShowState); + } + else + { + SetIndicatorShowState(false); + } + SetIndicatorAutoHide(true, false); + + } + else if(FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & GetFormStyle()) + { + AddIndicatorObject(); + if (GetOrientation() == _CONTROL_ORIENTATION_PORTRAIT) + { + SetIndicatorShowState(false); + } + else + { + SetIndicatorShowState(__indicatorShowState); + } + SetIndicatorAutoHide(false, true); + } + else + { + r = SetIndicatorShowState(false); + SetIndicatorAutoHide(false, false); + SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r)); + } + } } return r; @@ -3159,7 +3274,10 @@ _Form::OnBoundsChanged(void) } else { - GET_SHAPE_CONFIG(FORM::INDICATOR_MINIMIZE_HEIGHT, GetOrientation(), indicatorheight); + if (FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & GetFormStyle()) + { + GET_SHAPE_CONFIG(FORM::INDICATOR_MINIMIZE_HEIGHT, GetOrientation(), indicatorheight); + } } if (__pIndicator) @@ -3377,20 +3495,76 @@ _Form::OnVisibleStateChanged(void) { if (FORM_STYLE_INDICATOR & GetFormStyle()) { - SetIndicatorShowState(__indicatorShowState); - SetIndicatorAutoHide(false); - } - else if (FORM_STYLE_INDICATOR_AUTO_HIDE & GetFormStyle()) - { - SetIndicatorShowState(true); - SetIndicatorAutoHide(true); + if (GetOrientation() == _CONTROL_ORIENTATION_LANDSCAPE) + { + if (FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & GetFormStyle()) + { + SetIndicatorShowState(true); + SetIndicatorAutoHide(false, true); + } + else + { + SetIndicatorShowState(false); + SetIndicatorAutoHide(false, false); + } + } + else + { + + if (FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & GetFormStyle()) + { + SetIndicatorAutoHide(false, true); + } + else + { + SetIndicatorAutoHide(false, false); + } + SetIndicatorShowState(__indicatorShowState); + } } else { - SetIndicatorShowState(false); - SetIndicatorAutoHide(false); + if ((FORM_STYLE_INDICATOR_AUTO_HIDE & GetFormStyle()) && (FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & GetFormStyle())) + { + SetIndicatorShowState(__indicatorShowState); + SetIndicatorAutoHide(true, true); + } + else + { + if (FORM_STYLE_INDICATOR_AUTO_HIDE & GetFormStyle()) + { + if (GetOrientation() == _CONTROL_ORIENTATION_PORTRAIT) + { + SetIndicatorShowState(true); + } + else + { + SetIndicatorShowState(false); + } + SetIndicatorAutoHide(true, false); + + } + else if(FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & GetFormStyle()) + { + if (GetOrientation() == _CONTROL_ORIENTATION_PORTRAIT) + { + SetIndicatorShowState(false); + } + else + { + SetIndicatorShowState(__indicatorShowState); + } + SetIndicatorAutoHide(false, true); + } + else + { + SetIndicatorShowState(false); + SetIndicatorAutoHide(false, false); + } + } } } + AdjustClientBounds(); } void diff --git a/src/ui/controls/FUiCtrl_FormImpl.cpp b/src/ui/controls/FUiCtrl_FormImpl.cpp index 612b39d..772c0c3 100644 --- a/src/ui/controls/FUiCtrl_FormImpl.cpp +++ b/src/ui/controls/FUiCtrl_FormImpl.cpp @@ -328,22 +328,48 @@ _FormImpl::SetFormStyle(unsigned long formStyle) { GetCore().SetIndicatorShowState(true); indicatorBounds = GetCore().GetIndicatorBoundsF(); - GetCore().SetIndicatorAutoHide(false); + + if (FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & formStyle) + { + GetCore().SetIndicatorAutoHide(false, true); + } + else + { + GetCore().SetIndicatorAutoHide(false, false); + } r = GetLastResult(); SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r)); } - else if(FORM_STYLE_INDICATOR_AUTO_HIDE & formStyle) - { - r = GetCore().SetIndicatorShowState(true); - GetCore().SetIndicatorAutoHide(true); - SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r)); - } else { - r = GetCore().SetIndicatorShowState(false); - GetCore().SetIndicatorAutoHide(false); - SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r)); + if ((FORM_STYLE_INDICATOR_AUTO_HIDE & formStyle) && (FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & formStyle)) + { + r = GetCore().SetIndicatorShowState(true); + GetCore().SetIndicatorAutoHide(true, true); + SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r)); + } + else + { + if (FORM_STYLE_INDICATOR_AUTO_HIDE & formStyle) + { + r = GetCore().SetIndicatorShowState(true); + GetCore().SetIndicatorAutoHide(true, false); + SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r)); + } + else if(FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & formStyle) + { + r = GetCore().SetIndicatorShowState(true); + GetCore().SetIndicatorAutoHide(false, true); + SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r)); + } + else + { + r = GetCore().SetIndicatorShowState(false); + GetCore().SetIndicatorAutoHide(false, false); + SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r)); + } + } } if (formStyle & FORM_STYLE_HEADER) @@ -1223,15 +1249,29 @@ _FormImpl::OnChangeLayout(_ControlOrientation orientation) if (orientation == _CONTROL_ORIENTATION_PORTRAIT) { pIndicator->SetBounds(FloatRectangle(0.0f, 0.0f, GetClientBoundsF().width, indicatorheight)); + if ((FORM_STYLE_INDICATOR & GetFormStyle()) || (FORM_STYLE_INDICATOR_AUTO_HIDE & GetFormStyle())) + { + GetCore().SetIndicatorShowState(true); + } + else + { + GetCore().SetIndicatorShowState(false); + } } else { - GET_SHAPE_CONFIG(FORM::INDICATOR_MINIMIZE_HEIGHT, GetCore().GetOrientation(), indicatorheight); - pIndicator->SetBounds(FloatRectangle(0.0f, 0.0f, GetClientBoundsF().width, indicatorheight)); + if (FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & GetFormStyle()) + { + GetCore().SetIndicatorShowState(true); + } } } GetCore().AdjustClientBounds(); } + else + { + GetCore().SetIndicatorShowState(false); + } if (pIndicator) { pIndicator->OnChangeLayout(orientation); diff --git a/src/ui/controls/FUiCtrl_Indicator.cpp b/src/ui/controls/FUiCtrl_Indicator.cpp index 4bcf7ec..bc2a28b 100644 --- a/src/ui/controls/FUiCtrl_Indicator.cpp +++ b/src/ui/controls/FUiCtrl_Indicator.cpp @@ -93,7 +93,8 @@ _Indicator::_Indicator(void) , __pCurrentVisualElement(null) , __pWindow(null) , __showstate(false) - , __autohide(false) + , __portraitautohide(false) + , __landscapeautohide(false) , __opacity(_INDICATOR_OPACITY_OPAQUE) , __orientation(_CONTROL_ORIENTATION_PORTRAIT) { @@ -136,7 +137,7 @@ _Indicator::SetIndicatorShowState(bool state) } void -_Indicator::SetIndicatorAutoHide(bool autohide) +_Indicator::SetIndicatorAutoHide(bool portrait, bool landscape) { Ecore_X_Window win; if (__pWindow) @@ -144,24 +145,37 @@ _Indicator::SetIndicatorAutoHide(bool autohide) win = (Ecore_X_Window)__pWindow->GetNativeHandle(); } - Ecore_Evas *pPortraitEe = ecore_evas_object_ecore_evas_get(__pPortraitIndicatorEvasObject); - SysTryReturnVoidResult(NID_UI_CTRL, pPortraitEe, E_SYSTEM, "[E_SYSTEM] Unable to get evas."); - Ecore_Evas *pLandscapeEe = ecore_evas_object_ecore_evas_get(__pLandscapeIndicatorEvasObject); - SysTryReturnVoidResult(NID_UI_CTRL, pLandscapeEe, E_SYSTEM, "[E_SYSTEM] Unable to get evas."); - - if (autohide) + if (__orientation == _CONTROL_ORIENTATION_PORTRAIT) { - Color bgColor(0x00000000); - SetBackgroundColor(_Colorf((float)bgColor.GetRed() / 255.0f, (float)bgColor.GetGreen() / 255.0f, (float)bgColor.GetBlue() / 255.0f, (float)bgColor.GetAlpha() / 255.0f)); - ecore_x_e_illume_indicator_opacity_set(win, ECORE_X_ILLUME_INDICATOR_TRANSPARENT); + if (portrait) + { + Color bgColor(0x00000000); + SetBackgroundColor(_Colorf((float)bgColor.GetRed() / 255.0f, (float)bgColor.GetGreen() / 255.0f, (float)bgColor.GetBlue() / 255.0f, (float)bgColor.GetAlpha() / 255.0f)); + ecore_x_e_illume_indicator_opacity_set(win, ECORE_X_ILLUME_INDICATOR_TRANSPARENT); + } + else + { + SetIndicatorOpacity(__opacity); + ecore_x_e_illume_indicator_opacity_set(win, ECORE_X_ILLUME_INDICATOR_OPAQUE); + } } else { - SetIndicatorOpacity(__opacity); - ecore_x_e_illume_indicator_opacity_set(win, ECORE_X_ILLUME_INDICATOR_OPAQUE); + if (landscape) + { + Color bgColor(0x00000000); + SetBackgroundColor(_Colorf((float)bgColor.GetRed() / 255.0f, (float)bgColor.GetGreen() / 255.0f, (float)bgColor.GetBlue() / 255.0f, (float)bgColor.GetAlpha() / 255.0f)); + ecore_x_e_illume_indicator_opacity_set(win, ECORE_X_ILLUME_INDICATOR_TRANSPARENT); + } + else + { + SetIndicatorOpacity(__opacity); + ecore_x_e_illume_indicator_opacity_set(win, ECORE_X_ILLUME_INDICATOR_OPAQUE); + } } + __portraitautohide = portrait; + __landscapeautohide = landscape; - __autohide = autohide; } result @@ -202,9 +216,19 @@ _Indicator::GetIndicatorShowState(void) const _IndicatorOpacity _Indicator::GetIndicatorOpacity(void) const { - if (__autohide) + if (__orientation == _CONTROL_ORIENTATION_PORTRAIT) { - return _INDICATOR_OPACITY_TRANSPARENT; + if (__portraitautohide) + { + return _INDICATOR_OPACITY_TRANSPARENT; + } + } + else + { + if (__landscapeautohide) + { + return _INDICATOR_OPACITY_TRANSPARENT; + } } return __opacity; @@ -213,7 +237,15 @@ _Indicator::GetIndicatorOpacity(void) const bool _Indicator::GetIndicatorAutoHide(void) const { - return __autohide; + if (__orientation == _CONTROL_ORIENTATION_PORTRAIT) + { + return __portraitautohide; + } + else + { + return __landscapeautohide; + } + } Rectangle @@ -393,21 +425,49 @@ _Indicator::ChangeCurrentVisualElement(Tizen::Ui::Animations::_VisualElement* pV void _Indicator::OnChangeLayout(_ControlOrientation orientation) { + Ecore_X_Window win; + if (__pWindow) + { + win = (Ecore_X_Window)__pWindow->GetNativeHandle(); + } + if (orientation == _CONTROL_ORIENTATION_PORTRAIT) { ChangeCurrentVisualElement(__pPortraitVisualElement); SetClipChildrenEnabled(true); + + if (__portraitautohide) + { + Color bgColor(0x00000000); + SetBackgroundColor(_Colorf((float)bgColor.GetRed() / 255.0f, (float)bgColor.GetGreen() / 255.0f, (float)bgColor.GetBlue() / 255.0f, (float)bgColor.GetAlpha() / 255.0f)); + ecore_x_e_illume_indicator_opacity_set(win, ECORE_X_ILLUME_INDICATOR_TRANSPARENT); + } + else + { + SetIndicatorOpacity(__opacity); + ecore_x_e_illume_indicator_opacity_set(win, ECORE_X_ILLUME_INDICATOR_OPAQUE); + } + } else { ChangeCurrentVisualElement(__pLandscapeVisualElement); SetClipChildrenEnabled(false); + + if (__landscapeautohide) + { + Color bgColor(0x00000000); + SetBackgroundColor(_Colorf((float)bgColor.GetRed() / 255.0f, (float)bgColor.GetGreen() / 255.0f, (float)bgColor.GetBlue() / 255.0f, (float)bgColor.GetAlpha() / 255.0f)); + ecore_x_e_illume_indicator_opacity_set(win, ECORE_X_ILLUME_INDICATOR_TRANSPARENT); + } + else + { + SetIndicatorShowState(false); + SetIndicatorOpacity(__opacity); + ecore_x_e_illume_indicator_opacity_set(win, ECORE_X_ILLUME_INDICATOR_OPAQUE); + } } __orientation = orientation; - if (!__autohide) - { - SetIndicatorOpacity(__opacity); - } _EcoreEvas* pEcoreEvas = GetEcoreEvasMgr()->GetEcoreEvas(); int rotation = 0; diff --git a/src/ui/controls/FUiCtrl_Popup.cpp b/src/ui/controls/FUiCtrl_Popup.cpp index aedacc2..4cd9389 100644 --- a/src/ui/controls/FUiCtrl_Popup.cpp +++ b/src/ui/controls/FUiCtrl_Popup.cpp @@ -537,7 +537,7 @@ _Popup::OnActivated(void) { __pIndicator->SetIndicatorOpacity(_INDICATOR_OPACITY_OPAQUE); } - __pIndicator->SetIndicatorAutoHide(autohide); + //__pIndicator->SetIndicatorAutoHide(autohide); } _Window::OnActivated(); diff --git a/src/ui/inc/FUiCtrl_Form.h b/src/ui/inc/FUiCtrl_Form.h index 7c97424..8eb2aa4 100644 --- a/src/ui/inc/FUiCtrl_Form.h +++ b/src/ui/inc/FUiCtrl_Form.h @@ -56,7 +56,9 @@ enum _FormStyle _FORM_STYLE_ICON_TAB = 0x00000200, /**< @deprecated This enumeration field is deprecated because the use of the Tab control is no longer recommended.*/ _FORM_STYLE_HEADER = 0x00001000, /**< The form with a header @b Since: @b 2.0 */ _FORM_STYLE_FOOTER = 0x00002000, /**< The form with a footer @b Since: @b 2.0 */ - _FORM_STYLE_INDICATOR_AUTO_HIDE = 0x00010000 /**< The form with a indicator which is hidden. @b Since: @b 2.1 */ + _FORM_STYLE_INDICATOR_AUTO_HIDE = 0x00010000, /**< The form with a indicator which is hidden. @b Since: @b 2.1 */ + _FORM_STYLE_PORTRAIT_INDICATOR_AUTO_HIDE = _FORM_STYLE_INDICATOR_AUTO_HIDE, /**< The form with a indicator which is hidden. @b Since: @b 2.2 */ + _FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE = 0x00020000 /**< The form with a indicator which is hidden. @b Since: @b 2.2 */ }; enum _Softkey @@ -182,7 +184,7 @@ public: void SetTabStyle(int style); result SetIndicatorShowState(bool state); - void SetIndicatorAutoHide(bool autohide); + void SetIndicatorAutoHide(bool portrait, bool landscape); result SetIndicatorOpacity(_IndicatorOpacity opacity); virtual bool OnMousePressed(const _Control& source, const _MouseInfo& mouseinfo); diff --git a/src/ui/inc/FUiCtrl_Indicator.h b/src/ui/inc/FUiCtrl_Indicator.h index 51753a5..1f4795c 100644 --- a/src/ui/inc/FUiCtrl_Indicator.h +++ b/src/ui/inc/FUiCtrl_Indicator.h @@ -52,7 +52,7 @@ public: static _Indicator* CreateIndicator(void); result SetIndicatorShowState(bool state); - void SetIndicatorAutoHide(bool autohide); + void SetIndicatorAutoHide(bool portrait, bool landscape); result SetIndicatorOpacity(_IndicatorOpacity opacity); bool GetIndicatorShowState(void) const; _IndicatorOpacity GetIndicatorOpacity(void) const; @@ -86,7 +86,8 @@ private: Tizen::Ui::Animations::_VisualElement* __pCurrentVisualElement; _Window* __pWindow; bool __showstate; - bool __autohide; + bool __portraitautohide; + bool __landscapeautohide; _IndicatorOpacity __opacity; Tizen::Ui::_ControlOrientation __orientation; -- 2.7.4