Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
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 <jdgordy_at_gmail.com>
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.

Jonathan

Screenshot-Sansa_e200.png
Received on 2011-10-09

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa