summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/tab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 12:18:42 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:22 +0300
commit589e377f6159268bb3a3ec072ffce30ce4ad5422 (patch)
tree72fb96fa24a9eb08557eb1b26334b73fc8149e71 /src/gui/widgets/tabs/tab.cpp
parentad1e0ec0584eebabbeac7473baba956e957101b5 (diff)
downloadmv-589e377f6159268bb3a3ec072ffce30ce4ad5422.tar.gz
mv-589e377f6159268bb3a3ec072ffce30ce4ad5422.tar.bz2
mv-589e377f6159268bb3a3ec072ffce30ce4ad5422.tar.xz
mv-589e377f6159268bb3a3ec072ffce30ce4ad5422.zip
fix definition in tab.
Diffstat (limited to 'src/gui/widgets/tabs/tab.cpp')
-rw-r--r--src/gui/widgets/tabs/tab.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/gui/widgets/tabs/tab.cpp b/src/gui/widgets/tabs/tab.cpp
index 733d030d2..1f09f28fd 100644
--- a/src/gui/widgets/tabs/tab.cpp
+++ b/src/gui/widgets/tabs/tab.cpp
@@ -33,16 +33,7 @@
int Tab::mInstances = 0;
float Tab::mAlpha = 1.0;
-enum
-{
- TAB_STANDARD = 0, // 0
- TAB_HIGHLIGHTED, // 1
- TAB_SELECTED, // 2
- TAB_UNUSED, // 3
- TAB_COUNT // 4 - Must be last.
-};
-
-static std::string const data[TAB_COUNT] =
+static std::string const data[Tab::TAB_COUNT] =
{
"tab.xml",
"tab_highlighted.xml",
@@ -50,7 +41,7 @@ static std::string const data[TAB_COUNT] =
"tab_unused.xml"
};
-Skin *Tab::tabImg[TAB_COUNT];
+Skin *Tab::tabImg[Tab::TAB_COUNT];
Tab::Tab(const Widget2 *const widget) :
gcn::BasicContainer(),