Modify QuickPanelFrameMaker : int -> float
authorJaeHwan Lee <jael.lee@samsung.com>
Thu, 7 Mar 2013 09:17:47 +0000 (18:17 +0900)
committerJaeHwan Lee <jael.lee@samsung.com>
Thu, 7 Mar 2013 09:17:47 +0000 (18:17 +0900)
Change-Id: I0ba98b4b4f41d1f395dd3ded3a26b5106a71e9dc
Signed-off-by: JaeHwan Lee <jael.lee@samsung.com>
src/FShell_QuickPanelFrameImpl.cpp

index b809052..454859e 100644 (file)
@@ -382,7 +382,7 @@ protected:
                result r = E_SYSTEM;
                _UiBuilderControlLayout* pControlProperty = null;
                Tizen::Base::String elementString;
-               int notificationFrameHeight =0;
+               float quickpanelFrameHeight = 0.0f;
 
                QuickPanelFrame* pQuickPanelFrame = dynamic_cast <QuickPanelFrame*>(GetContainer());
                SysTryReturn(NID_UI_CTRL, pQuickPanelFrame != null, null, E_SYSTEM, "[E_SYSTEM] This instance is not constructed.");
@@ -396,7 +396,7 @@ protected:
 
                if (pControlProperty->GetLayoutElement(L"height", elementString))
                {
-                       Integer::Parse(elementString, notificationFrameHeight);
+                       Float::Parse(elementString, quickpanelFrameHeight);
                }
 
                _UiBuilderLayoutType layoutType = UIBUILDER_LAYOUT_NONE;
@@ -404,7 +404,7 @@ protected:
 
                if (layoutType == UIBUILDER_LAYOUT_NONE)
                {
-                       r = pQuickPanelFrame->Construct(notificationFrameHeight);
+                       r = pQuickPanelFrame->Construct(quickpanelFrameHeight);
                }
                else
                {
@@ -416,7 +416,7 @@ protected:
 
                        if (E_SUCCESS == tempResult)
                        {
-                               r = pQuickPanelFrame->Construct(*pPortraitLayout, *pLandscapeLayout, notificationFrameHeight);
+                               r = pQuickPanelFrame->Construct(*pPortraitLayout, *pLandscapeLayout, quickpanelFrameHeight);
                        }
                        else
                        {