diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-31 14:23:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-31 14:23:11 +0300 |
commit | d7c67fa2b6faa3e81269244224da4b72f045d659 (patch) | |
tree | 596010d034e44ff46eabccca3c77d995626fca88 /src/enums/gui | |
parent | b072723595e729eed79199f246439ffed62cdbb5 (diff) | |
download | plus-d7c67fa2b6faa3e81269244224da4b72f045d659.tar.gz plus-d7c67fa2b6faa3e81269244224da4b72f045d659.tar.bz2 plus-d7c67fa2b6faa3e81269244224da4b72f045d659.tar.xz plus-d7c67fa2b6faa3e81269244224da4b72f045d659.zip |
Convert ProgressColorId enum into strong typed enum.
Diffstat (limited to 'src/enums/gui')
-rw-r--r-- | src/enums/gui/progresscolorid.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/enums/gui/progresscolorid.h b/src/enums/gui/progresscolorid.h index a7e6b74a3..7adf61334 100644 --- a/src/enums/gui/progresscolorid.h +++ b/src/enums/gui/progresscolorid.h @@ -25,24 +25,24 @@ #ifndef ENUMS_GUI_PROGRESSCOLORID_H #define ENUMS_GUI_PROGRESSCOLORID_H -namespace ProgressColorId +#include "enums/simpletypes/enumdefines.h" + +enumStart(ProgressColorId) { - enum T - { - PROG_HP = 0, - PROG_HP_POISON, - PROG_MP, - PROG_NO_MP, - PROG_EXP, - PROG_INVY_SLOTS, - PROG_WEIGHT, - PROG_JOB, - PROG_UPDATE, - PROG_MONEY, - PROG_ARROWS, - PROG_STATUS, - THEME_PROG_END - }; -} // namespace ProgressColorId + PROG_HP = 0, + PROG_HP_POISON, + PROG_MP, + PROG_NO_MP, + PROG_EXP, + PROG_INVY_SLOTS, + PROG_WEIGHT, + PROG_JOB, + PROG_UPDATE, + PROG_MONEY, + PROG_ARROWS, + PROG_STATUS, + THEME_PROG_END +} +enumEnd(ProgressColorId); #endif // ENUMS_GUI_PROGRESSCOLORID_H |