[mythtv] Changing highlight/button-on settings in themes

Paul Harrison mythtv at sky.com
Fri Feb 19 18:10:16 UTC 2010


R. G. Newbury wrote:
> I am using trunk with MythCenter-wide. In various places the selected
> item is highlighted with a green overlay, which makes things hard to
> read. In particular, in Watch Recordings (right hand column), and in
> most of the Program Finder pages (and Program Listings subpages).
>
> Meanwhile the left column in Watch Recordings is highlighted
> (bright/bold). I would like this behaviour: makes it easier to read
> from the sofa!
>
> I found button-on.png in mythtv/themes/MythCenter-wide/ui
> But button-on.png appears to be used as an overlay ONLY on the main
> menu pages.
>
> I cannot find how/where the active/selected/has-focus item
> characteristics are set.
>
> Can someone please point me to the correct place?
>
> Geoff
>
>

I'm not to fond of the selectbar myself but it is growing on me :-) I do
hate the bold fonts everywhere though.

Anyway thanks to mythui and the way it uses inheritance fixing things to
the way you want is pretty easy once you know where to look. Most of the
lists inherit from "basebuttonlist2" which is defined in
MythCenter-wide/base.xml. The shape that is used as the highlight is
called "selectbar" so try a editing that until you find something you like.

There's a lot of info in the wiki to help with theming stuff like this. 
http://www.mythtv.org/wiki/MythUI_Theme_Development is a good place to
start.

Paul H.


More information about the mythtv-dev mailing list