mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Redo r30826 (and hopefully not reintroduce font issues) which cleans up the font API. FONT_UI is deprecated, use screens[screen].getuifont() instead (and .setuifont() to set it after a font has been loaded)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30932 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
452a3ce274
commit
f19f3efb07
13 changed files with 94 additions and 95 deletions
|
@ -71,7 +71,8 @@ struct screen
|
|||
int (*getstringsize)(const unsigned char *str, int *w, int *h);
|
||||
#if defined(HAVE_LCD_BITMAP) || defined(HAVE_REMOTE_LCD) /* always bitmap */
|
||||
void (*setfont)(int newfont);
|
||||
int (*getfont)(void);
|
||||
int (*getuifont)(void);
|
||||
void (*setuifont)(int newfont);
|
||||
|
||||
void (*scroll_step)(int pixels);
|
||||
void (*puts_style_offset)(int x, int y, const unsigned char *str,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue