summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-14 21:37:31 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-14 21:37:31 +0300
commitb06e6916d0bbd33d81b4a957b6362f7a0f8ea083 (patch)
treee163d4231e8ca2a3abc794b5e24e577cb3c28232 /src/gui/widgets/tab.h
parentdb461ee046e63b7148174c40e05de76c5d7be31a (diff)
downloadplus-b06e6916d0bbd33d81b4a957b6362f7a0f8ea083.tar.gz
plus-b06e6916d0bbd33d81b4a957b6362f7a0f8ea083.tar.bz2
plus-b06e6916d0bbd33d81b4a957b6362f7a0f8ea083.tar.xz
plus-b06e6916d0bbd33d81b4a957b6362f7a0f8ea083.zip
Extend theming in tab control.
Add padding parameter.
Diffstat (limited to 'src/gui/widgets/tab.h')
-rw-r--r--src/gui/widgets/tab.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/tab.h b/src/gui/widgets/tab.h
index 8c6e7d115..199eefbb3 100644
--- a/src/gui/widgets/tab.h
+++ b/src/gui/widgets/tab.h
@@ -33,7 +33,9 @@
class GraphicsVertexes;
class ImageRect;
class Label;
+class Skin;
class TabbedArea;
+class Theme;
/**
* A tab, the same as the Guichan tab in 0.8, but extended to allow
@@ -138,8 +140,8 @@ class Tab : public gcn::BasicContainer,
/** Load images if no other instances exist yet */
void init();
- static ImageRect tabImg[4]; /**< Tab state graphics */
- static int mInstances; /**< Number of tab instances */
+ static Skin *tabImg[4]; /**< Tab state graphics */
+ static int mInstances; /**< Number of tab instances */
static float mAlpha;
const gcn::Color *mTabColor;