diff options
author | Phil Jones <philj56@gmail.com> | 2021-10-29 13:23:44 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2021-10-29 13:23:44 +0100 |
commit | c691b8e48c572e2d5f1c7c16c8f42babd7d706d5 (patch) | |
tree | b3d601919670c41e0409477e22371ab77e092aa2 /src/util.h | |
parent | 3bf156c9d9598acbee38c49d17cdb7d77e79d520 (diff) |
Basic text entry working.
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 22 |
1 files changed, 22 insertions, 0 deletions
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 <stdbool.h> +#include <stdint.h> + +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 */ |