<?xml version="1.0" encoding="utf-8" ?>
<freevo>
  <osds geometry="800x600" icontheme="base">
    <name>Base</name>
    <author email="adam@dvbstreamer.org">Adam Charrett</author>
    <description>The theme from which all other OSD themes should inherit.
(Excluding plugin themes)</description>
    <version>1.0</version>
    <osd name="volume" x="90" y="460" width="675" height="90">
      <percent name="Image1" x="130" y="10" width="370" height="80" expression="float(volume)/100.0" src="volume_bar.png" vertical="False"/>
      <image name="Image2" x="130" y="0" width="370" height="87" expression="muted" scale="noscale" src="muted.png"/>
      <text name="Text1" x="0" y="0" width="130" height="85" expression="channel_name" font="Vera/20" align="left" valign="top" fgcolor="white"/>
      <text name="Text2" x="500" y="0" width="155" height="90" expression="'%d%%' % volume" font="Vera/40" align="right" valign="bottom" fgcolor="white"/>
    </osd>
    <osd name="message" x="50" y="50" width="700" height="110">
      <image name="Image3" x="0" y="0" width="700" height="110" expression="True" scale="noscale" src="details_bg.png"/>
      <text name="Text3" x="5" y="5" width="690" height="100" expression="message" font="Vera/25" align="left" valign="top" fgcolor="white"/>
    </osd>
    <osd name="1button" x="150" y="200" width="500" height="250">
      <image name="Image4" x="0" y="0" width="500" height="250" expression="True" scale="noscale" src="dialog_bg.png"/>
      <text name="Text4" x="5" y="5" width="490" height="180" expression="message" font="message" align="center" valign="center"/>
      <widget name="button" x="160" y="160" width="180" height="45" style="button" left="" right="" up="" down=""/>
    </osd>
    <osd name="2button" x="150" y="200" width="500" height="250">
      <image name="Image5" x="0" y="0" width="500" height="250" expression="True" scale="noscale" src="dialog_bg.png"/>
      <text name="Text5" x="5" y="5" width="490" height="180" expression="message" font="message" align="center" valign="center"/>
      <widget name="button1" x="30" y="160" width="180" height="45" style="button" left="button2" right="button2" up="" down=""/>
      <widget name="button2" x="290" y="160" width="180" height="45" style="button" left="button1" right="button1" up="" down=""/>
    </osd>
    <osd name="3button" x="150" y="200" width="500" height="250">
      <image name="Image6" x="0" y="0" width="500" height="250" expression="True" scale="noscale" src="dialog_bg.png"/>
      <text name="Text6" x="5" y="5" width="490" height="180" expression="message" font="message" align="center" valign="center"/>
      <widget name="button1" x="30" y="160" width="140" height="45" style="button" left="button3" right="button2" up="" down=""/>
      <widget name="button2" x="180" y="160" width="140" height="45" style="button" left="button1" right="button3" up="" down=""/>
      <widget name="button3" x="330" y="160" width="140" height="45" style="button" left="button2" right="button1" up="" down=""/>
    </osd>
    <osd name="menu" x="275" y="135" width="250" height="345">
      <image name="Image7" x="0" y="0" width="250" height="345" expression="True" scale="noscale" src="menu_bg.png"/>
      <text name="Text7" x="10" y="15" width="230" height="40" expression="title" font="Vera/14" align="left" valign="top"/>
      <menu name="menu" x="10" y="65" width="230" height="260" style="menu" left="" right="" up="" down="" itemsperpage="6"/>
    </osd>
    <osd name="bboptionsmenu" x="584" y="265" width="216" height="275">
      <image name="Image8" x="0" y="0" width="216" height="275" expression="True" scale="noscale" src="bboptionsmenubg.png"/>
      <image name="Image9" x="168" y="246" width="22" height="25" expression="menu.more_down" scale="noscale" src="menu_down.png"/>
      <image name="Image10" x="191" y="246" width="22" height="25" expression="menu.more_up" scale="noscale" src="menu_up.png"/>
      <menu name="menu" x="4" y="20" width="204" height="222" style="menu" left="" right="" up="" down="" itemsperpage="6"/>
    </osd>
    <osd name="play_state" x="10" y="10" width="440" height="80">
      <image name="Image11" x="0" y="0" width="120" height="80" expression="True" scale="noscale" srcexpr="'%s.png' % state"/>
      <text name="Text8" x="140" y="9" width="300" height="40" expression="current_time_str and (current_time_str + ' / '+ total_time_str) or ''" font="message" align="left" valign="top"/>
    </osd>
    <widgetstyle name="button">
      <widgetstate state="normal">
        <image name="Image12" x="0" y="0" width="width" height="height" expression="True" scale="both" src="button_normal_bg.png"/>
        <image name="Image13" x="5" y="((height - 30) / 2)" width="20" height="20" expression="model.icon" scale="aspect" srcexpr="model.icon"/>
        <text name="Text9" x="model.icon and 30 or 5" y="5" width="model.icon and (width - 30) or (width-10)" height="height-10" expression="model.text" font="button" align="center" valign="center"/>
      </widgetstate>
      <widgetstate state="active">
        <image name="Image14" x="0" y="0" width="width" height="height" expression="True" scale="both" src="button_active_bg.png"/>
        <image name="Image15" x="5" y="((height - 30) / 2)" width="20" height="20" expression="model.icon" scale="aspect" srcexpr="model.icon"/>
        <text name="Text10" x="model.icon and 30 or 5" y="5" width="model.icon and (width - 30) or (width-10)" height="height-10" expression="model.text" font="button_selected" align="center" valign="center"/>
      </widgetstate>
      <widgetstate state="pressed">
        <image name="Image16" x="0" y="0" width="width" height="height" expression="True" scale="both" src="button_pressed_bg.png"/>
        <image name="Image17" x="5" y="((height - 30) / 2)" width="20" height="20" expression="model.icon" scale="aspect" srcexpr="model.icon"/>
        <text name="Text11" x="model.icon and 30 or 5" y="5" width="model.icon and (width - 30) or (width-10)" height="height-10" expression="model.text" font="button_pressed" align="center" valign="center"/>
      </widgetstate>
    </widgetstyle>
    <widgetstyle name="radiobutton">
      <widgetstate state="normal_unselected">
        <image name="Image18" x="5" y="((height - 22) / 2)" width="22" height="22" expression="True" scale="aspect" src="radio_unselected.png"/>
        <text name="Text12" x="33" y="5" width="width - 33" height="height-10" expression="model.text" font="button" align="left" valign="center"/>
      </widgetstate>
      <widgetstate state="normal_selected">
        <image name="Image19" x="5" y="((height - 22) / 2)" width="22" height="22" expression="True" scale="aspect" src="radio_selected.png"/>
        <text name="Text13" x="33" y="5" width="width - 33" height="height-10" expression="model.text" font="button" align="left" valign="center"/>
      </widgetstate>
      <widgetstate state="active_selected">
        <image name="Image20" x="0" y="0" width="width" height="height" expression="True" scale="both" src="radio_active_bg.png"/>
        <image name="Image21" x="5" y="((height - 22) / 2)" width="22" height="22" expression="True" scale="aspect" src="radio_selected.png"/>
        <text name="Text14" x="33" y="5" width="width - 33" height="height-10" expression="model.text" font="button" align="left" valign="center"/>
      </widgetstate>
      <widgetstate state="active_unselected">
        <image name="Image22" x="0" y="0" width="width" height="height" expression="True" scale="both" src="radio_active_bg.png"/>
        <image name="Image23" x="5" y="((height - 22) / 2)" width="22" height="22" expression="True" scale="aspect" src="radio_unselected.png"/>
        <text name="Text15" x="33" y="5" width="width - 33" height="height-10" expression="model.text" font="button" align="left" valign="center"/>
      </widgetstate>
    </widgetstyle>
    <widgetstyle name="menu">
      <widgetstate state="normal"/>
      <widgetstate state="active"/>
    </widgetstyle>
    <widgetstyle name="menu_item">
      <widgetstate state="normal">
        <text name="Text16" x="2" y="2" width="width - 4" height="height-4" expression="model.text" font="menu" align="left" valign="center"/>
      </widgetstate>
      <widgetstate state="active">
        <image name="Image24" x="0" y="0" width="width" height="height" expression="True" scale="both" src="menu_active.png"/>
        <text name="Text17" x="2" y="2" width="width - 4" height="height-4" expression="model.text" font="menu_selected" align="left" valign="center" fgcolor="white"/>
      </widgetstate>
      <widgetstate state="highlighted">
        <image name="Image25" x="0" y="0" width="width" height="height" expression="True" scale="both" src="menu_active.png"/>
        <text name="Text18" x="2" y="2" width="width - 4" height="height-4" expression="model.text" font="menu_selected" align="left" valign="center" fgcolor="white"/>
      </widgetstate>
      <widgetstate state="pressed">
        <image name="Image26" x="0" y="0" width="width" height="height" expression="True" scale="both" src="menu_pressed.png"/>
        <text name="Text19" x="2" y="2" width="width - 4" height="height-4" expression="model.text" font="menu_pressed" align="left" valign="center"/>
      </widgetstate>
    </widgetstyle>
    <font label="message" name="Vera" size="14" color="white"/>
    <font label="button" name="Vera" size="12" color="black"/>
    <font label="button_selected" name="VeraBd" size="14" color="white"/>
    <font label="button_pressed" name="VeraBd" size="14" color="black"/>
    <font label="menu" name="VeraBd" size="12" color="white"/>
    <font label="menu_selected" name="VeraBd" size="12" color="white"/>
    <font label="menu_pressed" name="VeraBd" size="12" color="black"/>
    <color label="white" value="255,255,255,255"/>
    <color label="gray" value="96,96,96,255"/>
    <color label="black" value="0,0,0,255"/>
    <color label="transparent" value="0,0,0,0"/>
    <osd name="channel_banner" x="0" y="0" width="800" height="100">
      <image name="Background" x="0" y="0" width="800" height="100" expression="True" scale="both" src="details_bg.png"/>
      <image name="Channel Logo" x="10" y="12" width="100" height="75" expression="True" scale="aspect" srcexpr="channel_logo"/>
      <text name="Channel Number" x="130" y="30" width="60" height="40" expression="channel_number" font="message" align="right" valign="center"/>
      <text name="Channel Name" x="200" y="30" width="330" height="40" expression="channel_name" font="message" align="left" valign="center"/>
      <text name="Time" x="540" y="10" width="250" height="80" expression="strftime('%x\n%H:%M', time)" font="message" align="right" valign="center"/>
    </osd>
  </osds>
</freevo>
