summaryrefslogtreecommitdiff
path: root/apps/plugins/pictureflow.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-12-28 22:26:41 +0000
committerJens Arnold <amiconn@rockbox.org>2008-12-28 22:26:41 +0000
commit36dfdedf3becfb3e81e2e549fc32feb1c8748c73 (patch)
tree44ca04bf73dc6d2111cb18ba532dfaeb0651c7a9 /apps/plugins/pictureflow.c
parent9ad94b9c35a821265ae3d9db22abec9716e786fc (diff)
downloadrockbox-36dfdedf3becfb3e81e2e549fc32feb1c8748c73.zip
rockbox-36dfdedf3becfb3e81e2e549fc32feb1c8748c73.tar.gz
rockbox-36dfdedf3becfb3e81e2e549fc32feb1c8748c73.tar.bz2
rockbox-36dfdedf3becfb3e81e2e549fc32feb1c8748c73.tar.xz
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
Diffstat (limited to 'apps/plugins/pictureflow.c')
-rw-r--r--apps/plugins/pictureflow.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/pictureflow.c b/apps/plugins/pictureflow.c
index 258e1fa..83ab1dd 100644
--- a/apps/plugins/pictureflow.c
+++ b/apps/plugins/pictureflow.c
@@ -1896,6 +1896,8 @@ void draw_album_text(void)
int main(void)
{
int ret;
+
+ rb->lcd_setfont(FONT_UI);
draw_splashscreen();
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,
LCD_WIDTH, LCD_HEIGHT, NULL))
rb->splash(HZ, "Greylib init failed!");
+ grey_setfont(FONT_UI);
#endif
buffer = LCD_BUF;