From abe11fd910f979f95454e3b44aba5a57570c6543 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Tue, 3 Sep 2002 15:58:47 +0000 Subject: Added quick-set screens to F2 (play modes) and F3 (screen settings) in dir browser and wps. Fixed minor propfont issues in lcd.c. Exported icons outside of icons.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2154 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/icons.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'apps/recorder/icons.c') diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c index 2019a1728a..440902a83a 100644 --- a/apps/recorder/icons.c +++ b/apps/recorder/icons.c @@ -36,7 +36,7 @@ unsigned char slider_bar[] = 0x7c, 0x28, 0x28, 0x28, 0x28, 0x38 }; -static unsigned char bitmap_icon_5x8[][5] = +unsigned char bitmap_icons_5x8[][5] = { /* Lock */ {0x78,0x7f,0x49,0x7f,0x78} @@ -70,7 +70,7 @@ unsigned char bitmap_icons_6x8[LastIcon][6] = { 0x63, 0x7f, 0x3a, 0x7f, 0x63, 0x00 }, }; -static unsigned char bitmap_icon_7x8[][7] = +unsigned char bitmap_icons_7x8[][7] = { /* Power plug */ {0x08,0x1c,0x3e,0x3e,0x3e,0x14,0x14}, @@ -190,7 +190,7 @@ void statusbar_icon_battery(int percent, bool charging) /* draw power plug if charging */ if (charging) - lcd_bitmap(bitmap_icon_7x8[Icon_Plug], ICON_PLUG_X_POS, + lcd_bitmap(bitmap_icons_7x8[Icon_Plug], ICON_PLUG_X_POS, STATUSBAR_Y_POS, ICON_PLUG_WIDTH, STATUSBAR_HEIGHT, false); }; @@ -217,7 +217,7 @@ void statusbar_icon_volume(int percent) volume = 100; if (volume==0) { - lcd_bitmap(bitmap_icon_7x8[Icon_Mute], + lcd_bitmap(bitmap_icons_7x8[Icon_Mute], ICON_VOLUME_X_POS + ICON_VOLUME_WIDTH / 2 - 4, STATUSBAR_Y_POS, 7, STATUSBAR_HEIGHT, false); } @@ -259,7 +259,7 @@ void statusbar_icon_volume(int percent) */ void statusbar_icon_play_state(int state) { - lcd_bitmap(bitmap_icon_7x8[state], ICON_PLAY_STATE_X_POS, STATUSBAR_Y_POS, + lcd_bitmap(bitmap_icons_7x8[state], ICON_PLAY_STATE_X_POS, STATUSBAR_Y_POS, ICON_PLAY_STATE_WIDTH, STATUSBAR_HEIGHT, false); } @@ -268,7 +268,7 @@ void statusbar_icon_play_state(int state) */ void statusbar_icon_play_mode(int mode) { - lcd_bitmap(bitmap_icon_7x8[mode], ICON_PLAY_MODE_X_POS, STATUSBAR_Y_POS, + lcd_bitmap(bitmap_icons_7x8[mode], ICON_PLAY_MODE_X_POS, STATUSBAR_Y_POS, ICON_PLAY_MODE_WIDTH, STATUSBAR_HEIGHT, false); } @@ -277,7 +277,7 @@ void statusbar_icon_play_mode(int mode) */ void statusbar_icon_shuffle(void) { - lcd_bitmap(bitmap_icon_7x8[Icon_Shuffle], ICON_SHUFFLE_X_POS, + lcd_bitmap(bitmap_icons_7x8[Icon_Shuffle], ICON_SHUFFLE_X_POS, STATUSBAR_Y_POS, ICON_SHUFFLE_WIDTH, STATUSBAR_HEIGHT, false); } @@ -286,7 +286,7 @@ void statusbar_icon_shuffle(void) */ void statusbar_icon_lock(void) { - lcd_bitmap(bitmap_icon_5x8[Icon_Lock], LOCK_X_POS, + lcd_bitmap(bitmap_icons_5x8[Icon_Lock], LOCK_X_POS, STATUSBAR_Y_POS, 5, 8, false); } -- cgit v1.2.3