From 1dc7f490c91993a06b0de1988efece102353455f Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Thu, 3 Jun 2010 07:30:01 +0000 Subject: 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 --- apps/settings_list.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'apps/settings_list.c') 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"), -- cgit v1.2.3