00001 #ifndef HEADER_WISPACE_H 00002 #define HEADER_WISPACE_H 00003 00004 #include "IWidget.h" 00005 00006 /** 00007 * Empty place with width and height. 00008 */ 00009 class WiSpace : public IWidget { 00010 private: 00011 int m_w; 00012 int m_h; 00013 public: 00014 WiSpace(int width, int height) : m_w(width), m_h(height) {} 00015 virtual int getW() const { return m_w; } 00016 virtual int getH() const { return m_h; } 00017 00018 virtual void drawOn(SDL_Surface * /*screen*/) {} 00019 }; 00020 00021 #endif