Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

YSpacing.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                        (C) SuSE GmbH |
00011 \----------------------------------------------------------------------/
00012 
00013   File:       YSpacing.h
00014 
00015   Author:     Stefan Hundhammer <sh@suse.de>
00016 
00017 /-*/
00018 
00019 // -*- c++ -*-
00020 
00021 #ifndef YSpacing_h
00022 #define YSpacing_h
00023 
00024 #include "YWidget.h"
00025 
00029 class YSpacing : public YWidget
00030 {
00031 public:
00032 
00039     YSpacing( const YWidgetOpt & opt, float size, bool horizontal, bool vertical );
00040 
00045     virtual char *widgetClass() { return "YSpacing"; }
00046 
00052     long nicesize( YUIDimension dim );
00053 
00059     bool isLayoutStretch( YUIDimension dim ) const;
00060 
00070     virtual long absoluteSize( YUIDimension dim, float relativeSize );
00071 
00072 
00073 protected:
00079     float relativeSize[ YUIAllDimensions ];
00080 };
00081 
00082 
00083 #endif // YSpacing_h

Generated on Fri Nov 9 18:15:23 2007 for yast2-core by doxygen 1.3.6