summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-tab.h
diff options
context:
space:
mode:
authorChris West <therealchriswest@hotmail.com>2012-12-29 16:17:48 +0000
committerChris West <therealchriswest@hotmail.com>2013-01-05 16:25:23 +0000
commit10e7a704c28f35be409b468c5881b81ed1c452a8 (patch)
tree0bba7a6daaee7fe3a23ed741bdc8e575c5e34962 /crawl-ref/source/tilereg-tab.h
parentd11e3248a35dcfb6ad16f5dc28db7a0b8ad0c8d5 (diff)
downloadcrawl-ref-10e7a704c28f35be409b468c5881b81ed1c452a8.tar.gz
crawl-ref-10e7a704c28f35be409b468c5881b81ed1c452a8.zip
merge of small-screen changes from old build env
Diffstat (limited to 'crawl-ref/source/tilereg-tab.h')
-rw-r--r--crawl-ref/source/tilereg-tab.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/tilereg-tab.h b/crawl-ref/source/tilereg-tab.h
index 7ab9014b2f..34b21e6bcb 100644
--- a/crawl-ref/source/tilereg-tab.h
+++ b/crawl-ref/source/tilereg-tab.h
@@ -24,12 +24,15 @@ public:
GridRegion *get_tab_region(int idx);
tileidx_t get_tab_tile(int idx);
void activate_tab(int idx);
+ void deactivate_tab();
int active_tab() const;
int num_tabs() const;
void enable_tab(int idx);
void disable_tab(int idx);
int find_tab(string tab_name) const;
+ void set_small_layout(bool use_small_layout, const coord_def &windowsz);
+
virtual void update();
virtual void clear();
virtual void render();
@@ -56,6 +59,8 @@ protected:
int m_active;
int m_mouse_tab;
+ bool m_use_small_layout;
+ bool m_is_deactivated;
TileBuffer m_buf_gui;
struct TabInfo