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
|
@ -55,7 +55,7 @@ enum {
|
|||
|
||||
/* SYSFONT, FONT_UI, FONT_UI_REMOTE + MAXUSERFONTS fonts in skins */
|
||||
#define MAXFONTS (FONT_FIRSTUSERFONT + MAXUSERFONTS)
|
||||
#define FONT_UI MAXUSERFONTS
|
||||
#define FONT_UI MAXFONTS
|
||||
|
||||
/*
|
||||
* .fnt loadable font file format definition
|
||||
|
@ -124,9 +124,6 @@ int font_glyphs_to_bufsize(const char *path, int glyphs);
|
|||
void font_unload(int font_id);
|
||||
void font_unload_all(void);
|
||||
void font_lock(int font_id, bool lock);
|
||||
/* set the default UI font */
|
||||
void font_set_ui(int font_id);
|
||||
int font_get_ui(void);
|
||||
|
||||
struct font* font_get(int font);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue