diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-15 18:01:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-15 18:01:03 +0300 |
commit | 4193299e2e05d40477a50e5cb0fcc906227f53a2 (patch) | |
tree | 973b96352f5bfdf0d6765f0e6388ec4fd955011c /src/gui/widgets | |
parent | 9fc07b15f1b051eecd662802162772804dc77b8e (diff) | |
download | manaverse-4193299e2e05d40477a50e5cb0fcc906227f53a2.tar.gz manaverse-4193299e2e05d40477a50e5cb0fcc906227f53a2.tar.bz2 manaverse-4193299e2e05d40477a50e5cb0fcc906227f53a2.tar.xz manaverse-4193299e2e05d40477a50e5cb0fcc906227f53a2.zip |
Split input settings tab to categories.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/tabstrip.cpp | 5 | ||||
-rw-r--r-- | src/gui/widgets/tabstrip.h | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/gui/widgets/tabstrip.cpp b/src/gui/widgets/tabstrip.cpp index 6dcf02008..6b3f42fe9 100644 --- a/src/gui/widgets/tabstrip.cpp +++ b/src/gui/widgets/tabstrip.cpp @@ -32,6 +32,11 @@ TabStrip::TabStrip(std::string group, int height, int spacing) : { } +TabStrip::TabStrip(int height, int spacing) : + WidgetGroup("", height, spacing) +{ +} + gcn::Widget *TabStrip::createWidget(std::string text) { Button *widget = new Button(); diff --git a/src/gui/widgets/tabstrip.h b/src/gui/widgets/tabstrip.h index 588833606..078845b39 100644 --- a/src/gui/widgets/tabstrip.h +++ b/src/gui/widgets/tabstrip.h @@ -29,7 +29,9 @@ class TabStrip : public WidgetGroup { public: - TabStrip(std::string group, int height, int spacing); + TabStrip(std::string group, int height, int spacing = 0); + + TabStrip(int height, int spacing = 0); gcn::Widget *createWidget(std::string name); |