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/color.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/color.h (limited to 'src/color.h') diff --git a/src/color.h b/src/color.h new file mode 100644 index 0000000..505ba9a --- /dev/null +++ b/src/color.h @@ -0,0 +1,16 @@ +#ifndef UTIL_H +#define UTIL_H + +#include +#include + +struct color { + float r; + float g; + float b; + float a; +}; + +struct color hex_to_color(const char *hex); + +#endif /* UTIL_H */ -- cgit v1.2.3