From 89cc8c5fc577431da1bf48c79be1726d3ec095ba Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sun, 8 Mar 2009 21:23:15 +0000 Subject: Tiles: * (Re?)allow mouseclicks in menus (Tiles, only): L-click = scroll down, R-click = Esc * Clear last_clicked_grid if you move your mouse. * When entering a new level, draw the map before handling monster shouts. Enne, please review the changes. Thanks! git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9386 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/command.cc | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/command.cc') diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc index 605c6de968..072fae928a 100644 --- a/crawl-ref/source/command.cc +++ b/crawl-ref/source/command.cc @@ -215,8 +215,13 @@ static void _print_version(void) // FIXME: Allow for hiding Page down when at the end of the listing, ditto // for page up at start of listing. cmd_version.set_more( formatted_string::parse_string( +#ifdef USE_TILE + "[ +/L-click : Page down. - : Page up." + " Esc/R-click exits.]")); +#else "[ + : Page down. - : Page up." - " Esc exits.]") ); + " Esc exits.]")); +#endif cmd_version.add_text(_get_version_information()); cmd_version.add_text(_get_version_features()); @@ -1828,8 +1833,13 @@ static int _show_keyhelp_menu(const std::vector &lines, // FIXME: Allow for hiding Page down when at the end of the listing, ditto // for page up at start of listing. cmd_help.set_more( formatted_string::parse_string( - "[ + : Page down. - : Page up." - " Esc exits.]")); +#ifdef USE_TILE + "[ +/L-click : Page down. - : Page up." + " Esc/R-click exits.]")); +#else + "[ + : Page down. - : Page up." + " Esc exits.]")); +#endif if (with_manual) { -- cgit v1.2.3-54-g00ecf