summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.h
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-16 00:09:45 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-10-16 00:09:45 +0000
commit42f25ae23ee34f9ae3a0e31fc0039258deab2bc3 (patch)
treecb46297c71d456fe35854a23918518b900207089 /crawl-ref/source/invent.h
parent84789445f8c4937c2930a0d67e602408c2605201 (diff)
downloadcrawl-ref-42f25ae23ee34f9ae3a0e31fc0039258deab2bc3.tar.gz
crawl-ref-42f25ae23ee34f9ae3a0e31fc0039258deab2bc3.zip
Support for inline graphics and mouse input on menus.
Menus in the console version should be unchanged. Let me know if this is not the case. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7258 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/invent.h')
-rw-r--r--crawl-ref/source/invent.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/invent.h b/crawl-ref/source/invent.h
index 8a28bcd942..8cdabe01b1 100644
--- a/crawl-ref/source/invent.h
+++ b/crawl-ref/source/invent.h
@@ -99,6 +99,10 @@ public:
virtual void select( int qty = -1 );
+#ifdef USE_TILE
+ virtual bool tile(int &tile, TextureID &tex) const;
+#endif
+
private:
void add_class_hotkeys(const item_def &i);
};
@@ -157,7 +161,6 @@ protected:
void sort_menu(std::vector<InvEntry*> &items,
const menu_sort_condition *cond);
const menu_sort_condition *find_menu_sort_condition() const;
- virtual void draw_stock_item(int index, const MenuEntry *me) const;
virtual bool is_selectable(int index) const;
protected: