diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-11 14:35:54 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-11 14:35:54 +0100 |
commit | 5e9251bd48acafff575ed1c740e4dc05ec175508 (patch) | |
tree | 00f95aafd4e0399bcb1858f24b7e79b06a216f30 /src/lib/include/proto/font_file.h | |
parent | 052ca1dc143b1df2800f9c4e43daf80c96fb472e (diff) | |
download | kogata-5e9251bd48acafff575ed1c740e4dc05ec175508.tar.gz kogata-5e9251bd48acafff575ed1c740e4dc05ec175508.zip |
Add simple drawing code & font loading.
Diffstat (limited to 'src/lib/include/proto/font_file.h')
-rw-r--r-- | src/lib/include/proto/font_file.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/include/proto/font_file.h b/src/lib/include/proto/font_file.h new file mode 100644 index 0000000..e57c0ab --- /dev/null +++ b/src/lib/include/proto/font_file.h @@ -0,0 +1,14 @@ +#pragma once + +#include <stdint.h> +#include <stddef.h> + +#define ASCII_BITMAP_FONT_MAGIC 0xD184C274 + +typedef struct { + uint32_t magic; + uint16_t cw, ch; + uint32_t nchars; +} ascii_bitmap_font_header; + +/* vim: set ts=4 sw=4 tw=0 noet :*/ |