Add colour_t struct
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user