Ticket #4501: browse_tuners_theme_example.patch

File browse_tuners_theme_example.patch, 1.4 KB (added by Ron Frazier <ron@…>, 12 years ago)

example of how to implement in a theme

  • themes/blueosd/osd.xml

     
    1818    <outline>yes</outline>
    1919  </font>
    2020
     21  <font name="infofont_red">
     22    <color normal="#CC0000">255</color>
     23    <size>16</size>
     24    <size:small>14</size:small>
     25    <outline>yes</outline>
     26  </font>
     27
     28  <font name="infofont_yellow">
     29    <color normal="#CCCC00">255</color>
     30    <size>16</size>
     31    <size:small>14</size:small>
     32    <outline>yes</outline>
     33  </font>
     34
     35  <font name="infofont_green">
     36    <color normal="#00CC00">255</color>
     37    <size>16</size>
     38    <size:small>14</size:small>
     39    <outline>yes</outline>
     40  </font>
     41
    2142  <font name="infofontgray">
    2243    <color>128</color>
    2344    <size>16</size>
     
    166187    <textarea name="title">
    167188      <area>40,398,440,27</area>
    168189      <font>infofont</font>
    169       <value>%TITLE% (%STARTTIME% %LENMINS%)</value>
     190      <value>%NOTUNER|| - %%TITLE% (%STARTTIME% %LENMINS%)%TUNER| - %</value>
     191      <fcnfont name="infofont_red" group="tuner" function="unavailable"></fcnfont>
     192      <fcnfont name="infofont_yellow" group="tuner" function="available"></fcnfont>
     193      <fcnfont name="infofont_green" group="tuner" function="current"></fcnfont>
    170194    </textarea>
    171195    <textarea name="description">
    172196      <multiline>no</multiline>