diff options
| author | Teruaki Kawashima <teru@rockbox.org> | 2010-03-07 12:51:23 +0000 |
|---|---|---|
| committer | Teruaki Kawashima <teru@rockbox.org> | 2010-03-07 12:51:23 +0000 |
| commit | f50885534ec6fa78c2c89e275c5ffd592be5cd2e (patch) | |
| tree | b60a7d0f7a1c5124cddedeac585c0bb1c1a11d4f /utils/wpseditor | |
| parent | 1e9789879ff620c78b594801bf37abc256bdcc2b (diff) | |
| download | rockbox-f50885534ec6fa78c2c89e275c5ffd592be5cd2e.zip rockbox-f50885534ec6fa78c2c89e275c5ffd592be5cd2e.tar.gz rockbox-f50885534ec6fa78c2c89e275c5ffd592be5cd2e.tar.bz2 rockbox-f50885534ec6fa78c2c89e275c5ffd592be5cd2e.tar.xz | |
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')
| -rw-r--r-- | utils/wpseditor/libwps/src/dummies.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/wpseditor/libwps/src/dummies.c b/utils/wpseditor/libwps/src/dummies.c index 96c30ee..faeba63 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;} #ifdef HAVE_LCD_BITMAP /* draw track markers on the progressbar */ void cue_draw_markers(struct screen *screen, unsigned long tracklen, -int x1, int x2, int y, int h){} +int x, int y, int w, int h){} #endif #ifdef HAVE_ALBUMART @@ -383,7 +383,7 @@ long default_event_handler(long event) } void ab_draw_markers(struct screen * screen, int capacity, - int x0, int x1, int y, int h) + int x, int y, int w, int h) { } void pcmbuf_beep(unsigned int frequency, size_t duration, int amplitude){} |