diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 00:27:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 00:27:14 +0300 |
commit | 478ffec82dae4f55c38ccd424079166ec8c38905 (patch) | |
tree | 96f9c597164c4bed24b5ab2040dcfffd1df624d7 /src/enums/being | |
parent | 67dd1ac770ed04fc7cbbbaa160c00f648d490858 (diff) | |
download | manaverse-478ffec82dae4f55c38ccd424079166ec8c38905.tar.gz manaverse-478ffec82dae4f55c38ccd424079166ec8c38905.tar.bz2 manaverse-478ffec82dae4f55c38ccd424079166ec8c38905.tar.xz manaverse-478ffec82dae4f55c38ccd424079166ec8c38905.zip |
Convert TargetCursorSize enum into strong typed enum.
Diffstat (limited to 'src/enums/being')
-rw-r--r-- | src/enums/being/targetcursorsize.h | 18 |
1 files changed, 9 insertions, 9 deletions
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 |