00001
00002
00003
00004
00005
00006 #ifdef USE_TILE
00007 #ifndef TILEREG_TITLE_H
00008 #define TILEREG_TITLE_H
00009
00010 #include "tilereg.h"
00011
00012 class TitleRegion : public ControlRegion
00013 {
00014 public:
00015 TitleRegion(int width, int height, FontWrapper *font);
00016
00017 virtual void render();
00018 virtual void clear() {};
00019 virtual void run();
00020
00021 virtual int handle_mouse(MouseEvent &event) { return 0; }
00022
00023 void update_message(std::string message);
00024
00025 protected:
00026 virtual void on_resize() {}
00027
00028 GenericTexture m_img;
00029 VertBuffer m_buf;
00030 FontBuffer m_font_buf;
00031 };
00032
00033 #endif
00034 #endif