36 squash.hor = horSquash;
37 squash.vert = vertSquash;
48 YUI_CHECK_NEW( priv );
60 return priv->squash.hor;
66 return priv->squash.vert;
82 if ( priv->squash.hor && priv->squash.vert )
return "YHVSquash";
83 else if ( priv->squash.hor )
return "YHSquash";
84 else if ( priv->squash.vert )
return "YVSquash";
85 else return "YSquash_NoSquash";
bool vertSquash() const
Returns 'true' if this widget squashes vertically.
bool horSquash() const
Returns 'true' if this widget squashes horizontally.
YSquash(YWidget *parent, bool horSquash, bool vertSquash)
Constructor.
virtual ~YSquash()
Destructor.
virtual const char * widgetClass() const
Returns a descriptive name of this widget class for logging, debugging etc.
bool stretchable(YUIDimension dim) const
In a squashed dimension the widget NOT stretchable.
YSquashPrivate(bool horSquash, bool vertSquash)
Constructor.