summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tab.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-30 18:33:00 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-30 18:33:00 -0600
commitcaf3cad2da9945e48fc2104404460f639c71a6b0 (patch)
tree513663c5b27299bb088d7af51bcf3fec8f207fa5 /src/gui/widgets/tab.h
parentdc8df2e9205724c7d4c9a7b6599770ddd29aace3 (diff)
downloadmana-caf3cad2da9945e48fc2104404460f639c71a6b0.tar.gz
mana-caf3cad2da9945e48fc2104404460f639c71a6b0.tar.bz2
mana-caf3cad2da9945e48fc2104404460f639c71a6b0.tar.xz
mana-caf3cad2da9945e48fc2104404460f639c71a6b0.zip
Hilight chat tabs when appropriate
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 64e76d4c..efdc8d26 100644
--- a/src/gui/widgets/tab.h
+++ b/src/gui/widgets/tab.h
@@ -23,8 +23,10 @@
#define TAB_H
#include <guichan/widgets/tab.hpp>
+#include <guichan/widgets/tabbedarea.hpp>
class ImageRect;
+class TabbedArea;
/**
* A tab, the same as the guichan tab in 0.8, but extended to allow transparancy
@@ -57,6 +59,10 @@ class Tab : public gcn::Tab
*/
void setHighlighted(bool high);
+ protected:
+ friend class TabbedArea;
+ virtual void setCurrent() {}
+
private:
/** Load images if no other instances exist yet */
void init();