00001 /*---------------------------------------------------------------------\ 00002 | | 00003 | __ __ ____ _____ ____ | 00004 | \ \ / /_ _/ ___|_ _|___ \ | 00005 | \ V / _` \___ \ | | __) | | 00006 | | | (_| |___) || | / __/ | 00007 | |_|\__,_|____/ |_| |_____| | 00008 | | 00009 | core system | 00010 | (C) SuSE GmbH | 00011 \----------------------------------------------------------------------/ 00012 00013 File: YSquash.h 00014 00015 Author: Mathias Kettner <kettner@suse.de> 00016 Maintainer: Stefan Hundhammer <sh@suse.de> 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