00001 #ifndef HEADER_WICONTAINER_H
00002 #define HEADER_WICONTAINER_H
00003
00004 #include "IWidget.h"
00005
00006
00007
00008
00009 class WiContainer : public IWidget {
00010 private:
00011 IWidget *m_content;
00012 int m_border;
00013 protected:
00014 virtual void own_mouseButton(const MouseStroke &stroke);
00015 public:
00016 WiContainer(IWidget *new_content, int border=0);
00017 virtual ~WiContainer();
00018 virtual int getW() const;
00019 virtual int getH() const;
00020 virtual void setShift(const V2 &shift);
00021
00022 virtual void drawOn(SDL_Surface *screen);
00023 };
00024
00025 #endif