00001 #ifndef CSPanel_h 00002 #define CSPanel_h 00003 00004 // USES SDL_Surface 00005 00006 #ifdef WIN32 00007 #pragma warning(disable : 4786 ) 00008 #endif 00009 00010 #include <vector> 00011 #include <string> 00012 00013 #include "CSGrafikElement.h" 00014 #include "CSLog.h" 00015 00016 class CSPanel; 00017 typedef std::vector<CSPanel *> CSPanels; 00018 00019 class CSPanel : public CSGrafikElement 00020 { 00021 private: 00022 protected: 00023 void layoutSetupPanel() {} 00024 public: 00025 CSPanel() : CSGrafikElement(0,0) {} 00026 CSPanel(int w, int h); 00027 static const char *CLASS; 00028 virtual std::string getType() {return (std::string) CLASS;} 00029 00030 virtual bool isFocusable() {return false;} 00031 virtual void layoutSetupLayout() {layoutSetupPanel();} 00032 }; 00033 00034 #endif // CSPanel_h