From 5e9251bd48acafff575ed1c740e4dc05ec175508 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 11 Mar 2015 14:35:54 +0100 Subject: Add simple drawing code & font loading. --- src/lib/include/proto/font_file.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/lib/include/proto/font_file.h (limited to 'src/lib/include/proto/font_file.h') 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 +#include + +#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 :*/ -- cgit v1.2.3