Apply the new ground_level method.
[crawl.git] / crawl-ref / source / tilereg-spl.h
blobd5dedab5f9665ff700739b1c273ae0f1f9b6735d
1 /*
2 * File: tilereg_spl.h
3 * Created by: ennewalker on Sat Jan 5 01:33:53 2008 UTC
4 */
6 #ifdef USE_TILE
7 #ifndef TILEREG_SPL_H
8 #define TILEREG_SPL_H
10 #include "tilereg-grid.h"
12 class SpellRegion : public GridRegion
14 public:
15 SpellRegion(const TileRegionInit &init);
17 virtual void update();
18 virtual int handle_mouse(MouseEvent &event);
19 virtual bool update_tip_text(std::string &tip);
20 virtual bool update_tab_tip_text(std::string &tip, bool active);
21 virtual bool update_alt_text(std::string &alt);
23 virtual const std::string name() const { return "Spells"; }
25 protected:
26 virtual int get_max_slots();
28 virtual void pack_buffers();
29 virtual void draw_tag();
30 virtual void activate();
33 #endif
34 #endif