diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2002-09-12 13:33:59 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2002-09-12 13:33:59 +0000 |
| commit | 93b231c69366563ba441dc4907bfb036fe3b4c55 (patch) | |
| tree | 0783ad028211f59e63925a354e4260a7209ffa24 /apps/main_menu.c | |
| parent | 5ed78ea80cdaa0ede4df89568f0781fa477a5738 (diff) | |
| download | rockbox-93b231c69366563ba441dc4907bfb036fe3b4c55.zip rockbox-93b231c69366563ba441dc4907bfb036fe3b4c55.tar.gz rockbox-93b231c69366563ba441dc4907bfb036fe3b4c55.tar.bz2 rockbox-93b231c69366563ba441dc4907bfb036fe3b4c55.tar.xz | |
Greg Haerr's new loadable font. No more #ifdef font-style, removed old
propfont and loadable font code. New font file format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2269 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main_menu.c')
| -rw-r--r-- | apps/main_menu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c index 464b514..8c0b6a0 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c @@ -23,6 +23,7 @@ #include "tree.h" #include "credits.h" #include "lcd.h" +#include "font.h" #include "button.h" #include "kernel.h" #include "main_menu.h" @@ -96,9 +97,9 @@ int show_logo( void ) #endif snprintf(version, sizeof(version), "Ver. %s", appsversion); - lcd_getfontsize(0, &font_w, &font_h); + lcd_getfontsize(FONT_SYSFIXED, &font_w, &font_h); lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2), - height+10+font_h, version, 0); + LCD_HEIGHT-font_h, version, FONT_SYSFIXED); lcd_update(); #else |