aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/Color.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-09-08 13:09:06 +0800
committerchai <chaifix@163.com>2018-09-08 13:09:06 +0800
commit4798e70dcbbedb55de8e9f8e321e8fad7b9783f6 (patch)
treef4740d59b561163b260f2f29467cfffdd92c4d9e /src/libjin/Graphics/Color.h
parent36f7e3e5542f3cfee11b34ce497fcb877b3462bf (diff)
*update
Diffstat (limited to 'src/libjin/Graphics/Color.h')
-rw-r--r--src/libjin/Graphics/Color.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libjin/Graphics/Color.h b/src/libjin/Graphics/Color.h
index 786abde..e27c360 100644
--- a/src/libjin/Graphics/Color.h
+++ b/src/libjin/Graphics/Color.h
@@ -1,10 +1,10 @@
/**
* Some color operating here.
*/
-#ifndef __JIN_COLOR_H
-#define __JIN_COLOR_H
+#ifndef __LIBJIN_COLOR_H
+#define __LIBJIN_COLOR_H
#include "../modules.h"
-#if JIN_MODULES_RENDER
+#if LIBJIN_MODULES_RENDER
#include "../utils/endian.h"
@@ -44,7 +44,7 @@ namespace graphics
return !(r == c.r && g == c.g && b == c.b && a == c.a);
}
- #if JIN_BYTEORDER == JIN_BIG_ENDIAN
+ #if LIBJIN_BYTEORDER == LIBJIN_BIG_ENDIAN
unsigned char r, g, b, a;
#else
unsigned char a, b, g, r;
@@ -55,5 +55,5 @@ namespace graphics
} // render
} // jin
-#endif // JIN_MODULES_RENDER
-#endif // __JIN_COLOR_H \ No newline at end of file
+#endif // LIBJIN_MODULES_RENDER
+#endif // __LIBJIN_COLOR_H \ No newline at end of file