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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h
index 441685e11a..d002912383 100644
--- a/crawl-ref/source/menu.h
+++ b/crawl-ref/source/menu.h
@@ -404,6 +404,15 @@ private:
std::vector<formatted_string> flines;
};
+class formatted_scroller : public Menu
+{
+public:
+ formatted_scroller(int flags, const std::string& s);
+protected:
+ virtual void draw_item(int index, const MenuEntry* me) const;
+};
+
int menu_colour(const std::string &itemtext);
+int linebreak_string( std::string& s, int wrapcol, int maxcol );
#endif