Fixed Partial Screen
authorChoi Munseok <ms47.choi@samsung.com>
Tue, 10 Sep 2013 01:39:41 +0000 (10:39 +0900)
committerChoi Munseok <ms47.choi@samsung.com>
Tue, 10 Sep 2013 01:39:41 +0000 (10:39 +0900)
Change-Id: I8dc72cc9c67cc60f2dd7fa69da670782c4f3cd1c
Signed-off-by: Choi Munseok <ms47.choi@samsung.com>
src/ui/FUi_EcoreEvas.cpp
src/ui/FUi_Window.cpp
src/ui/controls/FUiCtrl_Frame.cpp
src/ui/inc/FUiCtrl_Frame.h
src/ui/inc/FUi_Types.h

index 9864846..9931d42 100644 (file)
@@ -386,7 +386,8 @@ OnWindowConfigured(void* pData, int type, void* pEvent)
        Ecore_X_Window win = (Ecore_X_Window)pFrame->GetNativeHandle();
        Dimension screenSize = pControlManager->GetScreenSize();
 
-#if defined(_SPLIT_WINDOW_)
+// _PARTIAL_SCREEN_
+#if 0
        if (win != targetWin)
        {
                return ECORE_CALLBACK_PASS_ON;
@@ -401,7 +402,7 @@ OnWindowConfigured(void* pData, int type, void* pEvent)
                }
                else
                {
-                       pFrame->SetSplitWindowEnabled(true);
+                       pFrame->SetPartialScreenEnabled(true);
                }
        }
 #else
@@ -450,7 +451,8 @@ OnWindowConfigured(void* pData, int type, void* pEvent)
                pFrame->SetChangedPositionByUser(isChanged);
                pFrame->SetChangingBoundsEnabled(true);
 
-#if defined(_SPLIT_WINDOW_)
+// _PARTIAL_SCREEN_
+#if 0
                Rectangle frameBounds = pFrame->GetBounds();
                Rectangle frameClientBounds = pFrame->GetClientBounds();
                Rectangle frameAbsoluteBounds = pFrame->GetAbsoluteBounds();
index ce7bc76..e3d7d97 100644 (file)
@@ -706,7 +706,8 @@ _Window::OnWindowStateChanged(void)
                                        pFormImpl->UpdateOrientation();
                                }
 
-#if defined(_SPLIT_WINDOW_)
+// _PARTIAL_SCREEN_
+#if 0
                                Rectangle frameBounds = GetBounds();
                                Rectangle frameClientBounds = GetClientBounds();
                                Rectangle frameAbsoluteBounds = GetAbsoluteBounds();
index 9aca731..d8f0d76 100644 (file)
@@ -1024,7 +1024,7 @@ _Frame::SetChangingBoundsEnabled(bool enable)
 }
 
 void
-_Frame::SetSplitWindowEnabled(bool enable)
+_Frame::SetPartialScreenEnabled(bool enable)
 {
        if (enable == true)
        {
index 1be9362..a344ffd 100644 (file)
@@ -100,7 +100,7 @@ public:
 
 // Internal
        void SetChangingBoundsEnabled(bool enable);
-       void SetSplitWindowEnabled(bool enable);
+       void SetPartialScreenEnabled(bool enable);
 
 protected:
        result SetPresenter(const _FramePresenter& framePresenter);
index 07e6307..00b4ace 100644 (file)
@@ -23,8 +23,6 @@
 #include <FGrpDimension.h>
 #include <FBase_ObjectManagerT.h>
 
-//#define _SPLIT_WINDOW_
-
 namespace Tizen { namespace Ui
 {