diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-17 20:37:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-17 21:17:12 +0300 |
commit | 5eeef71adcafe98dade6cc9d0c47a5260528592d (patch) | |
tree | 30ca22dab5e97016f64fc8bda2583b3e2b037f4b /src/gui/widgets/button.cpp | |
parent | 9d5edb66388911525652534a08b5db4968b6c555 (diff) | |
download | manaverse-5eeef71adcafe98dade6cc9d0c47a5260528592d.tar.gz manaverse-5eeef71adcafe98dade6cc9d0c47a5260528592d.tar.bz2 manaverse-5eeef71adcafe98dade6cc9d0c47a5260528592d.tar.xz manaverse-5eeef71adcafe98dade6cc9d0c47a5260528592d.zip |
Fix button defenition in button class.
Diffstat (limited to 'src/gui/widgets/button.cpp')
-rw-r--r-- | src/gui/widgets/button.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp index 73aa63d34..f8ae3e65c 100644 --- a/src/gui/widgets/button.cpp +++ b/src/gui/widgets/button.cpp @@ -37,16 +37,7 @@ int Button::mInstances = 0; float Button::mAlpha = 1.0; -enum -{ - BUTTON_STANDARD = 0, // 0 - BUTTON_HIGHLIGHTED, // 1 - BUTTON_PRESSED, // 2 - BUTTON_DISABLED, // 3 - BUTTON_COUNT // 4 - Must be last. -}; - -static std::string const data[BUTTON_COUNT] = +static std::string const data[Button::BUTTON_COUNT] = { "button.xml", "button_highlighted.xml", |