diff options
Diffstat (limited to 'src/gui/widgets/tab.h')
-rw-r--r-- | src/gui/widgets/tab.h | 6 |
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(); |