From a27d02fab9d6feb793cdcd6146f2655658f36f2b Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Thu, 6 Nov 2014 10:24:39 -0600 Subject: Make libminuitwrp compile Odds are this is horribly broken, but we are not able to work on it just yet. Change-Id: I8cd12a6dba7957b1ccc1275b8d72c24797856db0 --- minuitwrp/minui.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'minuitwrp/minui.h') diff --git a/minuitwrp/minui.h b/minuitwrp/minui.h index cb9f8a385..699b08ca6 100644 --- a/minuitwrp/minui.h +++ b/minuitwrp/minui.h @@ -17,7 +17,16 @@ #ifndef _MINUI_H_ #define _MINUI_H_ -typedef void* gr_surface; +typedef struct { + int width; + int height; + int row_bytes; + int pixel_bytes; + unsigned char* data; +} GRSurface; + +typedef GRSurface* gr_surface; + typedef unsigned short gr_pixel; #define FONT_TYPE_TWRP 0 -- cgit v1.2.3