summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.h
diff options
context:
space:
mode:
authorMatthew Cline <zelgadis@sourceforge.net>2009-11-27 02:20:59 -0800
committerMatthew Cline <zelgadis@sourceforge.net>2009-11-27 02:20:59 -0800
commitc039e7e846d4808f135a46ebcc5e99bce5d8a3ca (patch)
treec2379aadc4d0f7065df1341d240a5daf27c0e66a /crawl-ref/source/menu.h
parent0f8cd49c9c18260156782afc65bbea7b30a92804 (diff)
downloadcrawl-ref-c039e7e846d4808f135a46ebcc5e99bce5d8a3ca.tar.gz
crawl-ref-c039e7e846d4808f135a46ebcc5e99bce5d8a3ca.zip
New method menu::del_entry()
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r--crawl-ref/source/menu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h
index fb822388ed..8760d7a0d9 100644
--- a/crawl-ref/source/menu.h
+++ b/crawl-ref/source/menu.h
@@ -316,6 +316,8 @@ public:
void set_highlighter( MenuHighlighter *h );
void set_title( MenuEntry *e, bool first = true );
void add_entry( MenuEntry *entry );
+ bool del_entry( MenuEntry *entry );
+ bool del_entry( int entry_index );
void get_selected( std::vector<MenuEntry*> *sel ) const;
void set_maxpagesize(int max);