summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/menu.h
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2013-08-24 07:58:30 +0200
committerNeil Moore <neil@s-z.org>2013-09-21 01:30:51 -0400
commitc6de1386fa331d59c58b1d3054ffdaeab3268517 (patch)
tree615e5bca957b4a717be727c48308bdf6078240fe /crawl-ref/source/menu.h
parentec0fa00cfee16130cd57b80c48cf5ca3bcd2fcf1 (diff)
downloadcrawl-ref-c6de1386fa331d59c58b1d3054ffdaeab3268517.tar.gz
crawl-ref-c6de1386fa331d59c58b1d3054ffdaeab3268517.zip
Condense some duplicated menu code for formatted_scroller
Also re-align, and highlight input keys as in lots of other places. Show this improved -more- line for viewing character notes, too. The TODO was removed as well because the only effect of dynamically changing displayed "help" information like this is player confusion. Static information works better when it comes to legends.
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r--crawl-ref/source/menu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h
index 84238dc2da..14739dbc39 100644
--- a/crawl-ref/source/menu.h
+++ b/crawl-ref/source/menu.h
@@ -342,8 +342,10 @@ public:
bool draw_title_suffix(const formatted_string &fs, bool titlefirst = true);
void update_title();
- // Sets a replacement for the --more-- string.
+ // Sets a replacement for the default -more- string.
void set_more(const formatted_string &more);
+ // Shows a stock message about scrolling the menu instead of -more-
+ void set_more();
const formatted_string &get_more() const { return more; }
void set_highlighter(MenuHighlighter *h);