diff options
author | Florian Diebold <flodiebold@gmail.com> | 2011-12-15 00:02:22 +0100 |
---|---|---|
committer | Florian Diebold <flodiebold@gmail.com> | 2011-12-15 00:02:22 +0100 |
commit | 53986d7889ab9e2ee8f8f15045e16dc1250f9466 (patch) | |
tree | 98ab5d4cd73bdc804a8773287de1201884e8994e /crawl-ref/source/menu.h | |
parent | 238df43100399c580a0fb08babddfa4087fc60fb (diff) | |
download | crawl-ref-53986d7889ab9e2ee8f8f15045e16dc1250f9466.tar.gz crawl-ref-53986d7889ab9e2ee8f8f15045e16dc1250f9466.zip |
Remove the Menu(formatted_string) constructor.
With the mutation display, its last use has switched to
formatted_scroller, which seems to be the better tool to just display
a formatted string as a menu.
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r-- | crawl-ref/source/menu.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h index 4312bf8b8b..63e08a57dc 100644 --- a/crawl-ref/source/menu.h +++ b/crawl-ref/source/menu.h @@ -297,17 +297,6 @@ public: Menu(int flags = MF_MULTISELECT, const std::string& tagname = "", bool text_only = true); - // Initialises a Menu from a formatted_string as follows: - // - // 1) Splits the formatted_string on EOL. - // 2) Picks the most recently used non-whitespace colour as the colour - // for the next line (so it can't do multiple colours on one line). - // 3) Ignores all cursor movement ops in the formatted_string. - // - // These are limitations that should be fixed eventually. - // - Menu(const formatted_string &fs); - virtual ~Menu(); // Remove all items from the Menu, leave title intact. |