From 6e28c6a1c8edacc130a56a94227eaf12b23cd6c9 Mon Sep 17 00:00:00 2001 From: MinSung Jin Date: Tue, 2 Apr 2013 17:51:34 +0900 Subject: [PATCH] modified controlmaker of TableView Change-Id: I64c73ef32babb34feb13284f357092684bb1496d Signed-off-by: MinSung Jin --- src/ui/controls/FUiCtrl_TableViewImpl.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ui/controls/FUiCtrl_TableViewImpl.cpp b/src/ui/controls/FUiCtrl_TableViewImpl.cpp index 0e88f72..153f72b 100644 --- a/src/ui/controls/FUiCtrl_TableViewImpl.cpp +++ b/src/ui/controls/FUiCtrl_TableViewImpl.cpp @@ -1008,7 +1008,7 @@ protected: result r = E_SYSTEM; _UiBuilderControlLayout* pControlProperty = null; TableView* pTableView = null; - Rectangle rect; + FloatRectangle rect; Tizen::Base::String elementString; bool itemDividerState = true; @@ -1025,7 +1025,7 @@ protected: pTableView = new (std::nothrow) TableView(); SysTryReturn(NID_UI_CTRL, pTableView, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] The memory is insufficient."); - rect = pControlProperty->GetRect(); + rect = pControlProperty->GetRectF(); //Construct if (pControl->GetElement("itemDivider", elementString)) @@ -1155,7 +1155,7 @@ protected: result r = E_SYSTEM; _UiBuilderControlLayout* pControlProperty = null; GroupedTableView* pTableView = null; - Rectangle rect; + FloatRectangle rect; Tizen::Base::String elementString; bool itemDividerState = true; @@ -1172,7 +1172,7 @@ protected: pTableView = new (std::nothrow) GroupedTableView(); SysTryReturn(NID_UI_CTRL, pTableView, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] The memory is insufficient."); - rect = pControlProperty->GetRect(); + rect = pControlProperty->GetRectF(); //Construct if (pControl->GetElement("itemDivider", elementString)) @@ -1330,7 +1330,7 @@ protected: result r = E_SYSTEM; _UiBuilderControlLayout* pControlProperty = null; SectionTableView* pTableView = null; - Rectangle rect; + FloatRectangle rect; Tizen::Base::String elementString; bool itemDividerState = true; @@ -1347,7 +1347,7 @@ protected: pTableView = new (std::nothrow) SectionTableView(); SysTryReturn(NID_UI_CTRL, pTableView, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] The memory is insufficient."); - rect = pControlProperty->GetRect(); + rect = pControlProperty->GetRectF(); //Construct if (pControl->GetElement("itemDivider", elementString)) -- 2.7.4