00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef YSquash_h
00021 #define YSquash_h
00022
00023 #include "YContainerWidget.h"
00024
00028 class YSquash : public YContainerWidget
00029 {
00030 public:
00031
00035 YSquash( const YWidgetOpt & opt, bool hsquash, bool vsquash );
00036
00041 virtual char *widgetClass() { return "YSquash"; }
00042
00048 bool stretchable( YUIDimension dim ) const;
00049
00050
00051 protected:
00055 bool squash[ YUIAllDimensions ];
00056 };
00057
00058
00059 #endif // YSquash_h