summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2007-12-07 00:31:31 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2007-12-07 00:31:31 +0000
commit05007e1a79fa9d9bb5985e0f6195871ea5ea71a6 (patch)
tree78f3653325030e762910f33255618edc61afbf8f /apps
parent327d78eb6e4ad5e380de021d64a02c31e95384a8 (diff)
downloadrockbox-05007e1a79fa9d9bb5985e0f6195871ea5ea71a6.tar.gz
rockbox-05007e1a79fa9d9bb5985e0f6195871ea5ea71a6.zip
More code police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15890 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/recording.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 7b81b3da58..7824d0ae67 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -1096,7 +1096,7 @@ bool recording_screen(bool no_source)
1096 rec_command(RECORDING_CMD_START); 1096 rec_command(RECORDING_CMD_START);
1097 last_seconds = 0; 1097 last_seconds = 0;
1098 if (global_settings.talk_menu) 1098 if (global_settings.talk_menu)
1099 { 1099 {
1100 /* no voice possible here, but a beep */ 1100 /* no voice possible here, but a beep */
1101 audio_beep(HZ/2); /* longer beep on start */ 1101 audio_beep(HZ/2); /* longer beep on start */
1102 } 1102 }
@@ -1454,7 +1454,7 @@ bool recording_screen(bool no_source)
1454 num_recorded_bytes = audio_num_recorded_bytes(); 1454 num_recorded_bytes = audio_num_recorded_bytes();
1455 1455
1456 for(i = 0; i < screen_update; i++) 1456 for(i = 0; i < screen_update; i++)
1457 screens[i].clear_display(); 1457 screens[i].clear_display();
1458 1458
1459 style = base_style; 1459 style = base_style;
1460 1460
@@ -1671,13 +1671,13 @@ bool recording_screen(bool no_source)
1671 if(global_settings.cursor_style && ((1==cursor)||(3==cursor))) 1671 if(global_settings.cursor_style && ((1==cursor)||(3==cursor)))
1672 { 1672 {
1673 for(i = 0; i < screen_update; i++) 1673 for(i = 0; i < screen_update; i++)
1674 screens[i].puts_style_offset(0, filename_offset[i] + 1674 screens[i].puts_style_offset(0, filename_offset[i] +
1675 PM_HEIGHT + 4, buf, style,0); 1675 PM_HEIGHT + 4, buf, style,0);
1676 } 1676 }
1677 else 1677 else
1678 { 1678 {
1679 for(i = 0; i < screen_update; i++) 1679 for(i = 0; i < screen_update; i++)
1680 screens[i].puts(0, filename_offset[i] + 1680 screens[i].puts(0, filename_offset[i] +
1681 PM_HEIGHT + 4, buf); 1681 PM_HEIGHT + 4, buf);
1682 } 1682 }
1683 } 1683 }
@@ -1994,7 +1994,7 @@ static bool f2_rec_screen(void)
1994 FOR_NB_SCREENS(i) 1994 FOR_NB_SCREENS(i)
1995 { 1995 {
1996 screens[i].putsxy(0, LCD_HEIGHT/2-h, buf); 1996 screens[i].putsxy(0, LCD_HEIGHT/2-h, buf);
1997 screens[i].mono_bitmap(bitmap_icons_7x8[Icon_FastBackward], 1997 screens[i].mono_bitmap(bitmap_icons_7x8[Icon_FastBackward],
1998 LCD_WIDTH/2 - 16, LCD_HEIGHT/2 - 4, 7, 8); 1998 LCD_WIDTH/2 - 16, LCD_HEIGHT/2 - 4, 7, 8);
1999 } 1999 }
2000 2000
@@ -2123,7 +2123,7 @@ static bool f3_rec_screen(void)
2123 /* Recording source */ 2123 /* Recording source */
2124 screens[i].putsxy(0, LCD_HEIGHT/2 - h*2, 2124 screens[i].putsxy(0, LCD_HEIGHT/2 - h*2,
2125 str(LANG_SYSFONT_RECORDING_SOURCE)); 2125 str(LANG_SYSFONT_RECORDING_SOURCE));
2126 2126
2127 screens[i].getstringsize(ptr, &w, &h); 2127 screens[i].getstringsize(ptr, &w, &h);
2128 screens[i].putsxy(0, LCD_HEIGHT/2-h, ptr); 2128 screens[i].putsxy(0, LCD_HEIGHT/2-h, ptr);
2129 screens[i].mono_bitmap(bitmap_icons_7x8[Icon_FastBackward], 2129 screens[i].mono_bitmap(bitmap_icons_7x8[Icon_FastBackward],