From a5766506d6e75ab1d2a4f06b77fddf6fdd65c64e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 31 May 2015 01:31:35 +0300 Subject: Convert BlitMode enum into strong typed enum. --- src/enums/render/blitmode.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/enums/render/blitmode.h b/src/enums/render/blitmode.h index 2bac6334b..9cb30d391 100644 --- a/src/enums/render/blitmode.h +++ b/src/enums/render/blitmode.h @@ -23,15 +23,13 @@ #ifndef ENUMS_RENDER_BLITMODE_H #define ENUMS_RENDER_BLITMODE_H -namespace BlitMode -{ - enum T - { - BLIT_NORMAL = 0, - BLIT_GFX - }; -} // namespace BlitMode +#include "enums/simpletypes/enumdefines.h" -typedef BlitMode::T BlitModeT; +enumStart(BlitMode) +{ + BLIT_NORMAL = 0, + BLIT_GFX +} +enumEnd(BlitMode); #endif // ENUMS_RENDER_BLITMODE_H -- cgit v1.2.3-70-g09d2