FS#4999 - Peakmeter scaling dots does not respect x-offset in peak_meter_draw

Attached to Project: Rockbox
Opened by Matthias Mohr (aka Massa) (mmohr) - Sunday, 02 April 2006, 17:13 GMT
Task Type Bugs
Category Themes
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Low
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


when the function peak_meter_draw will be used with the x-offset > 0,
the scaling dots (which are visible between the left and right peakbar)
don't take respect of the given x offset, their offset is always 0.

It's not noticeable in the normal CVS usage (because the function will
currently always be called with an offset of 0)
but it is noticeable e.g. for my peakmeter margins patch ;)
This task depends upon

Closed by  Linus Nielsen Feltzing (linusnielsen)
Monday, 03 April 2006, 08:20 GMT
Reason for closing:  Accepted
Additional comments about closing:  Thanks!
Comment by Matthias Mohr (aka Massa) (mmohr) - Sunday, 02 April 2006, 17:14 GMT
Here is the one line fix for that problem...
Comment by fabrice dussapt (gaston) - Sunday, 02 April 2006, 18:16 GMT
can you make a single patch with this file (i'm not a developer at all, i don't have compiling tools) ?

other question: could the peakmeter bars be vertical instead of horizontal ?