diff options
author | nailyk <nailyk_launchpad@nailyk.fr> | 2016-08-19 13:27:12 +0200 |
---|---|---|
committer | Dees Troy <dees_troy@teamw.in> | 2016-08-23 22:25:31 +0200 |
commit | c45b2d59b38222f30bf789b4f21e0508031d15a9 (patch) | |
tree | 2b86dc834b9e39c5f1627b2f76abb68cfe37ac29 | |
parent | NTFS-3g: migrate to PLATFORM_SDK check instead (diff) | |
download | android_bootable_recovery-c45b2d59b38222f30bf789b4f21e0508031d15a9.tar android_bootable_recovery-c45b2d59b38222f30bf789b4f21e0508031d15a9.tar.gz android_bootable_recovery-c45b2d59b38222f30bf789b4f21e0508031d15a9.tar.bz2 android_bootable_recovery-c45b2d59b38222f30bf789b4f21e0508031d15a9.tar.lz android_bootable_recovery-c45b2d59b38222f30bf789b4f21e0508031d15a9.tar.xz android_bootable_recovery-c45b2d59b38222f30bf789b4f21e0508031d15a9.tar.zst android_bootable_recovery-c45b2d59b38222f30bf789b4f21e0508031d15a9.zip |
-rw-r--r-- | minui/graphics.cpp | 6 | ||||
-rw-r--r-- | minui/minui.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/minui/graphics.cpp b/minui/graphics.cpp index eceaeee11..93b70da25 100644 --- a/minui/graphics.cpp +++ b/minui/graphics.cpp @@ -545,3 +545,9 @@ void gr_fb_blank(bool blank) { gr_backend->blank(gr_backend, blank); } + +void gr_set_font(__attribute__ ((unused))const char* name) { + //this cm function is made to change font. Don't care, just init the font: + gr_init_font(); + return; +} diff --git a/minui/minui.h b/minui/minui.h index 18173b198..098a041ef 100644 --- a/minui/minui.h +++ b/minui/minui.h @@ -51,6 +51,7 @@ void gr_text(int x, int y, const char *s, bool bold); void gr_texticon(int x, int y, GRSurface* icon); int gr_measure(const char *s); void gr_font_size(int *x, int *y); +void gr_set_font(__attribute__ ((unused))const char* name); void gr_blit(GRSurface* source, int sx, int sy, int w, int h, int dx, int dy); unsigned int gr_get_width(GRSurface* surface); |