From a2c06346e1830d888a72ccdb2e224686319af014 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 14 Aug 2013 22:10:31 +0300 Subject: add support for icon in tabs. --- src/gui/widgets/tab.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/widgets/tab.h') 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; -- cgit v1.2.3-70-g09d2