modified controlmaker of TableView
authorMinSung Jin <minsung.jin@samsung.com>
Tue, 2 Apr 2013 08:51:34 +0000 (17:51 +0900)
committerMinSung Jin <minsung.jin@samsung.com>
Tue, 2 Apr 2013 08:51:34 +0000 (17:51 +0900)
Change-Id: I64c73ef32babb34feb13284f357092684bb1496d
Signed-off-by: MinSung Jin <minsung.jin@samsung.com>
src/ui/controls/FUiCtrl_TableViewImpl.cpp

index 0e88f72..153f72b 100644 (file)
@@ -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))