summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-06-03 07:30:01 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-06-03 07:30:01 +0000
commit1dc7f490c91993a06b0de1988efece102353455f (patch)
treee991c2cac3f8a1c1cc6d2c63123222bdac0f0442 /apps
parent8be2a90d783e5fd0063e22b76a760a917124c758 (diff)
downloadrockbox-1dc7f490c91993a06b0de1988efece102353455f.tar.gz
rockbox-1dc7f490c91993a06b0de1988efece102353455f.tar.bz2
rockbox-1dc7f490c91993a06b0de1988efece102353455f.zip
Use a different remote font than the main LCD font
Works for both wps config and settings Only change targets with LCD_REMOTE_HEIGHT <= 64 (irivers) to use 08-Rockfont git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26505 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/settings_list.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index d6f5f94f66..1e2b4ebb18 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -223,6 +223,14 @@ static const char graphic_numeric[] = "graphic,numeric";
#define DEFAULT_FONTNAME ""
#endif
+#ifdef HAVE_REMOTE_LCD
+#if LCD_REMOTE_HEIGHT <= 64
+ #define DEFAULT_REMOTE_FONTNAME "08-Rockfont"
+#else
+ #define DEFAULT_REMOTE_FONTNAME "-"
+#endif
+#endif /* HAVE_REMOTE_LCD */
+
#ifdef HAVE_LCD_COLOR
#define DEFAULT_ICONSET "tango_small"
#define DEFAULT_VIEWERS_ICONSET "tango_small_viewers"
@@ -1564,7 +1572,7 @@ const struct settings_list settings[] = {
#endif
#ifdef HAVE_REMOTE_LCD
TEXT_SETTING(F_THEMESETTING, remote_font_file, "remote font",
- "-", FONT_DIR "/", ".fnt"),
+ DEFAULT_REMOTE_FONTNAME, FONT_DIR "/", ".fnt"),
#endif
TEXT_SETTING(F_THEMESETTING,wps_file, "wps",
DEFAULT_WPSNAME, WPS_DIR "/", ".wps"),