mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
FS#12273 - use buflib for font storage. thanks to the testers :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30589 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f323300b82
commit
aa0f4a4bbe
37 changed files with 410 additions and 404 deletions
|
|
@ -114,7 +114,7 @@ void tv_set_default_preferences(struct tv_preferences *p)
|
|||
p->footer_mode = true;
|
||||
p->statusbar = true;
|
||||
rb->strlcpy(p->font_name, rb->global_settings->font_file, MAX_PATH);
|
||||
p->font = rb->font_get(FONT_UI);
|
||||
p->font_id = rb->global_status->font_id[SCREEN_MAIN];
|
||||
#else
|
||||
p->header_mode = false;
|
||||
p->footer_mode = false;
|
||||
|
|
@ -133,3 +133,11 @@ void tv_add_preferences_change_listner(int (*listner)(const struct tv_preference
|
|||
if (listner_count < TV_MAX_LISTNERS)
|
||||
listners[listner_count++] = listner;
|
||||
}
|
||||
|
||||
void tv_change_fontid(int id)
|
||||
{
|
||||
(void)id;
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
prefs.font_id = id;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue