summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg.h
diff options
context:
space:
mode:
authorJanne Lahdenpera <felirx@gmail.com>2010-04-16 03:15:02 +0300
committerRobert Vollmert <rvollmert@gmx.net>2010-04-21 12:36:48 +0200
commitc41c976544cd76c4782c9af9bd293ee5a12d7d5c (patch)
treea2f9ca0bc62999635fe92f046c0aa0f73fe9d8f7 /crawl-ref/source/tilereg.h
parent3ec286ef4ae42ab7c43d5f25fac40054bb033c81 (diff)
downloadcrawl-ref-c41c976544cd76c4782c9af9bd293ee5a12d7d5c.tar.gz
crawl-ref-c41c976544cd76c4782c9af9bd293ee5a12d7d5c.zip
Startup menus.
This patch provides the startup menu. Things that (seem) to work properly: Normal game, Sprint, Arena, savegame loading. Things that need improvement: Tutorial does not activate, left it for future project when the new fixed tutorial map is included. Arena needs an options screen before it starts running. MenuScroller does not have a visible scrollbar or more texts. Texts are not properly wrapped inside TextItems. Should also provide an TextItem that uses formatted_string. Signed-off-by: Janne Lahdenpera <felirx@gmail.com> Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
Diffstat (limited to 'crawl-ref/source/tilereg.h')
-rw-r--r--crawl-ref/source/tilereg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilereg.h b/crawl-ref/source/tilereg.h
index ca58255a96..eef26d0739 100644
--- a/crawl-ref/source/tilereg.h
+++ b/crawl-ref/source/tilereg.h
@@ -203,7 +203,7 @@ public:
virtual void on_resize();
void attach_menu(PrecisionMenu* menu);
- void deattach_menu();
+ void detach_menu();
protected:
PrecisionMenu* m_attached_menu;
};