Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

VBox.h

Go to the documentation of this file.
00001 #ifndef HEADER_VBOX_H
00002 #define HEADER_VBOX_H
00003 
00004 #include "WiBox.h"
00005 
00006 /**
00007  * Vertical box.
00008  */
00009 class VBox : public WiBox {
00010     private:
00011         int m_w;
00012         int m_h;
00013         bool m_centered;
00014     public:
00015         VBox();
00016         void enableCentered() { m_centered = true; }
00017         void recenter() { setShift(m_shift); }
00018 
00019         virtual int getW() const { return m_w; }
00020         virtual int getH() const { return m_h; }
00021         virtual void addWidget(IWidget *new_widget);
00022         virtual void setShift(const V2 &shift);
00023 };
00024 
00025 #endif

Generated on Wed Jun 1 09:54:32 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2