forked from hkc/cc-stuff
GlyphBitmap typedef
This commit is contained in:
parent
6028bb419e
commit
46f8ecd68e
|
@ -30,8 +30,9 @@ struct palette {
|
|||
};
|
||||
#define LENGTHOF(...) (sizeof(__VA_ARGS__) / sizeof(*(__VA_ARGS__)))
|
||||
#define PALETTE(...) { .count = LENGTHOF((union color[]){__VA_ARGS__}), .colors = {__VA_ARGS__} }
|
||||
typedef char GlyphBitmap[11];
|
||||
|
||||
const extern char font_atlas[256][11];
|
||||
const extern GlyphBitmap font_atlas[256];
|
||||
const extern struct palette DEFAULT_PALETTE, DEFAULT_GRAY_PALETTE;
|
||||
|
||||
struct arguments {
|
||||
|
|
Loading…
Reference in New Issue