Add colour_t struct
This commit is contained in:
parent
9db1d6f875
commit
40f4d6f7f1
14
include/colour.h
Normal file
14
include/colour.h
Normal 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
|
Loading…
Reference in New Issue
Block a user