[mythtv] [PATCH] extend <genericbutton> to add <activetext> tag

Simon Kenyon simon at koala.ie
Sat Oct 11 21:13:00 EDT 2003


see attached patch
it allows you to specifiy the attributes of text on active buttons

the syntax in theme.xml is:

<genericbutton>
  <normal>normal.png</normal>
  <active>active.png</active>
  <text>
    [lots of tags to specifiy font, position etc]
  </text>
  <activetext>
    [same stuff as text, but for the active button]
  </activetext>
</genericbutton>

the code is changes to themedmenu.{h,cpp} and has had a reasonable
amount of testing. it could probably do with some more

i was presumptious enough to update the AUTHORS file. if you don' feel
the contribution is worthy enough, remove that change

hope this is of interest to people
--
simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: genericbutton.diff
Type: text/x-diff
Size: 16797 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20031011/ec5b786e/genericbutton.bin


More information about the mythtv-dev mailing list