diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-31 02:09:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-31 02:09:15 +0300 |
commit | b072723595e729eed79199f246439ffed62cdbb5 (patch) | |
tree | 2b2f98eacc1e4356a740e8f52aa3ed00a4cbb922 /src/enums/gui | |
parent | 445697f9f6ac91ab6f1c7f92519181ee8e99c728 (diff) | |
download | plus-b072723595e729eed79199f246439ffed62cdbb5.tar.gz plus-b072723595e729eed79199f246439ffed62cdbb5.tar.bz2 plus-b072723595e729eed79199f246439ffed62cdbb5.tar.xz plus-b072723595e729eed79199f246439ffed62cdbb5.zip |
Convert GradientType enum into strong typed enum.
Diffstat (limited to 'src/enums/gui')
-rw-r--r-- | src/enums/gui/gradienttype.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/enums/gui/gradienttype.h b/src/enums/gui/gradienttype.h index 9ff14b4b2..fb1042aa5 100644 --- a/src/enums/gui/gradienttype.h +++ b/src/enums/gui/gradienttype.h @@ -24,17 +24,15 @@ #ifndef ENUMS_GUI_GRADIENTTYPE_H #define ENUMS_GUI_GRADIENTTYPE_H -namespace GradientType -{ - enum T - { - STATIC = 0, - PULSE, - SPECTRUM, - RAINBOW - }; -} // namespace GradientType +#include "enums/simpletypes/enumdefines.h" -typedef GradientType::T GradientTypeT; +enumStart(GradientType) +{ + STATIC = 0, + PULSE, + SPECTRUM, + RAINBOW +} +enumEnd(GradientType); #endif // ENUMS_GUI_GRADIENTTYPE_H |