From 872a3a7be3f11b59e4d3a59fb88f64d157a2648e Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sun, 27 May 2012 01:39:06 +0200 Subject: clipzip: fix default font and icon set Change-Id: I6eb247eaf7e3306cfc2db25cf93e3be5585cf904 --- apps/settings_list.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/settings_list.c b/apps/settings_list.c index 64bbe07ba4..10d00d5c89 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -214,6 +214,9 @@ static const char graphic_numeric[] = "graphic,numeric"; #elif LCD_HEIGHT <= 80 #define DEFAULT_FONT_HEIGHT 11 #define DEFAULT_FONTNAME "11-Sazanami-Mincho" +#elif (LCD_HEIGHT == 96) && (LCD_WIDTH == 96) /* sandisk sansa clip zip */ + #define DEFAULT_FONT_HEIGHT 8 + #define DEFAULT_FONTNAME "08-Rockfont" #elif LCD_HEIGHT <= 220 #define DEFAULT_FONT_HEIGHT 12 #elif LCD_HEIGHT <= 320 @@ -250,9 +253,12 @@ static const char graphic_numeric[] = "graphic,numeric"; #elif DEFAULT_FONT_HEIGHT >= 15 #define DEFAULT_ICONSET "tango_icons.16x16" #define DEFAULT_VIEWERS_ICONSET "tango_icons_viewers.16x16" - #else + #elif DEFAULT_FONT_HEIGHT >= 11 #define DEFAULT_ICONSET "tango_icons.12x12" #define DEFAULT_VIEWERS_ICONSET "tango_icons_viewers.12x12" + #elif DEFAULT_FONT_HEIGHT >= 7 + #define DEFAULT_ICONSET "tango_icons.8x8" + #define DEFAULT_VIEWERS_ICONSET "tango_icons_viewers.8x8" #endif #elif LCD_DEPTH > 1 /* greyscale */ #define DEFAULT_ICONSET "tango_small_mono" -- cgit v1.2.3