diff options
author | Doug Zongker <dougz@google.com> | 2012-08-22 17:26:40 -0700 |
---|---|---|
committer | Doug Zongker <dougz@google.com> | 2012-08-22 17:26:40 -0700 |
commit | 02ec6b88ed4e6cf40cc257572b07c7277b7b6341 (patch) | |
tree | 2aa6f95cb875d258f62a5342ec2bb1ad0093e3bd /minui/minui.h | |
parent | a3ccba6d314cb29b02d1dbda9a71427b11da936d (diff) | |
download | bootable_recovery-02ec6b88ed4e6cf40cc257572b07c7277b7b6341.zip bootable_recovery-02ec6b88ed4e6cf40cc257572b07c7277b7b6341.tar.gz bootable_recovery-02ec6b88ed4e6cf40cc257572b07c7277b7b6341.tar.bz2 |
add simple text to recovery UI
- recovery takes a --locale argument, which will be passed by the main
system
- the locale is saved in cache, in case the --locale argument is
missing (eg, when recovery is started from fastboot)
- we include images that have prerendered text for many locales
- we split the background states into four (installing update,
erasing, no command, error) so that appropriate text can be shown.
Change-Id: I731b8108e83d5ccc09a4aacfc1dbf7e86b397aaf
Diffstat (limited to 'minui/minui.h')
-rw-r--r-- | minui/minui.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/minui/minui.h b/minui/minui.h index 74da4e9..767ffcb 100644 --- a/minui/minui.h +++ b/minui/minui.h @@ -38,6 +38,7 @@ void gr_fb_blank(bool blank); void gr_color(unsigned char r, unsigned char g, unsigned char b, unsigned char a); void gr_fill(int x, int y, int w, int h); int gr_text(int x, int y, const char *s); + void gr_texticon(int x, int y, gr_surface icon); int gr_measure(const char *s); void gr_font_size(int *x, int *y); @@ -71,6 +72,7 @@ void ev_dispatch(void); // Returns 0 if no error, else negative. int res_create_surface(const char* name, gr_surface* pSurface); +int res_create_localized_surface(const char* name, gr_surface* pSurface); void res_free_surface(gr_surface surface); #ifdef __cplusplus |