aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-17 17:25:21 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-17 17:25:21 +0200
commit5b77d7f309deaf4fc59377094adf02ba9ed15402 (patch)
treec5108e2b776c1a01085d9c1dd007a0623033dcbd
parent09c7778c402e6bc2f07d6582034fa807988a262c (diff)
downloadcherry-5b77d7f309deaf4fc59377094adf02ba9ed15402.tar.gz
cherry-5b77d7f309deaf4fc59377094adf02ba9ed15402.zip
Add color.h
-rw-r--r--src/color.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/color.h b/src/color.h
new file mode 100644
index 0000000..af4a45c
--- /dev/null
+++ b/src/color.h
@@ -0,0 +1,8 @@
+/* See LICENSE file for copyright and license details. */
+
+#ifndef __CHERRY_COLOR_H__
+#define __CHERRY_COLOR_H__
+
+#define RGB(r, g, b) (b + (g<<8) + (r<<16))
+
+#endif /* __CHERRY_COLOR_H__ */