summaryrefslogtreecommitdiffstats
path: root/minuitwrp/minui.h
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-10-05 05:09:08 +0200
committerEthan Yonker <dees_troy@teamw.in>2015-10-15 16:23:39 +0200
commit88037f476f43354725e4fb06e36b56128f33cd5a (patch)
tree7c21765296475fdf523a38c4c2f611af1dcb395e /minuitwrp/minui.h
parentFix up twrpTar (diff)
downloadandroid_bootable_recovery-88037f476f43354725e4fb06e36b56128f33cd5a.tar
android_bootable_recovery-88037f476f43354725e4fb06e36b56128f33cd5a.tar.gz
android_bootable_recovery-88037f476f43354725e4fb06e36b56128f33cd5a.tar.bz2
android_bootable_recovery-88037f476f43354725e4fb06e36b56128f33cd5a.tar.lz
android_bootable_recovery-88037f476f43354725e4fb06e36b56128f33cd5a.tar.xz
android_bootable_recovery-88037f476f43354725e4fb06e36b56128f33cd5a.tar.zst
android_bootable_recovery-88037f476f43354725e4fb06e36b56128f33cd5a.zip
Diffstat (limited to 'minuitwrp/minui.h')
-rw-r--r--minuitwrp/minui.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/minuitwrp/minui.h b/minuitwrp/minui.h
index 6033da728..1744928dd 100644
--- a/minuitwrp/minui.h
+++ b/minuitwrp/minui.h
@@ -21,10 +21,7 @@ typedef void* gr_surface;
typedef unsigned short gr_pixel;
#define FONT_TYPE_TWRP 0
-
-#ifndef TW_DISABLE_TTF
#define FONT_TYPE_TTF 1
-#endif
int gr_init(void);
void gr_exit(void);
@@ -52,10 +49,6 @@ int gr_maxExW(const char *s, void* font, int max_width);
int gr_getMaxFontHeight(void *font);
-void* gr_loadFont(const char* fontName);
-void gr_freeFont(void *font);
-
-#ifndef TW_DISABLE_TTF
void *gr_ttf_loadFont(const char *filename, int size, int dpi);
void gr_ttf_freeFont(void *font);
int gr_ttf_textExWH(void *context, int x, int y, const char *s, void *pFont, int max_width, int max_height);
@@ -63,7 +56,6 @@ int gr_ttf_measureEx(const char *s, void *font);
int gr_ttf_maxExW(const char *s, void *font, int max_width);
int gr_ttf_getMaxFontHeight(void *font);
void gr_ttf_dump_stats(void);
-#endif
void gr_blit(gr_surface source, int sx, int sy, int w, int h, int dx, int dy);
unsigned int gr_get_width(gr_surface surface);