From c691b8e48c572e2d5f1c7c16c8f42babd7d706d5 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Fri, 29 Oct 2021 13:23:44 +0100 Subject: Basic text entry working. --- src/util.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/util.h (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h new file mode 100644 index 0000000..02e2c6a --- /dev/null +++ b/src/util.h @@ -0,0 +1,22 @@ +#ifndef UTIL_H +#define UTIL_H + +#include +#include + +struct image { + uint8_t *buffer; + uint32_t width; + uint32_t height; + bool swizzle; + bool redraw; +}; + +struct color { + float r; + float g; + float b; + float a; +}; + +#endif /* UTIL_H */ -- cgit v1.2.3