summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-14 22:10:31 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-14 22:10:31 +0300
commita2c06346e1830d888a72ccdb2e224686319af014 (patch)
tree23dac39f0ca04563c42dd2750135bee53a169012 /src/gui/widgets/tabbedarea.h
parentf6751cdc1e3a60f31889eacabf3751f23dfdcb0b (diff)
downloadplus-a2c06346e1830d888a72ccdb2e224686319af014.tar.gz
plus-a2c06346e1830d888a72ccdb2e224686319af014.tar.bz2
plus-a2c06346e1830d888a72ccdb2e224686319af014.tar.xz
plus-a2c06346e1830d888a72ccdb2e224686319af014.zip
add support for icon in tabs.
Diffstat (limited to 'src/gui/widgets/tabbedarea.h')
-rw-r--r--src/gui/widgets/tabbedarea.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h
index ca2857709..5a97de6a6 100644
--- a/src/gui/widgets/tabbedarea.h
+++ b/src/gui/widgets/tabbedarea.h
@@ -32,6 +32,7 @@
#include "gui/widgets/button.h"
+class Image;
class Tab;
/**
@@ -95,6 +96,8 @@ class TabbedArea final : public Widget2,
void addTab(const std::string &caption, gcn::Widget *const widget);
+ void addTab(Image *const image, gcn::Widget *const widget);
+
bool isTabSelected(const unsigned int index) const A_WARN_UNUSED;
bool isTabSelected(Tab *const tab) const A_WARN_UNUSED;