diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-14 21:37:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-14 21:37:31 +0300 |
commit | b06e6916d0bbd33d81b4a957b6362f7a0f8ea083 (patch) | |
tree | e163d4231e8ca2a3abc794b5e24e577cb3c28232 /src/gui/widgets/tab.h | |
parent | db461ee046e63b7148174c40e05de76c5d7be31a (diff) | |
download | manaverse-b06e6916d0bbd33d81b4a957b6362f7a0f8ea083.tar.gz manaverse-b06e6916d0bbd33d81b4a957b6362f7a0f8ea083.tar.bz2 manaverse-b06e6916d0bbd33d81b4a957b6362f7a0f8ea083.tar.xz manaverse-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.h | 6 |
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; |