<mythosdtheme>
  <timeformat>FROMSETTINGS</timeformat>
  <fadeaway>45</fadeaway>

  <font name="titlefont" face="Arial">
    <color>255</color>
    <size>19</size>
    <size:small>13</size:small>
    <size:big>21</size:big>
    <shadow>3,3</shadow>
  </font>


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

  <font name="smallinfofont" face="Arial">
    <color>255</color>
    <size>13</size>
    <size:small>12</size:small>
    <size:big>15</size:big>
    <outline>yes</outline>
  </font>

  <font name="kindasmallinfofont" face="Arial">
    <color>255</color>
    <size>14</size>
    <size:small>12</size:small>
    <size:big>16</size:big>
    <shadow>1,1</shadow>
  </font>


  <font name="infofontnool" face="Arial">
    <color>255</color>
    <size>14</size>
    <size:small>12</size:small>
    <size:big>16</size:big>
    <outline>no</outline>
  </font>

  <font name="infofontblack" face="Arial">
    <color>0</color>
    <size>14</size>
    <size:small>12</size:small>
    <size:big>16</size:big>
    <outline>no</outline>
  </font>

  <font name="infofont2" face="Arial">
    <color>255</color>
    <size>15</size>
    <size:small>14</size:small>
    <size:big>16</size:big>
    <shadow>1,1</shadow>
  </font>

  <font name="largeinfofont" face="Arial">
    <color>255</color>
    <size>20</size>
    <size:small>18</size:small>
    <size:big>22</size:big>
    <shadow>3,3</shadow>
  </font>


  <font name="mediuminfofont" face="Arial">
    <color>255</color>
    <size>17</size>
    <size:small>15</size:small>
    <size:big>19</size:big>
    <outline>yes</outline>
  </font>

  <font name="infofontgray" face="Arial">
    <color>200</color>
    <size>14</size>
    <size:small>12</size:small>
    <size:big>16</size:big>
    <shadow>1,1</shadow>
  </font>

  <font name="infofontgrayol"  face="Arial">
    <color>128</color>
    <size>14</size>
    <size:small>12</size:small>
    <size:big>17</size:big>
    <outline>yes</outline>
  </font>

  <font name="channelfont"  face="Arial">
    <color normal="#00FF00">255</color>
    <size>28</size>
    <size:small>20</size:small>
    <size:big>30</size:big>
    <outline>yes</outline>
  </font>

  <font name="settings" face="Arial">
    <color>255</color>
    <size>18</size>
    <size:small>16</size:small>
    <size:big>20</size:big>
    <outline>yes</outline>
  </font>

  <font name="position" face="Arial">
    <color>255</color>
    <size>12</size>
    <size:small>10</size:small>
    <size:big>14</size:big>
    <outline>yes</outline>
  </font>

  <font name="position2" face="Arial">
    <color>255</color>
    <size>16</size>
    <outline>yes</outline>
  </font>

  <font name="notifyfont" face="Arial">
    <color>255</color>
    <size>13</size>
    <size:small>12</size:small>
    <size:big>15</size:big>
    <outline>yes</outline>
  </font>


  <container name="program_info" fademovement="0,-6">
    <image name="background">
      <filename>osd-big.png</filename>
      <position>15,20</position>
    </image>
    <textarea name="title">
      <area>70,26,450,27</area>
      <font>titlefont</font>
    </textarea>
    <textarea name="subtitle">
      <area>70,50,435,27</area>
      <font>smallinfofont</font>
    </textarea>
    <textarea name="description">
      <multiline>yes</multiline>
      <area>37,106,576,110</area>
      <font>infofont2</font>
      <value>%LONGREPEAT%%STARS%%DESCRIPTION%</value>
      <linespacing>1.5</linespacing>
    </textarea>

     <!-- here to see which one I like better -->
     <textarea name="length">
	 <multiline>no</multiline>
	 <area>25,71,350,30</area>
	 <font>smallinfofont</font>
       <value>%STARTTIME%-%ENDTIME% (%LENMINS%)</value>
      </textarea>

    <image name="channelicon"> <!-- set internally, doesn't need a filename -->
      <position>25,26</position>
      <staticsize>25,25</staticsize> <!-- resize the image to these dimensions -->
    </image>
    <textarea name="channum" align="center">
       <area>526,30,90,30</area>
       <font>channelfont</font>
    </textarea>
    <textarea name="callsign" align="center">
       <area>520,70,100,30</area>
       <font>mediuminfofont</font>
    </textarea>
    <textarea name="time" align="right">
       <area>335,70,120,30</area>
       <font>mediuminfofont</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" fademovement="0,-6">
    <image name="background">
      <filename>osd-big.png</filename>
      <position>15,20</position>
    </image>
       <textarea name="browsing">
          <area>480,230,200,200</area>
          <font>largeinfofont</font>
         <value>Browsing</value>
     </textarea>
     <textarea name="title">
      <area>70,26,450,27</area>
      <font>titlefont</font>
    </textarea>
    <textarea name="subtitle">
      <area>70,50,435,27</area>
      <font>smallinfofont</font>
    </textarea>

    <textarea name="length">
      <multiline>yes</multiline>
      <area>25,71,350,30</area>
      <font>smallinfofont</font>
      <value>%STARTTIME%-%ENDTIME% (%LENMINS%)</value>
    </textarea>

    <textarea name="description">
      <multiline>yes</multiline>
      <area>37,106,576,110</area>
      <font>infofont2</font>
      <value>%LONGREPEAT%%STARS%%DESCRIPTION%</value>
      <linespacing>1.5</linespacing>
    </textarea>

        <image name="channelicon"> <!-- set internally, doesn't need a filename -->
      <position>25,26</position>
      <staticsize>25,25</staticsize> <!-- resize the image to these dimensions -->
    </image>
    
    <textarea name="channel" align="center">
       <area>526,30,90,30</area>
       <font>channelfont</font>
       <value>%CHANNUM%</value>
    </textarea>
   
    <textarea name="callsign" align="center">
       <area>520,70,100,30</area>
       <font>mediuminfofont</font>
    </textarea>
    <textarea name="time" align="right">
       <area>335,70,120,30</area>
       <font>mediuminfofont</font>
    </textarea>
  </container>

  <container name="status" priority="10" fademovement="0,-6">
    <image name="background">
      <filename>osd-small.png</filename>
      <position>20,360</position>
    </image>
    <textarea name="status" align="left">
      <area>35,375,300,100</area>
      <font>largeinfofont</font>
    </textarea>
    <slider name="statusslider" type="fill">
      <area>60,425,442,22</area>
      <filename>fill-blue.png</filename>
    </slider>
    <textarea name="slidertext" align="center">
      <area>355,368,250,65</area>
      <font>position2</font>
    </textarea>
  </container>

  <container name="editmode">
    <image name="background">
      <filename>edit_background.png</filename>
      <position>31,325</position>
    </image>
    <slider name="editslider" type="edit">
      <area>160,407,410,22</area>
      <filename>fill-blue.png</filename>
      <altfilename>red.png</altfilename>
    </slider>
    <slider name="editposition" type="position">
      <area>160,402,410,36</area>
      <filename>position-indicator.png</filename>
    </slider>
    <textarea name="timedisplay" align="center">
      <area>337,358,350,30</area>
      <font>position2</font>
    </textarea>
    <textarea name="cutindicator" align="left">
      <area>58,402,100,30</area>
      <font>position</font>
    </textarea>
    <textarea name="seekamount" align="left">
      <area>40,430,200,30</area>
      <font>infofont</font>
    </textarea>
    <editarrow name="left">
      <filename>cut-end.png</filename>
      <area>160,405,410,26</area>
    </editarrow>
    <editarrow name="right">
      <filename>cut-start.png</filename>
      <area>160,405,410,26</area>
    </editarrow>
  </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 -->
    <image name="background">
      <filename>popup.png</filename>
      <position>0,0</position>
    </image>
    <!-- Uncomment to mask out background	  
    <box name="background">
      <area>80,60,480,360</area>
    </box>
    -->
    <textarea name="message">
      <area>85,110,470,253</area>
      <font>mediuminfofont</font>
      <multiline>yes</multiline>
    </textarea>
    <textarea name="option1">
      <area>110,223,470,30</area>
      <font>infofont2</font>
      <altfont>infofontgray</altfont>
    </textarea>
    <textarea name="option2">
      <area>110,253,470,30</area>
      <font>infofont2</font>
      <altfont>infofontgray</altfont>
    </textarea>
    <textarea name="option3">
      <area>110,283,470,30</area>
      <font>infofont2</font>
      <altfont>infofontgray</altfont>
    </textarea>
    <textarea name="option4">
      <area>110,313,470,30</area>
      <font>infofont2</font>
      <altfont>infofontgray</altfont>
    </textarea>
    <textarea name="option5">
      <area>110,343,470,30</area>
      <font>infofont2</font>
      <altfont>infofontgray</altfont>
    </textarea>

    <positionrects name="selector"> <!-- draws a white rectangle at these 
                                         coords indicating the current 
                                         selection -->
      <area>105,216,460,30</area>
      <area>105,246,460,30</area>
      <area>105,276,460,30</area>
      <area>105,306,460,30</area>
      <area>105,336,460,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>20,200</position>
    </image>
    <textarea name="notify_cid_name">
      <area>45,208,285,30</area>
      <font>notifyfont</font>
      <multiline>no</multiline>
    </textarea>
    <textarea name="notify_cid_num">
      <area>45,235,250,30</area>
      <font>notifyfont</font>
      <multiline>no</multiline>
    </textarea>
    <textarea name="notify_cid_dt">
      <area>45,262,285,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>8,10</position>
    </image>

    <textarea name="notify_text">
      <area>20,17,590,80</area>
      <font>notifyfont</font>
      <multiline>yes</multiline>
    </textarea>
  </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>40,50,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="#5238CA" end="#343898" alpha="255">
      </gradient>
      <fcnfont name="infofont" function="active"></fcnfont>
      <fcnfont name="infofontgray" function="inactive"></fcnfont>
    </listtreemenu>
  </container>


<!--  This replaces the description channel_number
 -->
<container name="channel_number" priority="0">
    <textarea name="channum"  align="center">
      <area>526,30,90,30</area>
      <font>channelfont</font>
    </textarea>
</container> 
</mythosdtheme>
