diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2006-11-19 14:11:42 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2006-11-19 14:11:42 +0000 |
| commit | 6288523cfee31a474435ce3445e67733f532d916 (patch) | |
| tree | 1fe3350c1d27a0144492d64792cea78f6a833c73 /apps/debug_menu.c | |
| parent | 687328b7773ae917574841fa63326aa2bec264d6 (diff) | |
| download | rockbox-6288523cfee31a474435ce3445e67733f532d916.zip rockbox-6288523cfee31a474435ce3445e67733f532d916.tar.gz rockbox-6288523cfee31a474435ce3445e67733f532d916.tar.bz2 rockbox-6288523cfee31a474435ce3445e67733f532d916.tar.xz | |
* Move checkbox to plugin api (core never uses it)
* replace the last of the scrollbar() calls with gui_scrollbar_draw()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11552 a1c6a512-1295-4272-9138-f99709370657
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 e1bb5cc..ecdbe26 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -67,7 +67,7 @@ #endif #ifdef HAVE_LCD_BITMAP -#include "widgets.h" +#include "scrollbar.h" #include "peakmeter.h" #endif #include "logfdisp.h" @@ -260,11 +260,11 @@ bool dbg_audio_thread(void) lcd_puts(0, 5, buf); /* Playable space left */ - scrollbar(0, 6*8, 112, 4, d.audiobuflen, 0, + gui_scrollbar_draw(&screens[SCREEN_MAIN],0, 6*8, 112, 4, d.audiobuflen, 0, d.playable_space, HORIZONTAL); /* Show the watermark limit */ - scrollbar(0, 6*8+4, 112, 4, d.audiobuflen, 0, + gui_scrollbar_draw(&screens[SCREEN_MAIN],0, 6*8+4, 112, 4, d.audiobuflen, 0, d.low_watermark_level, HORIZONTAL); snprintf(buf, sizeof(buf), "wm: %x - %x", @@ -334,14 +334,14 @@ bool dbg_audio_thread(void) lcd_puts(0, line++, buf); /* Playable space left */ - scrollbar(0, line*8, LCD_WIDTH, 6, bufsize, 0, bufused, HORIZONTAL); + gui_scrollbar_draw(&screens[SCREEN_MAIN],0, line*8, LCD_WIDTH, 6, bufsize, 0, bufused, HORIZONTAL); line++; snprintf(buf, sizeof(buf), "codec: %8ld/%8ld", audio_filebufused(), (long) filebuflen); lcd_puts(0, line++, buf); /* Playable space left */ - scrollbar(0, line*8, LCD_WIDTH, 6, filebuflen, 0, + gui_scrollbar_draw(&screens[SCREEN_MAIN],0, line*8, LCD_WIDTH, 6, filebuflen, 0, audio_filebufused(), HORIZONTAL); line++; |