diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-08 21:23:15 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-03-08 21:23:15 +0000 |
commit | 89cc8c5fc577431da1bf48c79be1726d3ec095ba (patch) | |
tree | d7f42f14bb9ae940045551484295f103afc1d60d /crawl-ref/source/command.cc | |
parent | 6760ab3170033b2ecceb6ced51e2de7a5d78d6fe (diff) | |
download | crawl-ref-89cc8c5fc577431da1bf48c79be1726d3ec095ba.tar.gz crawl-ref-89cc8c5fc577431da1bf48c79be1726d3ec095ba.zip |
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
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r-- | crawl-ref/source/command.cc | 16 |
1 files changed, 13 insertions, 3 deletions
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 + "<cyan>[ +/L-click : Page down. - : Page up." + " Esc/R-click exits.]")); +#else "<cyan>[ + : 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<formatted_string> &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( - "<cyan>[ + : Page down. - : Page up." - " Esc exits.]")); +#ifdef USE_TILE + "<cyan>[ +/L-click : Page down. - : Page up." + " Esc/R-click exits.]")); +#else + "<cyan>[ + : Page down. - : Page up." + " Esc exits.]")); +#endif if (with_manual) { |