From 478ffec82dae4f55c38ccd424079166ec8c38905 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2015 00:27:14 +0300 Subject: Convert TargetCursorSize enum into strong typed enum. --- src/enums/being/targetcursorsize.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/enums/being') diff --git a/src/enums/being/targetcursorsize.h b/src/enums/being/targetcursorsize.h index 5344a7ad5..7bd048086 100644 --- a/src/enums/being/targetcursorsize.h +++ b/src/enums/being/targetcursorsize.h @@ -22,15 +22,15 @@ #ifndef ENUMS_BEING_TARGETCURSORSIZE_H #define ENUMS_BEING_TARGETCURSORSIZE_H -namespace TargetCursorSize +#include "enums/simpletypes/enumdefines.h" + +enumStart(TargetCursorSize) { - enum Size - { - SMALL = 0, - MEDIUM, - LARGE, - NUM_TC - }; -} // TargetCursorSize + SMALL = 0, + MEDIUM, + LARGE, + NUM_TC +} +enumEnd(TargetCursorSize); #endif // ENUMS_BEING_TARGETCURSORSIZE_H -- cgit v1.2.3-70-g09d2