From 74adfe0cbca300e73774c6e0aa9b3c53a5e5b57b Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sun, 31 Oct 2021 16:47:03 +0000 Subject: Add HiDPI support and lots of cleanup. --- src/image.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/image.h (limited to 'src/image.h') diff --git a/src/image.h b/src/image.h new file mode 100644 index 0000000..d5bd346 --- /dev/null +++ b/src/image.h @@ -0,0 +1,17 @@ +#ifndef IMAGE_H +#define IMAGE_H + +#include +#include + +struct image { + uint8_t *buffer; + uint32_t width; + uint32_t height; + bool swizzle; + bool redraw; +}; + +void image_load(struct image *image, const char *filename); + +#endif /* IMAGE_H */ -- cgit v1.2.3