Add colour_t struct

This commit is contained in:
Abdelrahman Said 2024-01-08 00:15:14 +00:00
parent 9db1d6f875
commit 40f4d6f7f1

14
include/colour.h Normal file
View File

@ -0,0 +1,14 @@
#ifndef COLOUR_H
#define COLOUR_H
#include "aliases/aliases.h"
#include <SDL_pixels.h>
typedef struct {
union {
u32 abgr;
SDL_Color colour;
};
} colour_t;
#endif // !COLOUR_H