diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2010-12-20 00:45:18 +0100 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2010-12-22 21:53:59 +0100 |
commit | 1002d3413621b9d123c5b352b49a6a083469c8ca (patch) | |
tree | f877ffe1916f4ba2e4ed57d16025b0f1e2bd3783 /crawl-ref/source/tilereg-tab.h | |
parent | 76ac7706691a162bf0ad2eb4da34d74fa41f0bd0 (diff) | |
download | crawl-ref-1002d3413621b9d123c5b352b49a6a083469c8ca.tar.gz crawl-ref-1002d3413621b9d123c5b352b49a6a083469c8ca.zip |
Add a TabbedRegion::invalid_index method.
Diffstat (limited to 'crawl-ref/source/tilereg-tab.h')
-rw-r--r-- | crawl-ref/source/tilereg-tab.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/tilereg-tab.h b/crawl-ref/source/tilereg-tab.h index 0409311f97..a51834eb5e 100644 --- a/crawl-ref/source/tilereg-tab.h +++ b/crawl-ref/source/tilereg-tab.h @@ -47,6 +47,7 @@ protected: virtual void draw_tag(); virtual void activate() {} + bool invalid_index(int idx) const; bool active_is_valid() const; // Returns the tab the mouse is over, -1 if none. int get_mouseover_tab(MouseEvent &event) const; |