aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/Color.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-10-23 12:23:58 +0800
committerchai <chaifix@163.com>2018-10-23 12:23:58 +0800
commit40fc27154fe754181934dc7ee31375e6bdfb33fc (patch)
tree897ad98d759bc308ef66561181ba88b85f2ccd47 /src/libjin/Graphics/Color.h
parent1480c9445100075c9e1a894eb07c0ef727b509a1 (diff)
*merge from minimal
Diffstat (limited to 'src/libjin/Graphics/Color.h')
-rw-r--r--src/libjin/Graphics/Color.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/libjin/Graphics/Color.h b/src/libjin/Graphics/Color.h
deleted file mode 100644
index a78234e..0000000
--- a/src/libjin/Graphics/Color.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
-* Some color operating here.
-*/
-#ifndef __JIN_COLOR_H
-#define __JIN_COLOR_H
-#include "../modules.h"
-#if JIN_MODULES_RENDER
-
-#include "../utils/endian.h"
-
-namespace jin
-{
-namespace graphics
-{
-
- union color {
- struct {
-#if JIN_BYTEORDER == JIN_BIG_ENDIAN
- unsigned char r, g, b, a;
-#else
- unsigned char a, b, g, r;
-#endif
- }rgba;
- int word;
- };
-
-} // render
-} // jin
-
-#endif // JIN_MODULES_RENDER
-#endif // __JIN_COLOR_H \ No newline at end of file