diff options
-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); |