diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-14 22:10:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-14 22:10:31 +0300 |
commit | a2c06346e1830d888a72ccdb2e224686319af014 (patch) | |
tree | 23dac39f0ca04563c42dd2750135bee53a169012 /src/gui/widgets/tab.h | |
parent | f6751cdc1e3a60f31889eacabf3751f23dfdcb0b (diff) | |
download | plus-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/tab.h')
-rw-r--r-- | src/gui/widgets/tab.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/tab.h b/src/gui/widgets/tab.h index cbc50a2ef..690db9072 100644 --- a/src/gui/widgets/tab.h +++ b/src/gui/widgets/tab.h @@ -145,6 +145,8 @@ class Tab : public gcn::BasicContainer, void mouseExited(gcn::MouseEvent &mouseEvent) override; + void setImage(Image *const image); + protected: friend class TabbedArea; @@ -176,6 +178,7 @@ class Tab : public gcn::BasicContainer, const gcn::Color *mPlayerFlashOutlineColor; int mFlash; ImageCollection *mVertexes; + Image *mImage; int mMode; bool mRedraw; |