<mythosdtheme>
  <!--Mythtv OSD "ProjectGrayhem-OSD" by Justin Hornsby -->
  <!-- borrows heavily from other OSD themes -->
  <!-- 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="channelfont">
	  <color>125</color>
	  <!-- <filename>VeraBd.ttf</filename> --> 
	  <size>22</size>
	  <size:small>18</size:small>
	  <shadow>2,2</shadow>
  </font>
  
  <font name="callsignfont">
	<color>200</color>
	<!-- <filename>Vera.ttf</filename> -->
	<size>10</size>
	<size:small>10</size:small>
        <size:big>12</size:big>
  </font>

  <font name="infofont">
	<color>255</color>
	<!-- <filename>Vera.ttf</filename> -->
	<size>12</size>
	<size:small>10</size:small>
        <size:big>14</size:big>
  </font>
  <font name="notify">
	  <color>255</color>
	  <!-- <filename>Vera.ttf</filename> -->
	  <size>14</size>
	  <size:small>12</size:small>
  </font>
  <font name="infofontgray">
	<color>128</color>
	<!-- <filename>Vera.ttf</filename> -->
	<size>15</size>
	<size:small>13</size:small>
  </font>
  <font name="smallfont">
	  <color>255</color>
	  <!-- <filename>Vera.ttf</filename> -->
	  <size>12</size>
	  <size:small>12</size:small>
  </font>
  
  <font name="titlefont" face="Bitstream Vera Sans">
	<color normal="#FFFFFF">255</color>
	<!-- <filename>VeraBd.ttf</filename> --> 
	<size>16</size>
	<size:small>14</size:small>
  </font>
  
  <font name="grayfont">
    	<color>175</color>
    	<!-- <filename>Vera.ttf</filename> -->
    	<size>10</size>
    	<size:small>10</size:small>
        <size:big>12</size:big>
    	<outline>yes</outline>
  </font>
 
  <font name="timefont">
    	<color>255</color>
    	<!-- <filename>Vera.ttf</filename> -->
    	<size>14</size>
    	<size:small>12</size:small>
  </font>

  <font name="settings">
	<color>255</color>
    	<!-- <filename>Vera.ttf</filename> -->
    	<size>16</size>
    	<size:small>14</size:small>
  </font>
 
  <container name="program_info" fademovement="0,10">
	  <image name="background">
		  <filename>osd_mid.png</filename>
		  <position>0,320</position>
	  </image>
	  <textarea name="title">
		  <area>100,335,400,30</area>
		  <font>titlefont</font>
	  </textarea>
	  <textarea name="description">
		  <multiline>yes</multiline>
		  <area>100,398,500,74</area>
		  <font>infofont</font>
		  <value>%SUBTITLE|"|" %%DESCRIPTION%</value>
	  </textarea>
	  <textarea name="starttime">
		  <area>100,374,440,20</area>
		  <font>grayfont</font>
		  <value>(%STARTTIME% - %ENDTIME%)  %LENMINS%</value>
	  </textarea> 
	  <image name="channelicon">
		  <position>32,344</position>
		  <staticsize>44,44</staticsize>
	  </image>
          <image name="coverart">
                  <position>32,344</position>
                  <staticsize>44,88</staticsize>
          </image>
	  <textarea name="time" align="right">
		  <area>512,337,100,40</area>
		  <font>timefont</font>
	  </textarea>
	  <textarea name="channum" align="center">
		  <area>24,440,60,30</area>
		  <font>channelfont</font>
		  <value>%CHANNUM%</value>
	  </textarea>
  </container>

  <container name="channel_number" fademovement="0,10">
	  <textarea name="channum" align="center">
		  <area>24,400,60,30</area>
		  <font>channelfont</font>
		  <value>%CHANNUM%</value>
	  </textarea>
	  <textarea name="callsign" align="center">
		  <multiline>no</multiline>
		  <area>24,435,60,30</area>
		  <font>callsignfont</font>
		  <value>%CALLSIGN%</value>
	  </textarea>
  </container> 

  <container name="browse_info" fademovement="0,10">
	<image name="background">
		<filename>osd_mid.png</filename>
		<position>0,320</position>
	</image>
	<textarea name="title">
		<area>100,335,400,30</area>
		<font>titlefont</font>
	</textarea>
	<textarea name="description">
		<multiline>yes</multiline>
		<area>100,390,500,74</area>
		<font>infofont</font>
		<value>%SUBTITLE|"|" %%DESCRIPTION%</value>
	</textarea>
	<textarea name="starttime">
		<area>100,374,440,20</area>
		<font>grayfont</font>
		<value>(%STARTTIME% - %ENDTIME%)  %LENMINS%</value>
	</textarea> 
	<image name="channelicon">
		<position>32,344</position>
		<staticsize>44,44</staticsize>
	</image>
	<textarea name="time" align="right">
		<area>512,337,100,40</area>
		<font>timefont</font>
	</textarea>
	<textarea name="channum" align="center">
		<area>24,400,60,30</area>
		<font>channelfont</font>
		<value>%CHANNUM%</value>
    	</textarea>
	<textarea name="callsign" align="center">
		<multiline>no</multiline>
		<area>24,435,60,30</area>
		<font>callsignfont</font>
		<value>%CALLSIGN%</value>
	</textarea> 
  </container>
   
  <container name="status" priority="10" fademovement="0,10">
    <image name="background">
      <filename>osd_mid.png</filename>
      <position>0,320</position>
    </image>
    <image name="sliderframe">
      <filename>paused_frame.png</filename>
      <position>70,395</position>
      <staticsize>500,22</staticsize>
    </image>
    <textarea name="status">
      <area>70,335,400,30</area>
      <font>titlefont</font>
    </textarea>
    <slider name="statusslider" type="fill">
      <area>80,398,480,16</area>
      <filename>fill_green.png</filename>
    </slider>
    <textarea name="slidertext">
      <area>135,380,350,45</area>
      <font>smallfont</font>
      <multiline>no</multiline>
    </textarea>
    <textarea name="time" align="right">
        <area>414,335,90,40</area>
        <font>timefont</font>
     </textarea>
  </container>

  <container name="notify_cid_info" priority="10" fademovement="0,10">
    <image name="background">
	<filename>osd_mid.png</filename>
	<position>0,320</position>
    </image>
    <image name="watermark">
      <filename>phone.png</filename>
      <position>70,354</position>
    </image>
    <textarea name="notify_cid_name">
      <area>276,376,400,20</area>
      <font>infofont</font>
      <multiline>no</multiline>
    </textarea>
    <textarea name="notify_cid_num">
      <area>276,396,400,20</area>
      <font>infofont</font>
      <multiline>no</multiline>
    </textarea>
    <textarea name="notify_cid_dt">
      <area>276,416,400,20</area>
      <font>infofont</font>
      <multiline>no</multiline>
    </textarea>
  </container>

  <container name="notify_alert_text" priority="10" fademovement="0,10">
    <image name="background">
      <filename>osd_mid.png</filename>
      <position>0,320</position>
    </image>
    <textarea name="notify_text">
      <area>60,370,580,60</area>
      <font>infofont</font>
      <multiline>yes</multiline>
    </textarea>
  </container>

  <container name="editmode" fademovement="0,6">
    <image name="background">
      <filename>edit.png</filename>
      <position>0,320</position>
    </image>
    <textarea name="edit">
      <area>30,335,100,27</area>
      <font>titlefont</font>
      <value>Edit</value>
    </textarea>
    <slider name="editslider" type="edit">
      <area>30,408,579,16</area>
      <filename>fill_green.png</filename>
      <altfilename>fill_red.png</altfilename>
    </slider>
    <slider name="editposition" type="position">
	<area>30,404,580,16</area>
      	<filename>position_marker.png</filename>
    </slider>
    <editarrow name="left">
      <filename>cut_end.png</filename>
      <area>35,404,580,65</area>
    </editarrow>
    <editarrow name="right">
      <filename>cut_start.png</filename>
      <area>30,404,580,65</area>
    </editarrow>
    <textarea name="timedisplay">
      <area>30,380,100,60</area>
      <font>smallfont</font>
    </textarea>
    <textarea name="cutindicator" align="center">
	<area>0,380,640,19</area>
     	<font>settings</font>
    </textarea>
    <textarea name="seekamount" align="right">
      <area>480,335,125,40</area>
      <font>timefont</font>
    </textarea>
  </container>

  <container name="settings">
      <image name="background"> 
	<filename>osd_mid.png</filename> 
	<position>0,320</position> 
      </image> 
    <textarea name="settings">
      <area>50,335,350,32</area>
      <font>settings</font>
    </textarea>
  </container>

 <container name="basedialog" priority="0" fademovement="0,0"> <!-- must be named this --> 
   <image name="background"> 
     <filename>popup.png</filename> 
     <position>100,74</position> 
   </image> 
   <positionimage name="selector"> 
     <filename>select.png</filename> 
      <position>114,263</position> 
      <position>114,293</position> 
      <position>114,323</position> 
      <position>114,353</position> 
    </positionimage> 
    <textarea name="message"> 455
      <area>120,94,394,220</area> 
      <font>settings</font> 
      <multiline>yes</multiline> 
   </textarea> 
   <textarea name="option1"> 
      <area>120,269,455,30</area> 
      <font>notify</font> 
      <altfont>grayfont</altfont> 
   </textarea> 
   <textarea name="option2"> 
      <area>120,299,455,30</area> 
      <font>notify</font> 
      <altfont>grayfont</altfont> 
   </textarea> 
   <textarea name="option3"> 
      <area>120,329,455,30</area> 
      <font>notify</font> 
      <altfont>grayfont</altfont> 
   </textarea> 
   <textarea name="option4"> 
      <area>120,359,455,30</area> 
      <font>notify</font> 
      <altfont>grayfont</altfont> 
   </textarea> 
 </container> 
 

  <container name="news_scroller" priority="20">
    <image name="background">
      <filename>scroll.png</filename>
      <position>0,350</position>
    </image>
    <textarea name="text_scroll">
      <area>0,370,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="150">
      </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>
    
  <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>
    
</mythosdtheme>
