[mythtv] Changing highlight/button-on settings in themes
R. G. Newbury
newbury at mandamus.org
Fri Feb 19 22:10:47 UTC 2010
On 02/19/2010 01:10 PM, Paul Harrison wrote:
> 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?
> 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
Thank you Paul. That was what I needed. I had looked at the wiki. It
notes that it is a 'comprehensive guide'....which means, as usual,that
you have to have read most of the first 22 sections to understand the
second subsection of part 2!.
Now to play with the colors. Any suggestions for the easist program to
match colors to hex color values? Blender? Gimp? I used gthumb to mess
with the hue of button-on.png but that doesn't give hex values.
And a follow-on: then why the discrete button png files in ../ui? Why
not use a buttonlist variant? Just curious, if you know.
Tux says: "Be regular. Eat cron flakes."
More information about the mythtv-dev