This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8135 - Add xoffset parameter to %s (left scroll-margin)
Attached to Project:
Rockbox
Opened by Dave Chapman (linuxstb) - Sunday, 11 November 2007, 18:59 GMT+2
Last edited by Dave Chapman (linuxstb) - Monday, 12 November 2007, 22:34 GMT+2
Opened by Dave Chapman (linuxstb) - Sunday, 11 November 2007, 18:59 GMT+2
Last edited by Dave Chapman (linuxstb) - Monday, 12 November 2007, 22:34 GMT+2
|
DetailsThe attached patch adds an optional parameter to the %s tag to specify the left scroll margin - e.g. %s|100|
This is implemented without changing the LCD drivers - it makes use of the existing ability to set a left margin in scrolling lines. I'm hoping this patch can be committed to enable people to design album-art WPSs that can work with official Rockbox builds - album art isn't very usable without it. It's partly based on the existing scrollmargins patch, but removes all the parts related to the right margin, which causes the most intrusion into the rest of Rockbox - this patch only modifies the WPS code. |
This task depends upon
Closed by Dave Chapman (linuxstb)
Monday, 12 November 2007, 22:34 GMT+2
Reason for closing: Accepted
Monday, 12 November 2007, 22:34 GMT+2
Reason for closing: Accepted
I'm all for committing this. If the lcd setmargin() function is going to be removed with Viewports, then removing this code shouldn't be significant anyway, as it looks like a fairly small patch. And if it doesn't get removed then this patch would stay useful.
I'm all for anything that would motivate more people to create album art themes.