Apply the new ground_level method.
[crawl.git] / crawl-ref / source / tilereg-inv.h
blob2c3f22b1b5864c6eaa4cf1fcffe4670a47c283e5
1 /*
2 * File: tilereg_inv.h
3 * Created by: ennewalker on Sat Jan 5 01:33:53 2008 UTC
4 */
6 #ifdef USE_TILE
7 #ifndef TILEREG_INV_H
8 #define TILEREG_INV_H
10 #include "tilereg-grid.h"
12 class InventoryRegion : public GridRegion
14 public:
15 InventoryRegion(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 "Inventory"; }
25 protected:
26 virtual void pack_buffers();
27 virtual void draw_tag();
28 virtual void activate();
31 #endif
32 #endif