<http://www.gnu.org/licenses/>.
*/
-#ifndef __C_COLOR_H_INCLUDED__
-#define __C_COLOR_H_INCLUDED__
+#ifndef __C_IRR_COLOR_H_INCLUDED__
+#define __C_IRR_COLOR_H_INCLUDED__
+
+#include <inttypes.h>
typedef struct
{
- unsigned int a;
- unsigned int r;
- unsigned int g;
- unsigned int b;
+ uint8_t b;
+ uint8_t g;
+ uint8_t r;
+ uint8_t a;
} irr_video_SColor;
+#define MAKE_COLOR(a, r, g, b) {b, g, r, a}
+
#endif