00001
00002
00003
00004
00005
00006 #ifdef USE_TILE
00007 #ifndef TILEREG_SPL_H
00008 #define TILEREG_SPL_H
00009
00010 #include "tilereg-grid.h"
00011
00012 class SpellRegion : public GridRegion
00013 {
00014 public:
00015 SpellRegion(const TileRegionInit &init);
00016
00017 virtual void update();
00018 virtual int handle_mouse(MouseEvent &event);
00019 virtual bool update_tip_text(std::string &tip);
00020 virtual bool update_tab_tip_text(std::string &tip, bool active);
00021 virtual bool update_alt_text(std::string &alt);
00022
00023 virtual const std::string name() const { return "Spells"; }
00024
00025 protected:
00026 virtual int get_max_slots();
00027
00028 virtual void pack_buffers();
00029 virtual void draw_tag();
00030 virtual void activate();
00031 };
00032
00033 #endif
00034 #endif