summaryrefslogtreecommitdiffstats
path: root/minuitwrp/minui.h
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-11-06 17:24:39 +0100
committerEthan Yonker <dees_troy@teamw.in>2014-11-06 17:24:42 +0100
commita27d02fab9d6feb793cdcd6146f2655658f36f2b (patch)
tree24987aa019bbd86d1c721f02f7ee4a8d4aa6e8aa /minuitwrp/minui.h
parentFix up libaosprecovery (diff)
downloadandroid_bootable_recovery-a27d02fab9d6feb793cdcd6146f2655658f36f2b.tar
android_bootable_recovery-a27d02fab9d6feb793cdcd6146f2655658f36f2b.tar.gz
android_bootable_recovery-a27d02fab9d6feb793cdcd6146f2655658f36f2b.tar.bz2
android_bootable_recovery-a27d02fab9d6feb793cdcd6146f2655658f36f2b.tar.lz
android_bootable_recovery-a27d02fab9d6feb793cdcd6146f2655658f36f2b.tar.xz
android_bootable_recovery-a27d02fab9d6feb793cdcd6146f2655658f36f2b.tar.zst
android_bootable_recovery-a27d02fab9d6feb793cdcd6146f2655658f36f2b.zip
Diffstat (limited to 'minuitwrp/minui.h')
-rw-r--r--minuitwrp/minui.h11
1 files changed, 10 insertions, 1 deletions
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