From a9a2f56692aa6af2a832007107bfece66dbf5637 Mon Sep 17 00:00:00 2001 From: JaeHwan Lee Date: Thu, 7 Mar 2013 18:17:47 +0900 Subject: [PATCH] Modify QuickPanelFrameMaker : int -> float Change-Id: I0ba98b4b4f41d1f395dd3ded3a26b5106a71e9dc Signed-off-by: JaeHwan Lee --- src/FShell_QuickPanelFrameImpl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/FShell_QuickPanelFrameImpl.cpp b/src/FShell_QuickPanelFrameImpl.cpp index b809052..454859e 100644 --- a/src/FShell_QuickPanelFrameImpl.cpp +++ b/src/FShell_QuickPanelFrameImpl.cpp @@ -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 (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 { -- 2.7.4