summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-09-24 14:42:14 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-09-24 14:42:14 +0000
commit1715b2707e08462070d5ce6f1d7aa8f47d1fb519 (patch)
treee91a392723dd4828d8bffaed249536f10be71ff5 /apps
parent70747f9bf38fd659be227b575e8d28faeeec6300 (diff)
downloadrockbox-1715b2707e08462070d5ce6f1d7aa8f47d1fb519.tar.gz
rockbox-1715b2707e08462070d5ce6f1d7aa8f47d1fb519.zip
Added a flag icon for language files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2398 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/player/icons.c3
-rw-r--r--apps/player/icons.h4
-rw-r--r--apps/recorder/icons.c2
-rw-r--r--apps/recorder/icons.h2
-rw-r--r--apps/tree.c2
5 files changed, 8 insertions, 5 deletions
diff --git a/apps/player/icons.c b/apps/player/icons.c
index 65617a64cc..d5a71bad0f 100644
--- a/apps/player/icons.c
+++ b/apps/player/icons.c
@@ -28,7 +28,8 @@ char tree_icons_5x7[LastTreeIcon][8] =
28 { 0x0c, 0x13, 0x11, 0x11, 0x11, 0x11, 0x1f, 0x00 }, /* Folder */ 28 { 0x0c, 0x13, 0x11, 0x11, 0x11, 0x11, 0x1f, 0x00 }, /* Folder */
29 { 0x17, 0x00, 0x17, 0x00, 0x17, 0x00, 0x17, 0x00 }, /* Playlist */ 29 { 0x17, 0x00, 0x17, 0x00, 0x17, 0x00, 0x17, 0x00 }, /* Playlist */
30 { 0x01, 0x01, 0x02, 0x02, 0x14, 0x0c, 0x04, 0x00 }, /* WPS */ 30 { 0x01, 0x01, 0x02, 0x02, 0x14, 0x0c, 0x04, 0x00 }, /* WPS */
31 { 0x1f, 0x11, 0x1b, 0x15, 0x1b, 0x11, 0x1f, 0x00 } /* MOD/AJZ */ 31 { 0x1f, 0x11, 0x1b, 0x15, 0x1b, 0x11, 0x1f, 0x00 }, /* MOD/AJZ */
32 { 0x00, 0x1f, 0x15, 0x1f, 0x15, 0x1f, 0x00, 0x00 } /* Language */
32}; 33};
33 34
34#endif 35#endif
diff --git a/apps/player/icons.h b/apps/player/icons.h
index 87608961b8..f896283eb1 100644
--- a/apps/player/icons.h
+++ b/apps/player/icons.h
@@ -24,8 +24,8 @@
24 24
25#ifdef HAVE_LCD_CHARCELLS 25#ifdef HAVE_LCD_CHARCELLS
26 26
27enum icons_6x8 { 27enum {
28 Unknown, File, Folder, Playlist, Wps, Mod_Ajz, 28 Unknown, File, Folder, Playlist, Wps, Mod_Ajz, Language,
29 LastTreeIcon 29 LastTreeIcon
30}; 30};
31 31
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c
index 0e4bb8ab8d..76169fe0ee 100644
--- a/apps/recorder/icons.c
+++ b/apps/recorder/icons.c
@@ -71,6 +71,8 @@ unsigned char bitmap_icons_6x8[LastIcon][6] =
71 { 0x63, 0x7f, 0x3a, 0x7f, 0x63, 0x00 }, 71 { 0x63, 0x7f, 0x3a, 0x7f, 0x63, 0x00 },
72 /* Font file */ 72 /* Font file */
73 { 0x60, 0x70, 0x38, 0x2c, 0x7e, 0x7e }, 73 { 0x60, 0x70, 0x38, 0x2c, 0x7e, 0x7e },
74 /* Language file */
75 { 0x3e, 0x2a, 0x3e, 0x2a, 0x2a, 0x3e },
74}; 76};
75 77
76unsigned char bitmap_icons_7x8[][7] = 78unsigned char bitmap_icons_7x8[][7] =
diff --git a/apps/recorder/icons.h b/apps/recorder/icons.h
index 1cf75151da..13bc9274ff 100644
--- a/apps/recorder/icons.h
+++ b/apps/recorder/icons.h
@@ -28,7 +28,7 @@ enum icons_6x8 {
28 Box_Filled, Box_Empty, Slider_Horizontal, File, 28 Box_Filled, Box_Empty, Slider_Horizontal, File,
29 Folder, Directory, Playlist, Repeat, 29 Folder, Directory, Playlist, Repeat,
30 Selected, Cursor, Wps, Mod_Ajz, 30 Selected, Cursor, Wps, Mod_Ajz,
31 Font, 31 Font, Language,
32 LastIcon 32 LastIcon
33}; 33};
34 34
diff --git a/apps/tree.c b/apps/tree.c
index cc3a38ce9b..3a6fcfeddc 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -374,7 +374,7 @@ static int showdir(char *path, int start)
374 break; 374 break;
375 375
376 case TREE_ATTR_LNG: 376 case TREE_ATTR_LNG:
377 icon_type = Wps; /* for now */ 377 icon_type = Language;
378 break; 378 break;
379 379
380 case TREE_ATTR_MOD: 380 case TREE_ATTR_MOD: