forked from len0rd/rockbox
Added repeat-one icon for recorders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2523 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b7638221cd
commit
7e23c70f65
3 changed files with 27 additions and 4 deletions
|
@ -77,11 +77,24 @@ unsigned char bitmap_icons_7x8[][7] =
|
|||
{0x1c,0x3e,0x7f,0x00,0x7f,0x3e,0x1c}, /* Record pause */
|
||||
{0x08,0x08,0x08,0x08,0x3e,0x1c,0x08}, /* Normal playmode */
|
||||
{0x38,0x44,0x44,0x4e,0x5f,0x44,0x38}, /* Repeat playmode */
|
||||
{0x10,0x78,0x04,0x4e,0x5f,0x44,0x38}, /* Repeat-one playmode */
|
||||
{0x3e,0x41,0x51,0x41,0x45,0x41,0x3e}, /* Shuffle playmode (dice) */
|
||||
{0x04,0x0c,0x1c,0x3c,0x1c,0x0c,0x04}, /* Down-arrow */
|
||||
{0x20,0x30,0x38,0x3c,0x38,0x30,0x20}, /* Up-arrow */
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
....*..
|
||||
...**..
|
||||
..****.
|
||||
.*.**.*
|
||||
**..*.*
|
||||
.*....*
|
||||
.*.***.
|
||||
|
||||
*/
|
||||
|
||||
unsigned char rockbox112x37[]={
|
||||
0x00, 0x00, 0x02, 0xff, 0x02, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa,
|
||||
0xf8, 0xf8, 0xf0, 0xe0, 0x80, 0x00, 0x00, 0x80, 0xe0, 0xf0, 0xf8, 0xf8, 0xfc,
|
||||
|
|
|
@ -50,6 +50,7 @@ enum icons_7x8 {
|
|||
Icon_RecPause,
|
||||
Icon_Normal,
|
||||
Icon_Repeat,
|
||||
Icon_RepeatOne,
|
||||
Icon_Shuffle,
|
||||
Icon_DownArrow,
|
||||
Icon_UpArrow,
|
||||
|
|
|
@ -195,10 +195,19 @@ void status_draw(void)
|
|||
#endif
|
||||
statusbar_icon_volume(volume);
|
||||
statusbar_icon_play_state(current_mode + Icon_Play);
|
||||
if (global_settings.repeat_mode != REPEAT_OFF)
|
||||
statusbar_icon_play_mode(Icon_Repeat);
|
||||
else
|
||||
statusbar_icon_play_mode(Icon_Normal);
|
||||
switch (global_settings.repeat_mode) {
|
||||
case REPEAT_OFF:
|
||||
statusbar_icon_play_mode(Icon_Normal);
|
||||
break;
|
||||
|
||||
case REPEAT_ONE:
|
||||
statusbar_icon_play_mode(Icon_RepeatOne);
|
||||
break;
|
||||
|
||||
case REPEAT_ALL:
|
||||
statusbar_icon_play_mode(Icon_Repeat);
|
||||
break;
|
||||
}
|
||||
if(global_settings.playlist_shuffle)
|
||||
statusbar_icon_shuffle();
|
||||
if (keys_locked)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue