summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r--crawl-ref/source/menu.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h
index 86c3b6e556..7f8b4c6372 100644
--- a/crawl-ref/source/menu.h
+++ b/crawl-ref/source/menu.h
@@ -265,8 +265,8 @@ public:
virtual bool is_set( int flag ) const;
void set_tag(const std::string& t) { tag = t; }
- bool draw_title_suffix( const std::string &s, bool titlefirst = true );
- bool draw_title_suffix( const formatted_string &fs, bool titlefirst = true );
+ bool draw_title_suffix(const std::string &s, bool titlefirst = true);
+ bool draw_title_suffix(const formatted_string &fs, bool titlefirst = true);
void update_title();
// Sets a replacement for the --more-- string.
@@ -309,6 +309,9 @@ public:
drawitem_tfn f_drawitem;
keyfilter_tfn f_keyfilter;
+ bool allow_toggle;
+ enum action { ACT_EXECUTE, ACT_EXAMINE, ACT_NUM } menu_action;
+
protected:
MenuEntry *title;
int flags;