Change Enum declaration to MiniEngine::

This commit is contained in:
Kirigaya Kazuto 2017-06-18 20:42:33 +08:00
parent 9ecfeb1962
commit f9b9e7b859
13 changed files with 23 additions and 2 deletions

View File

@ -7,8 +7,6 @@
namespace MiniEngine namespace MiniEngine
{ {
class StringEngine class StringEngine
{ {
public: public:

View File

@ -1,4 +1,5 @@
#pragma once #pragma once
#include "begin_code.h"
enum class BlendMode enum class BlendMode
{ {
None, None,
@ -6,3 +7,4 @@ enum class BlendMode
Add, Add,
Mod Mod
}; };
#include "end_code.h"

View File

@ -1,7 +1,9 @@
#pragma once #pragma once
#include "begin_code.h"
enum class FlipMode enum class FlipMode
{ {
None, None,
Horizontal, Horizontal,
Vertical Vertical
}; };
#include "end_code.h"

View File

@ -1,4 +1,5 @@
#pragma once #pragma once
#include "begin_code.h"
enum class FontHint enum class FontHint
{ {
Normal, Normal,
@ -7,3 +8,4 @@ enum class FontHint
None, None,
Error Error
}; };
#include "end_code.h"

View File

@ -1,4 +1,5 @@
#pragma once #pragma once
#include "begin_code.h"
enum class FontStyle enum class FontStyle
{ {
Normal, Normal,
@ -7,3 +8,4 @@ enum class FontStyle
UnderLine, UnderLine,
StrikeThrough StrikeThrough
}; };
#include "end_code.h"

View File

@ -1,7 +1,9 @@
#pragma once #pragma once
#include "begin_code.h"
enum class MessageBoxType enum class MessageBoxType
{ {
Error, Error,
Warning, Warning,
Information Information
}; };
#include "end_code.h"

View File

@ -1,4 +1,5 @@
#pragma once #pragma once
#include "begin_code.h"
enum class Platform enum class Platform
{ {
Unknown, Unknown,
@ -8,3 +9,4 @@ enum class Platform
iOS, iOS,
Android Android
}; };
#include "end_code.h"

View File

@ -1,4 +1,5 @@
#pragma once #pragma once
#include "begin_code.h"
enum class PowerState enum class PowerState
{ {
Unknown, Unknown,
@ -7,3 +8,4 @@ enum class PowerState
Charging, Charging,
Charged Charged
}; };
#include "end_code.h"

View File

@ -1,4 +1,5 @@
#pragma once #pragma once
#include "begin_code.h"
enum class RendererType enum class RendererType
{ {
Software, Software,
@ -6,3 +7,4 @@ enum class RendererType
PresentSync, PresentSync,
TargetTexture TargetTexture
}; };
#include "end_code.h"

View File

@ -1,4 +1,5 @@
#pragma once #pragma once
#include "begin_code.h"
enum class SystemCursorType enum class SystemCursorType
{ {
Arrow, Ibeam, CrossHair, Arrow, Ibeam, CrossHair,
@ -6,3 +7,4 @@ enum class SystemCursorType
SizeNWSE, SizeNESW, SizeWE, SizeNS, SizeAll, SizeNWSE, SizeNESW, SizeWE, SizeNS, SizeAll,
No, Hand No, Hand
}; };
#include "end_code.h"

View File

@ -1,4 +1,5 @@
#pragma once #pragma once
#include "begin_code.h"
enum class WindowType enum class WindowType
{ {
FullScreen, OpenGL, Shown, Hidden, FullScreen, OpenGL, Shown, Hidden,
@ -8,3 +9,4 @@ enum class WindowType
MouseCapture, AlwaysOnTop, SkipTaskBar, MouseCapture, AlwaysOnTop, SkipTaskBar,
Utility, ToolTip, PopUpMenu Utility, ToolTip, PopUpMenu
}; };
#include "end_code.h"

View File

@ -1,2 +1,3 @@
/// Include this file at the beginning of MiniEngine headers and sources.
namespace MiniEngine namespace MiniEngine
{ {

View File

@ -1 +1,3 @@
/// Include this file at the end of MiniEngine headers and sources.
} /// End of namespace MiniEngine } /// End of namespace MiniEngine
/// NOTICE: If you see an compile error here, there must be some unclosed "{" !