From d7c67fa2b6faa3e81269244224da4b72f045d659 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 31 May 2015 14:23:11 +0300 Subject: Convert ProgressColorId enum into strong typed enum. --- src/enums/gui/progresscolorid.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'src/enums') 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 -- cgit v1.2.3-70-g09d2