From 5b77d7f309deaf4fc59377094adf02ba9ed15402 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Wed, 17 May 2023 17:25:21 +0200 Subject: Add color.h --- src/color.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/color.h 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__ */ -- cgit v1.2.3