diff options
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index e1bb5ccb9f..ecdbe26370 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -67,7 +67,7 @@ | |||
67 | #endif | 67 | #endif |
68 | 68 | ||
69 | #ifdef HAVE_LCD_BITMAP | 69 | #ifdef HAVE_LCD_BITMAP |
70 | #include "widgets.h" | 70 | #include "scrollbar.h" |
71 | #include "peakmeter.h" | 71 | #include "peakmeter.h" |
72 | #endif | 72 | #endif |
73 | #include "logfdisp.h" | 73 | #include "logfdisp.h" |
@@ -260,11 +260,11 @@ bool dbg_audio_thread(void) | |||
260 | lcd_puts(0, 5, buf); | 260 | lcd_puts(0, 5, buf); |
261 | 261 | ||
262 | /* Playable space left */ | 262 | /* Playable space left */ |
263 | scrollbar(0, 6*8, 112, 4, d.audiobuflen, 0, | 263 | gui_scrollbar_draw(&screens[SCREEN_MAIN],0, 6*8, 112, 4, d.audiobuflen, 0, |
264 | d.playable_space, HORIZONTAL); | 264 | d.playable_space, HORIZONTAL); |
265 | 265 | ||
266 | /* Show the watermark limit */ | 266 | /* Show the watermark limit */ |
267 | scrollbar(0, 6*8+4, 112, 4, d.audiobuflen, 0, | 267 | gui_scrollbar_draw(&screens[SCREEN_MAIN],0, 6*8+4, 112, 4, d.audiobuflen, 0, |
268 | d.low_watermark_level, HORIZONTAL); | 268 | d.low_watermark_level, HORIZONTAL); |
269 | 269 | ||
270 | snprintf(buf, sizeof(buf), "wm: %x - %x", | 270 | snprintf(buf, sizeof(buf), "wm: %x - %x", |
@@ -334,14 +334,14 @@ bool dbg_audio_thread(void) | |||
334 | lcd_puts(0, line++, buf); | 334 | lcd_puts(0, line++, buf); |
335 | 335 | ||
336 | /* Playable space left */ | 336 | /* Playable space left */ |
337 | scrollbar(0, line*8, LCD_WIDTH, 6, bufsize, 0, bufused, HORIZONTAL); | 337 | gui_scrollbar_draw(&screens[SCREEN_MAIN],0, line*8, LCD_WIDTH, 6, bufsize, 0, bufused, HORIZONTAL); |
338 | line++; | 338 | line++; |
339 | 339 | ||
340 | snprintf(buf, sizeof(buf), "codec: %8ld/%8ld", audio_filebufused(), (long) filebuflen); | 340 | snprintf(buf, sizeof(buf), "codec: %8ld/%8ld", audio_filebufused(), (long) filebuflen); |
341 | lcd_puts(0, line++, buf); | 341 | lcd_puts(0, line++, buf); |
342 | 342 | ||
343 | /* Playable space left */ | 343 | /* Playable space left */ |
344 | scrollbar(0, line*8, LCD_WIDTH, 6, filebuflen, 0, | 344 | gui_scrollbar_draw(&screens[SCREEN_MAIN],0, line*8, LCD_WIDTH, 6, filebuflen, 0, |
345 | audio_filebufused(), HORIZONTAL); | 345 | audio_filebufused(), HORIZONTAL); |
346 | line++; | 346 | line++; |
347 | 347 | ||