diff options
Diffstat (limited to 'src/gui/tabbedcontainer.h')
-rw-r--r-- | src/gui/tabbedcontainer.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gui/tabbedcontainer.h b/src/gui/tabbedcontainer.h index 14f27aba..b004edc2 100644 --- a/src/gui/tabbedcontainer.h +++ b/src/gui/tabbedcontainer.h @@ -37,7 +37,8 @@ class TabbedContainer : public gcn::Container, public gcn::ActionListener { public: - TabbedContainer(); + TabbedContainer(int width, int padX, int buttonHeight, + int height, int padY, int buttonsPerRow); ~TabbedContainer(); void addTab(gcn::Widget *widget, const std::string &caption); @@ -62,6 +63,14 @@ class TabbedContainer : public gcn::Container, public gcn::ActionListener std::map<gcn::Widget*, std::string> mWidgets; gcn::Widget *mActiveContent; + + int mWidth; /**< The total width of all buttons */ + int mPadX; /**< The horizontal gap between buttons */ + int mButtonHeight; /**< The height of each button */ + int mHeight; /**< Height of the panel */ + int mPadY; /**< The vertical gap between buttons */ + int mButtonsPerRow; /**< The number of buttons on each row */ + int mButtonWidth; /**< The width of each button */ }; #endif |