From 42679f7e53364e8de8de665ac7ba9b7e2dd1970b Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Tue, 26 Oct 2021 23:15:46 +0100 Subject: Add PNG background. --- src/client.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index 04d78ac..32670af 100644 --- a/src/client.h +++ b/src/client.h @@ -4,6 +4,7 @@ #include #include #include "egl.h" +#include "gl.h" struct client_state { /* Globals */ @@ -25,6 +26,18 @@ struct client_state { int height; bool closed; struct egl egl; + struct gl gl; + struct { + uint8_t *buffer; + uint32_t width; + uint32_t height; + } background_image; + struct color { + float r; + float g; + float b; + float a; + } background_color; /* Keyboard state */ struct xkb_state *xkb_state; struct xkb_context *xkb_context; -- cgit v1.2.3