summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilesdl.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/tilesdl.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/tilesdl.h')
-rw-r--r--crawl-ref/source/tilesdl.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/tilesdl.h b/crawl-ref/source/tilesdl.h
index ea4e717284..735189c95b 100644
--- a/crawl-ref/source/tilesdl.h
+++ b/crawl-ref/source/tilesdl.h
@@ -106,8 +106,6 @@ public:
void clear_minimap();
void update_inventory();
- void update_menu_inventory(unsigned int slot, const item_def &item, bool selected, char key);
-
void redraw();
void place_cursor(cursor_type type, const coord_def &gc);
@@ -121,6 +119,8 @@ public:
void add_overlay(const coord_def &gc, int idx);
void clear_overlays();
+
+ MenuRegion *get_menu() { return m_region_menu; }
protected:
int load_font(const char *font_file, int font_size,
@@ -161,12 +161,13 @@ protected:
// Full-screen CRT layer
CRTRegion *m_region_crt;
- InventoryRegion *m_region_menu_inv;
+ MenuRegion *m_region_menu;
struct font_info
{
std::string name;
int size;
+ bool outline;
FTFont *font;
};
std::vector<font_info> m_fonts;