summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-tab.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2010-12-20 00:45:18 +0100
committerRaphael Langella <raphael.langella@gmail.com>2010-12-22 21:53:59 +0100
commit1002d3413621b9d123c5b352b49a6a083469c8ca (patch)
treef877ffe1916f4ba2e4ed57d16025b0f1e2bd3783 /crawl-ref/source/tilereg-tab.h
parent76ac7706691a162bf0ad2eb4da34d74fa41f0bd0 (diff)
downloadcrawl-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.h1
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;