forked from len0rd/rockbox
Added a flag icon for language files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2398 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
70747f9bf3
commit
1715b2707e
5 changed files with 8 additions and 5 deletions
|
|
@ -28,7 +28,8 @@ char tree_icons_5x7[LastTreeIcon][8] =
|
||||||
{ 0x0c, 0x13, 0x11, 0x11, 0x11, 0x11, 0x1f, 0x00 }, /* Folder */
|
{ 0x0c, 0x13, 0x11, 0x11, 0x11, 0x11, 0x1f, 0x00 }, /* Folder */
|
||||||
{ 0x17, 0x00, 0x17, 0x00, 0x17, 0x00, 0x17, 0x00 }, /* Playlist */
|
{ 0x17, 0x00, 0x17, 0x00, 0x17, 0x00, 0x17, 0x00 }, /* Playlist */
|
||||||
{ 0x01, 0x01, 0x02, 0x02, 0x14, 0x0c, 0x04, 0x00 }, /* WPS */
|
{ 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
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,8 @@
|
||||||
|
|
||||||
#ifdef HAVE_LCD_CHARCELLS
|
#ifdef HAVE_LCD_CHARCELLS
|
||||||
|
|
||||||
enum icons_6x8 {
|
enum {
|
||||||
Unknown, File, Folder, Playlist, Wps, Mod_Ajz,
|
Unknown, File, Folder, Playlist, Wps, Mod_Ajz, Language,
|
||||||
LastTreeIcon
|
LastTreeIcon
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,8 @@ unsigned char bitmap_icons_6x8[LastIcon][6] =
|
||||||
{ 0x63, 0x7f, 0x3a, 0x7f, 0x63, 0x00 },
|
{ 0x63, 0x7f, 0x3a, 0x7f, 0x63, 0x00 },
|
||||||
/* Font file */
|
/* Font file */
|
||||||
{ 0x60, 0x70, 0x38, 0x2c, 0x7e, 0x7e },
|
{ 0x60, 0x70, 0x38, 0x2c, 0x7e, 0x7e },
|
||||||
|
/* Language file */
|
||||||
|
{ 0x3e, 0x2a, 0x3e, 0x2a, 0x2a, 0x3e },
|
||||||
};
|
};
|
||||||
|
|
||||||
unsigned char bitmap_icons_7x8[][7] =
|
unsigned char bitmap_icons_7x8[][7] =
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ enum icons_6x8 {
|
||||||
Box_Filled, Box_Empty, Slider_Horizontal, File,
|
Box_Filled, Box_Empty, Slider_Horizontal, File,
|
||||||
Folder, Directory, Playlist, Repeat,
|
Folder, Directory, Playlist, Repeat,
|
||||||
Selected, Cursor, Wps, Mod_Ajz,
|
Selected, Cursor, Wps, Mod_Ajz,
|
||||||
Font,
|
Font, Language,
|
||||||
LastIcon
|
LastIcon
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -374,7 +374,7 @@ static int showdir(char *path, int start)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TREE_ATTR_LNG:
|
case TREE_ATTR_LNG:
|
||||||
icon_type = Wps; /* for now */
|
icon_type = Language;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TREE_ATTR_MOD:
|
case TREE_ATTR_MOD:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue