summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tab.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-30 17:04:39 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-30 17:04:39 -0600
commit61392840d52a3976b886f7638ff5babcb5509c49 (patch)
tree0dd7d5c5a519347dfaac9fd28c6a9416a31afe57 /src/gui/widgets/tab.h
parent9dcf6f579a70736fc2027ea8c0c6d63baa8bbe5a (diff)
downloadmana-client-61392840d52a3976b886f7638ff5babcb5509c49.tar.gz
mana-client-61392840d52a3976b886f7638ff5babcb5509c49.tar.bz2
mana-client-61392840d52a3976b886f7638ff5babcb5509c49.tar.xz
mana-client-61392840d52a3976b886f7638ff5babcb5509c49.zip
Allow tabs to be colored and color whisper tabs
Diffstat (limited to 'src/gui/widgets/tab.h')
-rw-r--r--src/gui/widgets/tab.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/widgets/tab.h b/src/gui/widgets/tab.h
index 3af4e2bf..64e76d4c 100644
--- a/src/gui/widgets/tab.h
+++ b/src/gui/widgets/tab.h
@@ -48,6 +48,11 @@ class Tab : public gcn::Tab
void draw(gcn::Graphics *graphics);
/**
+ * Set the normal color fo the tab's text.
+ */
+ void setTabColor(gcn::Color color);
+
+ /**
* Set tab highlighted
*/
void setHighlighted(bool high);
@@ -60,6 +65,7 @@ class Tab : public gcn::Tab
static int mInstances; /**< Number of tab instances */
static float mAlpha;
+ gcn::Color mTabColor;
bool mHighlighted;
};