forked from len0rd/rockbox
Make sure pictureflow always uses the user font, both on colour and greyscale targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19610 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9ad94b9c35
commit
36dfdedf3b
1 changed files with 3 additions and 0 deletions
|
@ -1896,6 +1896,8 @@ void draw_album_text(void)
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
rb->lcd_setfont(FONT_UI);
|
||||||
draw_splashscreen();
|
draw_splashscreen();
|
||||||
|
|
||||||
if ( ! rb->dir_exists( CACHE_PREFIX ) ) {
|
if ( ! rb->dir_exists( CACHE_PREFIX ) ) {
|
||||||
|
@ -1951,6 +1953,7 @@ int main(void)
|
||||||
if (!grey_init(rb, plugin_buf, plugin_buf_size, GREY_BUFFERED|GREY_ON_COP,
|
if (!grey_init(rb, plugin_buf, plugin_buf_size, GREY_BUFFERED|GREY_ON_COP,
|
||||||
LCD_WIDTH, LCD_HEIGHT, NULL))
|
LCD_WIDTH, LCD_HEIGHT, NULL))
|
||||||
rb->splash(HZ, "Greylib init failed!");
|
rb->splash(HZ, "Greylib init failed!");
|
||||||
|
grey_setfont(FONT_UI);
|
||||||
#endif
|
#endif
|
||||||
buffer = LCD_BUF;
|
buffer = LCD_BUF;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue