<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>
    <outline>yes</outline>
  </font>

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

  <font name="channelfont">
    <color>255</color>
    <size>50</size>
    <outline>yes</outline>
  </font>

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

  <container name="channel_number">
    <textarea name="channum" align="right">
        <area>440,30,160,90</area>
        <font>channelfont</font>
    </textarea>
  </container>

  <container name="program_info">
    <image name="background">
        <filename>osd-big.png</filename>
        <position>30,260</position>
    </image>
    <textarea name="title">
        <area>212,274,290,27</area>
        <font>infofont</font>
    </textarea>
    <textarea name="description"> <!-- since there's no 'subtitle' present,
                                       this will be a combined description
                                       and subtitle -->
        <multiline>yes</multiline>
        <area>44,324,555,122</area>
        <font>infofont</font>
        <value>%SUBTITLE%%BR%%DESCRIPTION%</value>
    </textarea>
    <image name="channelicon"> <!-- set internally, doesn't need a filename -->
        <position>37,268</position>
        <staticsize>36,36</staticsize> <!-- resize the image to these dimensions -->
    </image>
    <image name="coverart">
        <position>37,37</position>
        <staticsize>40,80</staticsize>
    </image>
    <textarea name="callsign">
        <area>78,274,112,27</area>
        <font>infofont</font>
    </textarea>
    <textarea name="time">
        <area>538,274,60,27</area>
        <font>infofont</font>
    </textarea>
    <textarea name="channum" align="right">
        <area>440,30,160,90</area>
        <font>channelfont</font>
    </textarea>
 <!-- just some examples.  The textarea is displaying a static message.
      Possible values for align are 'right' and 'center'.  Leaving align
      off entirely will just left justify things.
    <box name="testbox">
        <area>50,50,300,100</area>
    </box>
    <textarea name="test" align="right">
        <area>50,50,300,100</area>
        <font>infofontgray</font>
        <value>Blah blah blah</value>
    </textarea>
  -->
  </container>

  <container name="program_info_video">
    <image name="background">
        <filename>osd-big.png</filename>
        <position>30,260</position>
    </image>
    <textarea name="title">
        <area>212,274,290,27</area>
        <font>infofont</font>
    </textarea>
    <textarea name="description"> 
        <multiline>yes</multiline>
        <area>44,324,555,122</area>
        <font>infofont</font>
        <value>%DESCRIPTION%</value>
    </textarea>

    <textarea name="year">
        <area>44,274,112,27</area>
        <font>infofont</font>
        <value>%STARTDATE%</value>
    </textarea> 
<!--    <image name="coverart">
        <position>5,255</position>
        <staticsize>100,147</staticsize>
    </image>
-->
    <textarea name="time">
        <area>538,274,60,27</area>
        <font>infofont</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-browse.png</filename>
        <position>30,35</position>
    </image>
    <textarea name="title">
        <area>212,49,290,27</area>
        <font>infofont</font>
    </textarea>
    <textarea name="description">
        <multiline>yes</multiline>
        <area>44,99,555,122</area>
        <font>infofont</font>
        <value>%DESCRIPTION%%BR%(%STARTTIME% - %LENMINS%)</value>
    </textarea>
    <image name="channelicon">
        <position>37,43</position>
        <staticsize>36,36</staticsize>
    </image>
    <textarea name="callsign">
        <area>78,49,112,27</area>
        <font>infofont</font>
        <value>%CALLSIGN% - %CHANNUM%</value>
    </textarea>
    <textarea name="time">
        <area>538,49,60,27</area>
        <font>infofont</font>
    </textarea>
  </container>

  <container name="status" priority="10" fademovement="0,6">
    <image name="background">
        <filename>osd-small.png</filename>
        <position>30,372</position>
    </image>
    <textarea name="status">
        <area>205,386,140,27</area>
        <font>infofont</font>
    </textarea>
    <slider name="statusslider" type="fill">
        <area>342,426,258,20</area>
        <filename>fill-blue.png</filename>
    </slider>
    <textarea name="slidertext">
        <area>44,426,280,26</area>
        <font>infofont</font>
    </textarea>
  </container>

  <container name="editmode">
    <slider name="editslider" type="edit">
        <area>40,405,560,22</area>
        <filename>fill-blue.png</filename>
        <altfilename>red.png</altfilename>
    </slider>
    <slider name="editposition" type="position">
        <area>40,396,560,40</area>
        <filename>position-indicator.png</filename>
    </slider>
    <editarrow name="left">
        <filename>cut-end.png</filename>
        <area>40,404,560,24</area>
    </editarrow>
    <editarrow name="right">
        <filename>cut-start.png</filename>
        <area>40,404,560,24</area>
    </editarrow>
    <textarea name="timedisplay" align="right">
        <area>255,30,330,30</area>
        <font>settings</font>
    </textarea>
    <textarea name="cutindicator">
        <area>55,30,100,30</area>
        <font>settings</font>
    </textarea>
    <textarea name="seekamount" align="right">
        <area>185,370,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,360</area>
    </box>
    <textarea name="message">
        <area>85,65,470,220</area>
        <font>infofont</font>
        <multiline>yes</multiline>
    </textarea>
    <textarea name="option1">
        <area>85,270,470,30</area>
        <font>infofont</font>
        <altfont>infofontgray</altfont>
    </textarea>
    <textarea name="option2">
        <area>85,300,470,30</area>
        <font>infofont</font>
        <altfont>infofontgray</altfont>
    </textarea>
    <textarea name="option3">
        <area>85,330,470,30</area>
        <font>infofont</font>
        <altfont>infofontgray</altfont>
    </textarea>
    <textarea name="option4">
        <area>85,360,470,30</area>
        <font>infofont</font>
        <altfont>infofontgray</altfont>
    </textarea>
    <textarea name="option5">
        <area>85,390,470,30</area>
        <font>infofont</font>
        <altfont>infofontgray</altfont>
    </textarea>
    <positionrects name="selector"> <!-- draws a white rectangle at these
                                         coords indicating the current
                                         selection -->
        <area>80,266,480,30</area>
        <area>80,296,480,30</area>
        <area>80,326,480,30</area>
        <area>80,356,480,30</area>
        <area>80,386,480,30</area>
    </positionrects>
<!-- Alternatively, this form will show an image (instead of the drawn white
     rectangle) at the given positions to indicate the current selection
    <positionimage name="selector">
        <filename>cut-start.png</filename>
        <position>60,296</position>
        <position>60,326</position>
        <position>60,356</position>
        <position>60,386</position>
    </positionimage>
-->
  </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="news_scroller" priority="20">
    <box name="background">
        <area>0,414,640,40</area>
    </box>
    <textarea name="text_scroll">
        <area>0,420,640,40</area>
        <font>settings</font>
        <scroller>yes</scroller>
        <scrollmovement>-3,0</scrollmovement> <!-- only x movement for now -->
    </textarea>
  </container>

</mythosdtheme>
