aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/je_shapes.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-11-15 08:32:38 +0800
committerchai <chaifix@163.com>2018-11-15 08:32:38 +0800
commita6f2d5fff89b7322009c46a9272668ca4c32ce64 (patch)
treeff81127c3be8bde426e57db544d69b9616ddc25b /src/libjin/Graphics/je_shapes.h
parent611d12bdd245dd43b7434661d3e24f2b435378cb (diff)
*修改代码结构
Diffstat (limited to 'src/libjin/Graphics/je_shapes.h')
-rw-r--r--src/libjin/Graphics/je_shapes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libjin/Graphics/je_shapes.h b/src/libjin/Graphics/je_shapes.h
index 16e29a4..d62592b 100644
--- a/src/libjin/Graphics/je_shapes.h
+++ b/src/libjin/Graphics/je_shapes.h
@@ -12,11 +12,11 @@ namespace JinEngine
namespace Graphics
{
- typedef enum {
+ enum RenderMode {
NONE = 0,
FILL ,
LINE
- }RenderMode;
+ };
extern void line(int x1, int y1, int x2, int y2);
extern void rect(RenderMode mode, int x, int y, int w, int h);
@@ -31,4 +31,4 @@ namespace JinEngine
#endif // jin_graphics
-#endif // __JE_GEOMETRY_H__
+#endif // __JE_GEOMETRY_H__ \ No newline at end of file