<mythosdtheme>

  <!-- if timeformat is set to 'FROMSETTINGS', it will use the time format
       specified in the general mythtv settings -->
  <timeformat>FROMSETTINGS</timeformat>
  <fadeaway>30</fadeaway>

  <font name="notifyfont">
    <color>255</color>
    <size>12</size>
    <outline>yes</outline>
  </font>

  <font name="infofont">
    <color>255</color>
    <size>16</size>
    <size:small>14</size:small>
    <outline>yes</outline>
  </font>

  <font name="infofontgray">
    <color>128</color>
    <size>16</size>
    <size:small>14</size:small>
  </font>

  <font name="channelfont">
    <color>255</color>
    <size>50</size>
    <size:small>30</size:small>
    <outline>yes</outline>
    <shadow>5,5</shadow>
  </font>

  <font name="timefont">
    <color>255</color>
    <size>40</size>
    <size:small>22</size:small>
    <outline>yes</outline>
    <shadow>5,5</shadow>
  </font>

  <font name="settings">
    <color>255</color>
    <size>24</size>
    <size:small>18</size:small>
    <outline>yes</outline>
  </font>

  <container name="channel_number">
    <textarea name="channum">
        <area>90,20,160,90</area>
        <font>channelfont</font>
    </textarea>
  </container>

  <container name="program_info">
    <image name="background">
        <filename>osd-mid.png</filename>
        <position>0,360</position>
    </image>
    <textarea name="title">
        <area>40,398,440,27</area>
        <font>infofont</font>
    </textarea>
    <textarea name="description">
        <multiline>no</multiline>
        <area>45,423,560,27</area>
        <font>infofont</font>
<!--
        <value>%DESCRIPTION% (%LENMINS%)</value>
-->
    </textarea>
    <textarea name="callsign" align="center">
        <area>20,368,142,27</area>
        <font>infofont</font>
    </textarea>

    <image name="channelicon"> <!-- set internally, doesn't need a filename -->
        <position>20,20</position>
        <staticsize>64,64</staticsize> <!-- resize the image to these dimensions -->
    </image>
    <image name="coverart">
        <position>20,20</position>
        <staticsize>64,128</staticsize>
    </image>
    <textarea name="time">
        <area>365,25,240,90</area>
        <font>timefont</font>
        </textarea>
    <textarea name="channum">
        <area>90,20,160,90</area>
        <font>channelfont</font>
    </textarea>
  </container>

  <container name="program_info_video">
    <image name="background">
        <filename>osd-mid.png</filename>
        <position>0,360</position>
    </image>
    <textarea name="title">
        <area>40,398,440,27</area>
        <font>infofont</font>
    </textarea>
    <textarea name="description">
        <multiline>no</multiline>
        <area>45,423,560,27</area>
        <font>infofont</font>
        <value>%DESCRIPTION%</value>
    </textarea>

    <textarea name="year">
        <area>20,368,142,27</area>
        <font>infofont</font>
        <value>%STARTDATE%</value>
    </textarea> 
    <image name="coverart">
        <position>20,20</position>
        <staticsize>64,94</staticsize>
    </image>

    <textarea name="time">
        <area>365,25,240,90</area>
        <font>timefont</font>
    </textarea>
  </container>

  <container name="channel_editor">
    <image name="background">
        <filename>osd-channel-edit.png</filename>
        <position>102,99</position>
    </image>
    <textarea name="dialog_label" align="center">
        <area>105,106,450,40</area>
        <font>infofont</font>
        <value>Channel Editor</value>
    </textarea>
    <textarea name="callsign_label" align="right">
        <area>120,151,155,40</area>
        <font>infofont</font>
        <value>Callsign</value>
    </textarea>
    <textarea name="callsign" entry="0">
        <area>310,151,220,40</area>
        <font>infofontgray</font>
        <altfont>infofont</altfont>
        <value></value>
    </textarea>
    <textarea name="channum_label" align="right">
        <area>120,200,155,40</area>
        <font>infofont</font>
        <value>Channel #</value>
    </textarea>
    <textarea name="channum" entry="1">
        <area>310,200,220,40</area>
        <font>infofontgray</font>
        <altfont>infofont</altfont>
        <value></value>
    </textarea>
    <textarea name="channame_label" align="right">
        <area>120,246,155,40</area>
        <font>infofont</font>
        <value>Channel Name</value>
    </textarea>
    <textarea name="channame" entry="2">
        <area>310,246,220,40</area>
        <font>infofontgray</font>
        <altfont>infofont</altfont>
        <value></value>
    </textarea>
    <textarea name="XMLTV_label" align="right">
        <area>120,295,155,40</area>
        <font>infofont</font>
        <value>XMLTV ID</value>
    </textarea>
    <textarea name="XMLTV" entry="3">
        <area>310,295,220,40</area>
        <font>infofontgray</font>
        <altfont>infofont</altfont>
        <value></value>
    </textarea>
    <textarea name="probe_all" entry="4" button="yes" align="center">
        <area>120,342,185,40</area>
        <font>infofontgray</font>
        <altfont>infofont</altfont>
        <value>[P]robe</value>
    </textarea>
    <textarea name="ok" entry="5" button="yes" align="center">
        <area>330,342,185,40</area>
        <font>infofontgray</font>
        <altfont>infofont</altfont>
        <value>[O]k</value>
    </textarea>
  </container>

  <container name="browse_info">
    <image name="background">
        <filename>osd-mid.png</filename>
        <position>0,360</position>
    </image>
    <textarea name="title">
        <area>40,398,440,27</area>
        <font>infofont</font>
        <value>%TITLE% (%STARTTIME% %LENMINS%)</value>
    </textarea>
    <textarea name="description">
        <multiline>no</multiline>
        <area>45,423,560,27</area>
        <font>infofont</font>
    </textarea>
    <textarea name="callsign" align="center">
        <area>20,368,142,27</area>
        <font>infofont</font>
        <value>%CALLSIGN% - %CHANNUM%</value>
    </textarea>
    <image name="channelicon">
        <position>20,20</position>
        <staticsize>64,64</staticsize>
    </image>
    <textarea name="time">
        <area>365,25,240,90</area>
        <font>timefont</font>
        </textarea>
  </container>

  <container name="status" priority="10" fademovement="0,6">
    <image name="background">
        <filename>osd-small.png</filename>
        <position>0,20</position>
    </image>
    <textarea name="status">
        <area>410,30,200,27</area>
        <font>infofont</font>
    </textarea>
    <slider name="statusslider" type="fill">
        <area>410,80,200,20</area>
        <filename>fill-blue.png</filename>
    </slider>
    <textarea name="slidertext">
        <area>410,55,200,45</area>
        <font>infofont</font>
        <multiline>yes</multiline>
    </textarea>
  </container>

  <container name="notify_cid_info" priority="10" fademovement="0,6">
    <image name="background">
        <filename>osd-callerid.png</filename>
        <position>0,200</position>
    </image>
    <textarea name="notify_cid_name">
        <area>410,210,200,30</area>
        <font>notifyfont</font>
        <multiline>no</multiline>
    </textarea>
    <textarea name="notify_cid_num">
        <area>410,240,200,30</area>
        <font>notifyfont</font>
        <multiline>no</multiline>
    </textarea>
    <textarea name="notify_cid_dt">
        <area>410,270,200,30</area>
        <font>notifyfont</font>
        <multiline>no</multiline>
    </textarea>
  </container>

  <container name="notify_alert_text" priority="10" fademovement="0,6">
    <image name="background">
        <filename>osd-alert.png</filename>
        <position>15,15</position>
    </image>
    <textarea name="notify_text">
        <area>15,15,600,130</area>
        <font>notifyfont</font>
        <multiline>yes</multiline>
    </textarea>
  </container>

  <container name="editmode">
    <slider name="editslider" type="edit">
        <area>25,425,590,22</area>
        <filename>fill-blue.png</filename>
        <altfilename>red.png</altfilename>
    </slider>
    <slider name="editposition" type="position">
        <area>25,416,590,40</area>
        <filename>position-indicator.png</filename>
    </slider>
    <editarrow name="left">
        <filename>cut-end.png</filename>
        <area>25,424,590,24</area>
    </editarrow>
    <editarrow name="right">
        <filename>cut-start.png</filename>
        <area>25,424,590,24</area>
    </editarrow>
    <textarea name="timedisplay" align="right">
        <area>270,30,330,30</area>
        <font>settings</font>
    </textarea>
    <textarea name="cutindicator">
        <area>40,30,100,30</area>
        <font>settings</font>
    </textarea>
    <textarea name="seekamount" align="right">
        <area>200,390,400,30</area>
        <font>infofont</font>
    </textarea>
  </container>

  <container name="settings">
    <textarea name="settings">
        <area>50,50,350,32</area>
        <font>settings</font>
    </textarea>
  </container>

  <container name="basedialog" priority="0"> <!-- must be named this -->
    <box name="background">
        <area>80,60,480,420</area>
    </box>
    <textarea name="message">
        <area>85,65,470,220</area>
        <font>infofont</font>
        <multiline>yes</multiline>
    </textarea>
    <textarea name="option1">
        <area>85,300,470,30</area>
        <font>infofont</font>
        <altfont>infofontgray</altfont>
    </textarea>
    <textarea name="option2">
        <area>85,330,470,30</area>
        <font>infofont</font>
        <altfont>infofontgray</altfont>
    </textarea>
    <textarea name="option3">
        <area>85,360,470,30</area>
        <font>infofont</font>
        <altfont>infofontgray</altfont>
    </textarea>
    <textarea name="option4">
        <area>85,390,470,30</area>
        <font>infofont</font>
        <altfont>infofontgray</altfont>
    </textarea>
    <textarea name="option5">
        <area>85,420,470,30</area>
        <font>infofont</font>
        <altfont>infofontgray</altfont>
    </textarea>
    <positionrects name="selector">
        <area>80,296,480,30</area>
        <area>80,326,480,30</area>
        <area>80,356,480,30</area>
        <area>80,386,480,30</area>
        <area>80,416,480,30</area>
    </positionrects>
  </container>

  <container name="news_scroller" priority="20">
    <box name="background">
        <area>0,434,640,40</area>
    </box>
    <textarea name="text_scroll">
        <area>0,440,640,40</area>
        <font>settings</font>
        <scroller>yes</scroller>
        <scrollmovement>-3,0</scrollmovement> <!-- only x movement for now -->
    </textarea>
  </container>

  <container name="menu">
    <listtreemenu name="menu">
        <area>20,40,620,300</area>
        <listsize>0,0,274,260</listsize>
        <leveloffset>10</leveloffset>
        <gradient type="unselected" start="#505050" end="#000000" alpha="100">
        </gradient>
        <gradient type="selected" start="#52CA38" end="#349838" alpha="255">
        </gradient>
        <fcnfont name="infofont" function="active"></fcnfont>
        <fcnfont name="infofontgray" function="inactive"></fcnfont>
    </listtreemenu>
  </container>
   

</mythosdtheme>
