summaryrefslogtreecommitdiff
path: root/utils/wpseditor/libwps/src
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-03-07 12:51:23 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-03-07 12:51:23 +0000
commitf50885534ec6fa78c2c89e275c5ffd592be5cd2e (patch)
treeb60a7d0f7a1c5124cddedeac585c0bb1c1a11d4f /utils/wpseditor/libwps/src
parent1e9789879ff620c78b594801bf37abc256bdcc2b (diff)
downloadrockbox-f50885534ec6fa78c2c89e275c5ffd592be5cd2e.tar.gz
rockbox-f50885534ec6fa78c2c89e275c5ffd592be5cd2e.zip
Pass width instead of x+width to ab_draw_markers()/cue_draw_markers() and don't recalculate the width in these functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25053 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/wpseditor/libwps/src')
-rw-r--r--utils/wpseditor/libwps/src/dummies.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/wpseditor/libwps/src/dummies.c b/utils/wpseditor/libwps/src/dummies.c
index 96c30ee1b3..faeba63ea7 100644
--- a/utils/wpseditor/libwps/src/dummies.c
+++ b/utils/wpseditor/libwps/src/dummies.c
@@ -194,7 +194,7 @@ bool curr_cuesheet_skip(int direction, unsigned long curr_pos){return false;}
194#ifdef HAVE_LCD_BITMAP 194#ifdef HAVE_LCD_BITMAP
195/* draw track markers on the progressbar */ 195/* draw track markers on the progressbar */
196void cue_draw_markers(struct screen *screen, unsigned long tracklen, 196void cue_draw_markers(struct screen *screen, unsigned long tracklen,
197int x1, int x2, int y, int h){} 197int x, int y, int w, int h){}
198#endif 198#endif
199 199
200#ifdef HAVE_ALBUMART 200#ifdef HAVE_ALBUMART
@@ -383,7 +383,7 @@ long default_event_handler(long event)
383} 383}
384 384
385void ab_draw_markers(struct screen * screen, int capacity, 385void ab_draw_markers(struct screen * screen, int capacity,
386 int x0, int x1, int y, int h) 386 int x, int y, int w, int h)
387 { 387 {
388 } 388 }
389void pcmbuf_beep(unsigned int frequency, size_t duration, int amplitude){} 389void pcmbuf_beep(unsigned int frequency, size_t duration, int amplitude){}