From: MinSung Jin Date: Tue, 2 Apr 2013 08:51:34 +0000 (+0900) Subject: modified controlmaker of TableView X-Git-Tag: accepted/tizen_2.1/20130425.033138~514^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e28c6a1c8edacc130a56a94227eaf12b23cd6c9;p=platform%2Fframework%2Fnative%2Fuifw.git modified controlmaker of TableView Change-Id: I64c73ef32babb34feb13284f357092684bb1496d Signed-off-by: MinSung Jin --- 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))