summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
07a1998)
Change-Id: If82808ed8390cc5ae9305f495ca4647cca1a8a7a
return x==rhs.x && y==rhs.y;
}
return x==rhs.x && y==rhs.y;
}
+ bool operator!=( const LayoutSize& rhs )
+ {
+ return !( *this==rhs );
+ }
+
union
{
LayoutLength::IntType x;
union
{
LayoutLength::IntType x;
void LinearLayout::SetCellPadding( LayoutSize size )
{
GetImplementation(*this).SetCellPadding( size );
void LinearLayout::SetCellPadding( LayoutSize size )
{
GetImplementation(*this).SetCellPadding( size );
- GetImplementation(*this).RequestLayout();
}
LayoutSize LinearLayout::GetCellPadding()
{
return GetImplementation(*this).GetCellPadding();
}
LayoutSize LinearLayout::GetCellPadding()
{
return GetImplementation(*this).GetCellPadding();
- GetImplementation(*this).RequestLayout();
}
void LinearLayout::SetOrientation( LinearLayout::Orientation orientation )
{
GetImplementation(*this).SetOrientation( orientation );
}
void LinearLayout::SetOrientation( LinearLayout::Orientation orientation )
{
GetImplementation(*this).SetOrientation( orientation );
- GetImplementation(*this).RequestLayout();
}
LinearLayout::Orientation LinearLayout::GetOrientation()
{
return GetImplementation(*this).GetOrientation();
}
LinearLayout::Orientation LinearLayout::GetOrientation()
{
return GetImplementation(*this).GetOrientation();
- GetImplementation(*this).RequestLayout();
}
LinearLayout::LinearLayout( Dali::Toolkit::Internal::LinearLayout* object )
}
LinearLayout::LinearLayout( Dali::Toolkit::Internal::LinearLayout* object )
void LinearLayout::SetCellPadding( LayoutSize size )
{
void LinearLayout::SetCellPadding( LayoutSize size )
{
+ if ( mCellPadding != size )
+ {
+ mCellPadding = size;
+ RequestLayout();
+ }
}
LayoutSize LinearLayout::GetCellPadding()
}
LayoutSize LinearLayout::GetCellPadding()
void LinearLayout::SetOrientation( Dali::Toolkit::LinearLayout::Orientation orientation )
{
void LinearLayout::SetOrientation( Dali::Toolkit::LinearLayout::Orientation orientation )
{
- mOrientation = orientation;
+ if ( mOrientation != orientation )
+ {
+ mOrientation = orientation;
+ RequestLayout();
+ }
}
Dali::Toolkit::LinearLayout::Orientation LinearLayout::GetOrientation()
}
Dali::Toolkit::LinearLayout::Orientation LinearLayout::GetOrientation()