diff options
author | chai <chaifix@163.com> | 2018-11-16 00:24:51 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-16 00:24:51 +0800 |
commit | 831e814ce9bdb84e86c06c4a52008f6bdaaa00d6 (patch) | |
tree | f91fccc7d2628d6e0a39886134b2bb174f5eede4 /src/libjin/Graphics/je_shapes.h | |
parent | 6dc75930fe5fe02f1af5489917752d315cf9e48f (diff) |
*合并master到minimal分支
Diffstat (limited to 'src/libjin/Graphics/je_shapes.h')
-rw-r--r-- | src/libjin/Graphics/je_shapes.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libjin/Graphics/je_shapes.h b/src/libjin/Graphics/je_shapes.h index 2221526..d62592b 100644 --- a/src/libjin/Graphics/je_shapes.h +++ b/src/libjin/Graphics/je_shapes.h @@ -1,5 +1,5 @@ -#ifndef __JE_GEOMETRY_H -#define __JE_GEOMETRY_H +#ifndef __JE_GEOMETRY_H__ +#define __JE_GEOMETRY_H__ #include "../core/je_configuration.h" #if defined(jin_graphics) @@ -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
\ No newline at end of file +#endif // __JE_GEOMETRY_H__
\ No newline at end of file |