diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2012-10-08 15:17:50 +0200 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2012-10-08 18:11:11 +0200 |
commit | 4fa33068a4e812ae36422af806e84416bd92b421 (patch) | |
tree | b7fa7c7a4c31deb2194cf4e3e85a5badd85c21c1 /crawl-ref/source/menu.h | |
parent | 9966aa71c571ff24f06802f12a3ac15ca45d7333 (diff) | |
download | crawl-ref-4fa33068a4e812ae36422af806e84416bd92b421.tar.gz crawl-ref-4fa33068a4e812ae36422af806e84416bd92b421.zip |
Skill menu: map shift-click and right-click to single select.
Does the same as shift-letter.
Diffstat (limited to 'crawl-ref/source/menu.h')
-rw-r--r-- | crawl-ref/source/menu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/menu.h b/crawl-ref/source/menu.h index 1b3ea55c84..77e04e090c 100644 --- a/crawl-ref/source/menu.h +++ b/crawl-ref/source/menu.h @@ -592,6 +592,10 @@ public: virtual void set_description_text(const string& text) { m_description = text; } virtual const string& get_description_text() const { return m_description; } +#ifdef USE_TILE_LOCAL + virtual bool handle_mouse(const MouseEvent& me) {return false; } +#endif + virtual void select(bool toggle); virtual void select(bool toggle, int value); virtual bool selected() const; |