X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Flayouting%2Flayout-size.h;h=d025ea7c0bb0b816bb67818f477fdd966e64311d;hb=refs%2Fchanges%2F75%2F189675%2F5;hp=b7ec71e1b2f77da8e9c148a77586cb1fe35ef6ec;hpb=6fee26dbd74ddc1b9e3319721948a54c791df4da;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/layouting/layout-size.h b/dali-toolkit/devel-api/layouting/layout-size.h index b7ec71e..d025ea7 100644 --- a/dali-toolkit/devel-api/layouting/layout-size.h +++ b/dali-toolkit/devel-api/layouting/layout-size.h @@ -31,12 +31,12 @@ class LayoutSize { public: LayoutSize() - : x(0u), - y(0u) + : x( 0 ), + y( 0 ) { } - LayoutSize( LayoutLength::IntType anX, LayoutLength::IntType aY ) + LayoutSize( LayoutLength anX, LayoutLength aY ) : x( anX ), y( aY ) { @@ -55,31 +55,24 @@ public: return *this; } - LayoutLength::IntType GetWidth() + void SetWidth( LayoutLength value ) { - return width; + width = value; } - LayoutLength::IntType GetHeight() + LayoutLength GetWidth() { - return height; + return width; } - void SetWidth(LayoutLength::IntType value) - { - width=value; - } - void SetHeight(LayoutLength::IntType value) + void SetHeight( LayoutLength value ) { - height=value; + height = value; } - void SetWidth(LayoutLength value) - { - width=value.mValue; - } - void SetHeight(LayoutLength value) + + LayoutLength GetHeight() { - height=value.mValue; + return height; } bool operator==( const LayoutSize& rhs ) @@ -94,14 +87,14 @@ public: union { - LayoutLength::IntType x; - LayoutLength::IntType width; + LayoutLength x; + LayoutLength width; }; union { - LayoutLength::IntType y; - LayoutLength::IntType height; + LayoutLength y; + LayoutLength height; }; };