Revert "Restore the state of indicator."
authorwoo <s-w.woo@samsung.com>
Tue, 29 Oct 2013 09:45:02 +0000 (18:45 +0900)
committerwoo <s-w.woo@samsung.com>
Tue, 29 Oct 2013 13:27:06 +0000 (22:27 +0900)
This reverts commit d7158efde1e36459e66549944234e6ff2525553c.

Change-Id: I726d69ce6e33f1faba5960fd0a6f7324eeacac9b

src/ui/controls/FUiCtrl_Frame.cpp

index 0e9aa0b..994fc68 100644 (file)
@@ -971,59 +971,6 @@ _Frame::OnBackgroundColorChanged(Color& backgroundColor)
        default:
                break;
        }
-
-       if (FORM_STYLE_INDICATOR & pCurrentForm->GetFormStyle())
-       {
-               pCurrentForm->SetIndicatorShowState(pCurrentForm->IsIndicatorVisible());
-               if (FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & pCurrentForm->GetFormStyle())
-               {
-                       pCurrentForm->SetIndicatorAutoHide(false, true);
-               }
-               else
-               {
-                       pCurrentForm->SetIndicatorAutoHide(false, false);
-               }
-       }
-       else
-       {
-               if ((FORM_STYLE_INDICATOR_AUTO_HIDE & pCurrentForm->GetFormStyle()) && (FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & pCurrentForm->GetFormStyle()))
-               {
-                       pCurrentForm->SetIndicatorShowState(pCurrentForm->IsIndicatorVisible());
-                       pCurrentForm->SetIndicatorAutoHide(true, true);
-               }
-               else
-               {
-                       if (FORM_STYLE_INDICATOR_AUTO_HIDE & pCurrentForm->GetFormStyle())
-                       {
-                               if (GetOrientation() == _CONTROL_ORIENTATION_PORTRAIT)
-                               {
-                                       pCurrentForm->SetIndicatorShowState(pCurrentForm->IsIndicatorVisible());
-                               }
-                               else
-                               {
-                                       pCurrentForm->SetIndicatorShowState(false);
-                               }
-                               pCurrentForm->SetIndicatorAutoHide(true, false);
-                       }
-                       else if(FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE & pCurrentForm->GetFormStyle())
-                       {
-                               if (GetOrientation() == _CONTROL_ORIENTATION_PORTRAIT)
-                               {
-                                       pCurrentForm->SetIndicatorShowState(false);
-                               }
-                               else
-                               {
-                                       pCurrentForm->SetIndicatorShowState(pCurrentForm->IsIndicatorVisible());
-                               }
-                               pCurrentForm->SetIndicatorAutoHide(false, true);
-                       }
-                       else
-                       {
-                               pCurrentForm->SetIndicatorShowState(false);
-                               pCurrentForm->SetIndicatorAutoHide(false, false);
-                       }
-               }
-       }
 }
 
 void