diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-26 06:23:37 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-26 06:35:17 -0600 |
commit | cdcadf6e99a6deaa5b929cdec9736ab1fb280f65 (patch) | |
tree | 9a00d351a107a5ff528bd6db34269a602d269c6f /src/gui/widgets/tabbedarea.h | |
parent | 489777645843c7c88d0a84c8f2c7e1a7bdbcf0a9 (diff) | |
download | mana-cdcadf6e99a6deaa5b929cdec9736ab1fb280f65.tar.gz mana-cdcadf6e99a6deaa5b929cdec9736ab1fb280f65.tar.bz2 mana-cdcadf6e99a6deaa5b929cdec9736ab1fb280f65.tar.xz mana-cdcadf6e99a6deaa5b929cdec9736ab1fb280f65.zip |
Move ChatWindow over to ChatTabs
TMWServ compilation is likely not functional after this, I didn't check.
THe next commit will address that.
Diffstat (limited to 'src/gui/widgets/tabbedarea.h')
-rw-r--r-- | src/gui/widgets/tabbedarea.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h index 6e96a1c4..dffbd36b 100644 --- a/src/gui/widgets/tabbedarea.h +++ b/src/gui/widgets/tabbedarea.h @@ -22,6 +22,8 @@ #ifndef TABBEDAREA_H #define TABBEDAREA_H +#include <guichan/widget.hpp> +#include <guichan/widgets/container.hpp> #include <guichan/widgets/tabbedarea.hpp> #include <string> @@ -83,6 +85,8 @@ class TabbedArea : public gcn::TabbedArea */ void logic(); + int getContainerHeight() { return mWidgetContainer->getHeight(); } + private: typedef std::vector< std::pair<gcn::Tab*, gcn::Widget*> > TabContainer; }; |