Author: sh-sh-sh Date: Fri May 9 11:51:03 2008 New Revision: 47403 URL: http://svn.opensuse.org/viewcvs/yast?rev=47403&view=rev Log: made isLayoutStretch() public as per Ricardo Cruz's request Modified: trunk/libyui/src/YLayoutBox.h Modified: trunk/libyui/src/YLayoutBox.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/libyui/src/YLayoutBox.h?rev=47403&r1=47402&r2=47403&view=diff ============================================================================== --- trunk/libyui/src/YLayoutBox.h (original) +++ trunk/libyui/src/YLayoutBox.h Fri May 9 11:51:03 2008 @@ -139,6 +139,12 @@ **/ virtual void moveChild( YWidget * child, int newX, int newY ) = 0; + /** + * Check if this is a layout stretch widget in the specfied dimension, + * i.e. an empty widget that is stretchable. + **/ + static bool isLayoutStretch( YWidget * child, YUIDimension dimension ); + protected: @@ -178,12 +184,6 @@ int countLayoutStretchChildren( YUIDimension dimension ); /** - * Check if this is a layout stretch widget in the specfied dimension, - * i.e. an empty widget that is stretchable. - **/ - static bool isLayoutStretch( YWidget * child, YUIDimension dimension ); - - /** * Determine the number of the "dominating child" - the child widget that * determines the overall size with respect to its weight. * -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org