From d131ce057a429833e086b60cebeda46e062d07a1 Mon Sep 17 00:00:00 2001 From: haranp Date: Sun, 26 Nov 2006 14:54:48 +0000 Subject: New overview screen (the 'O' screen.) This involves changes in quite a few things, so the major savefile version is now 1, and old savefiles *will not load*! Lots of conditional loading code has therefore been removed. Minor savefile version dropped to 0 in everything. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@495 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/menu.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'crawl-ref/source/menu.h') 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 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 -- cgit v1.2.3-54-g00ecf