00001
00002
00003
00004
00005
00006 #ifdef USE_TILE
00007 #ifndef TILEREG_MSG_H
00008 #define TILEREG_MSG_H
00009
00010 #include "tilereg-text.h"
00011
00012 class MessageRegion : public TextRegion
00013 {
00014 public:
00015 MessageRegion(FontWrapper *font);
00016
00017 void set_overlay(bool is_overlay);
00018
00019 virtual int handle_mouse(MouseEvent &event);
00020 virtual void render();
00021 virtual bool update_tip_text(std::string &tip);
00022
00023 std::string &alt_text() { return m_alt_text; }
00024 protected:
00025 std::string m_alt_text;
00026 bool m_overlay;
00027 };
00028
00029 #endif
00030 #endif