summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
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/settings_list.c
parent8be2a90d783e5fd0063e22b76a760a917124c758 (diff)
downloadrockbox-1dc7f490c91993a06b0de1988efece102353455f.tar.gz
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/settings_list.c')
-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";
223 #define DEFAULT_FONTNAME "" 223 #define DEFAULT_FONTNAME ""
224#endif 224#endif
225 225
226#ifdef HAVE_REMOTE_LCD
227#if LCD_REMOTE_HEIGHT <= 64
228 #define DEFAULT_REMOTE_FONTNAME "08-Rockfont"
229#else
230 #define DEFAULT_REMOTE_FONTNAME "-"
231#endif
232#endif /* HAVE_REMOTE_LCD */
233
226#ifdef HAVE_LCD_COLOR 234#ifdef HAVE_LCD_COLOR
227 #define DEFAULT_ICONSET "tango_small" 235 #define DEFAULT_ICONSET "tango_small"
228 #define DEFAULT_VIEWERS_ICONSET "tango_small_viewers" 236 #define DEFAULT_VIEWERS_ICONSET "tango_small_viewers"
@@ -1564,7 +1572,7 @@ const struct settings_list settings[] = {
1564#endif 1572#endif
1565#ifdef HAVE_REMOTE_LCD 1573#ifdef HAVE_REMOTE_LCD
1566 TEXT_SETTING(F_THEMESETTING, remote_font_file, "remote font", 1574 TEXT_SETTING(F_THEMESETTING, remote_font_file, "remote font",
1567 "-", FONT_DIR "/", ".fnt"), 1575 DEFAULT_REMOTE_FONTNAME, FONT_DIR "/", ".fnt"),
1568#endif 1576#endif
1569 TEXT_SETTING(F_THEMESETTING,wps_file, "wps", 1577 TEXT_SETTING(F_THEMESETTING,wps_file, "wps",
1570 DEFAULT_WPSNAME, WPS_DIR "/", ".wps"), 1578 DEFAULT_WPSNAME, WPS_DIR "/", ".wps"),