summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tab.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-11 18:40:08 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-11 18:46:49 -0600
commit9c19ba0ce027fe987b101f14f35b765159947eb0 (patch)
tree2e09491ecd15c99c3cc45ebe57a8dc50c54c31d2 /src/gui/widgets/tab.h
parent39aa603099c27f9a9012a32218ea712f345c75e3 (diff)
downloadmana-client-9c19ba0ce027fe987b101f14f35b765159947eb0.tar.gz
mana-client-9c19ba0ce027fe987b101f14f35b765159947eb0.tar.bz2
mana-client-9c19ba0ce027fe987b101f14f35b765159947eb0.tar.xz
mana-client-9c19ba0ce027fe987b101f14f35b765159947eb0.zip
Switch Tab to a color pointer to update on the fly
Diffstat (limited to 'src/gui/widgets/tab.h')
-rw-r--r--src/gui/widgets/tab.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/tab.h b/src/gui/widgets/tab.h
index 134d5591..eea2586c 100644
--- a/src/gui/widgets/tab.h
+++ b/src/gui/widgets/tab.h
@@ -45,7 +45,7 @@ class Tab : public gcn::Tab
/**
* Set the normal color fo the tab's text.
*/
- void setTabColor(const gcn::Color &color);
+ void setTabColor(const gcn::Color *color);
/**
* Set tab highlighted
@@ -64,7 +64,7 @@ class Tab : public gcn::Tab
static int mInstances; /**< Number of tab instances */
static float mAlpha;
- gcn::Color mTabColor;
+ const gcn::Color *mTabColor;
bool mHighlighted;
};