dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: FS#12321 - Touchscreen: List line padding, to more easily select lines

Re: FS#12321 - Touchscreen: List line padding, to more easily select lines

From: Jonathan Gordon <>
Date: Sun, 9 Oct 2011 18:38:25 +1100

30min of fiddling around, attached is the screenshot from the e200 sim
and the patch to do it, notice there is no code needed anywhere
outside of the skin engine (infact its only done there because that
pulls in the generated .sbs if none is specified). No actual code
needs changing.

Notes about the screenshot:
* I'm not sure why the images arent being displayed, that might be a
skin engine bug, more likely PEBCAK.
* Gradient isnt completly setup in that example

Now, I haven't seen screenshots from kugels patch, but if it colours
the whole line instead of just the text, then that can be fixed with
minor changes to the skin engine (wanted to do that anyway). Though it
requires the lcd driver get a draw more which is "use the current
pixels for the transparent pixels instead of the backdrop image) which
IIUC amiconn has mentioned he wants to add for a while now. If kugels
patch is the same as that screenshot then the above is still something
which should be done :) (hardly a reason to not go by this
implementation anyway).

With a bit more fiddling this could be *easily* extended to *any*
skinned list theme by just fiddling with the Lb() tag.


(image/png attachment: Screenshot-Sansa_e200.png)

Received on 2011-10-09

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy