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

WiBox.h

Go to the documentation of this file.
00001 #ifndef HEADER_WIBOX_H
00002 #define HEADER_WIBOX_H
00003 
00004 #include "IWidget.h"
00005 
00006 #include <vector>
00007 
00008 /**
00009  * Box which care about subwidget layout.
00010  * NOTE: soubwidgets should have constant size.
00011  */
00012 class WiBox : public IWidget {
00013     protected:
00014         typedef std::vector<IWidget*> t_widgets;
00015         t_widgets m_widgets;
00016         virtual std::string own_getTip(const V2 &loc);
00017         virtual void own_mouseButton(const MouseStroke &stroke);
00018     public:
00019         virtual ~WiBox();
00020         virtual void addWidget(IWidget *new_widget) = 0;
00021 
00022         virtual void drawOn(SDL_Surface *screen);
00023 };
00024 
00025 #endif

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