diff options
author | Elliott Hughes <enh@google.com> | 2015-04-15 19:15:53 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-15 19:15:53 +0200 |
commit | 98bfb6f797220818a4018ef5f3aa65fc074c8fc4 (patch) | |
tree | fa39003f9127c243b686264b48d5d2671e2ce8ac /minui | |
parent | am 17b032e1: Merge "Add missing \n after "Mounting /system." message." (diff) | |
parent | Merge "Move the menu header out of the menu." (diff) | |
download | android_bootable_recovery-98bfb6f797220818a4018ef5f3aa65fc074c8fc4.tar android_bootable_recovery-98bfb6f797220818a4018ef5f3aa65fc074c8fc4.tar.gz android_bootable_recovery-98bfb6f797220818a4018ef5f3aa65fc074c8fc4.tar.bz2 android_bootable_recovery-98bfb6f797220818a4018ef5f3aa65fc074c8fc4.tar.lz android_bootable_recovery-98bfb6f797220818a4018ef5f3aa65fc074c8fc4.tar.xz android_bootable_recovery-98bfb6f797220818a4018ef5f3aa65fc074c8fc4.tar.zst android_bootable_recovery-98bfb6f797220818a4018ef5f3aa65fc074c8fc4.zip |
Diffstat (limited to '')
-rw-r--r-- | minui/graphics.cpp | 2 | ||||
-rw-r--r-- | minui/minui.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/minui/graphics.cpp b/minui/graphics.cpp index d7d6e8d5a..f240f4bbd 100644 --- a/minui/graphics.cpp +++ b/minui/graphics.cpp @@ -103,7 +103,7 @@ static void text_blend(unsigned char* src_p, int src_row_bytes, } } -void gr_text(int x, int y, const char *s, int bold) +void gr_text(int x, int y, const char *s, bool bold) { GRFont* font = gr_font; diff --git a/minui/minui.h b/minui/minui.h index eca3a5030..936f7eec8 100644 --- a/minui/minui.h +++ b/minui/minui.h @@ -48,7 +48,7 @@ void gr_fb_blank(bool blank); void gr_clear(); // clear entire surface to current color void gr_color(unsigned char r, unsigned char g, unsigned char b, unsigned char a); void gr_fill(int x1, int y1, int x2, int y2); -void gr_text(int x, int y, const char *s, int bold); +void gr_text(int x, int y, const char *s, bool bold); void gr_texticon(int x, int y, gr_surface icon); int gr_measure(const char *s); void gr_font_size(int *x, int *y); |