diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2002-09-24 14:42:14 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2002-09-24 14:42:14 +0000 |
| commit | 1715b2707e08462070d5ce6f1d7aa8f47d1fb519 (patch) | |
| tree | e91a392723dd4828d8bffaed249536f10be71ff5 | |
| parent | 70747f9bf38fd659be227b575e8d28faeeec6300 (diff) | |
| download | rockbox-1715b2707e08462070d5ce6f1d7aa8f47d1fb519.zip rockbox-1715b2707e08462070d5ce6f1d7aa8f47d1fb519.tar.gz rockbox-1715b2707e08462070d5ce6f1d7aa8f47d1fb519.tar.bz2 rockbox-1715b2707e08462070d5ce6f1d7aa8f47d1fb519.tar.xz | |
Added a flag icon for language files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2398 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/player/icons.c | 3 | ||||
| -rw-r--r-- | apps/player/icons.h | 4 | ||||
| -rw-r--r-- | apps/recorder/icons.c | 2 | ||||
| -rw-r--r-- | apps/recorder/icons.h | 2 | ||||
| -rw-r--r-- | apps/tree.c | 2 |
5 files changed, 8 insertions, 5 deletions
diff --git a/apps/player/icons.c b/apps/player/icons.c index 65617a6..d5a71ba 100644 --- a/apps/player/icons.c +++ b/apps/player/icons.c @@ -28,7 +28,8 @@ char tree_icons_5x7[LastTreeIcon][8] = { 0x0c, 0x13, 0x11, 0x11, 0x11, 0x11, 0x1f, 0x00 }, /* Folder */ { 0x17, 0x00, 0x17, 0x00, 0x17, 0x00, 0x17, 0x00 }, /* Playlist */ { 0x01, 0x01, 0x02, 0x02, 0x14, 0x0c, 0x04, 0x00 }, /* WPS */ - { 0x1f, 0x11, 0x1b, 0x15, 0x1b, 0x11, 0x1f, 0x00 } /* MOD/AJZ */ + { 0x1f, 0x11, 0x1b, 0x15, 0x1b, 0x11, 0x1f, 0x00 }, /* MOD/AJZ */ + { 0x00, 0x1f, 0x15, 0x1f, 0x15, 0x1f, 0x00, 0x00 } /* Language */ }; #endif diff --git a/apps/player/icons.h b/apps/player/icons.h index 8760896..f896283 100644 --- a/apps/player/icons.h +++ b/apps/player/icons.h @@ -24,8 +24,8 @@ #ifdef HAVE_LCD_CHARCELLS -enum icons_6x8 { - Unknown, File, Folder, Playlist, Wps, Mod_Ajz, +enum { + Unknown, File, Folder, Playlist, Wps, Mod_Ajz, Language, LastTreeIcon }; diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c index 0e4bb8a..76169fe 100644 --- a/apps/recorder/icons.c +++ b/apps/recorder/icons.c @@ -71,6 +71,8 @@ unsigned char bitmap_icons_6x8[LastIcon][6] = { 0x63, 0x7f, 0x3a, 0x7f, 0x63, 0x00 }, /* Font file */ { 0x60, 0x70, 0x38, 0x2c, 0x7e, 0x7e }, + /* Language file */ + { 0x3e, 0x2a, 0x3e, 0x2a, 0x2a, 0x3e }, }; unsigned char bitmap_icons_7x8[][7] = diff --git a/apps/recorder/icons.h b/apps/recorder/icons.h index 1cf7515..13bc927 100644 --- a/apps/recorder/icons.h +++ b/apps/recorder/icons.h @@ -28,7 +28,7 @@ enum icons_6x8 { Box_Filled, Box_Empty, Slider_Horizontal, File, Folder, Directory, Playlist, Repeat, Selected, Cursor, Wps, Mod_Ajz, - Font, + Font, Language, LastIcon }; diff --git a/apps/tree.c b/apps/tree.c index cc3a38c..3a6fcfe 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -374,7 +374,7 @@ static int showdir(char *path, int start) break; case TREE_ATTR_LNG: - icon_type = Wps; /* for now */ + icon_type = Language; break; case TREE_ATTR_MOD: |