diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-01 21:49:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-01 21:49:35 +0300 |
commit | ec552e6430ac86b1234c9a7798bf4e028a3c78c0 (patch) | |
tree | 10cd93cf86dca5ce2074b362dc7e4db1c0e2b03d /src/gui/widgets/tab.h | |
parent | 170aae70566003a30ab1f6f936364484f6a0a097 (diff) | |
download | plus-ec552e6430ac86b1234c9a7798bf4e028a3c78c0.tar.gz plus-ec552e6430ac86b1234c9a7798bf4e028a3c78c0.tar.bz2 plus-ec552e6430ac86b1234c9a7798bf4e028a3c78c0.tar.xz plus-ec552e6430ac86b1234c9a7798bf4e028a3c78c0.zip |
Set secure font in chat tab name if need.
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 f9f1fa4da..5847bd505 100644 --- a/src/gui/widgets/tab.h +++ b/src/gui/widgets/tab.h @@ -23,6 +23,7 @@ #ifndef TAB_H #define TAB_H +#include <guichan/widgets/label.hpp> #include <guichan/widgets/tab.hpp> #include <guichan/widgetlistener.hpp> @@ -67,6 +68,11 @@ class Tab : public gcn::Tab, public gcn::WidgetListener void widgetMoved(const gcn::Event &event); + void setLabelFont(gcn::Font *font); + + gcn::Label *getLabel() + { return mLabel; } + protected: friend class TabbedArea; virtual void setCurrent() |