<!--

    This is a myth style theme file for mythmusic.

    (c) 2003 by a whole bunch of people associated with MythTV

-->
<mythuitheme>
 

    <!-- music selection screen -->
    <window name="music_select">
      <font name="active" face="Arial">
         <color>#ffffff</color>
         <size>18</size>
         <bold>yes</bold>
      </font>

      <font name="inactive" face="Arial">
        <color>#9999cc</color>
        <size>18</size>
        <bold>yes</bold>
      </font>

      <container name="musictree">
        <area>20,20,780,400</area>

        <listtreearea name="musictree" draworder="0">
          <area>0,0,760,400</area>
          <listsize>0,0,450,360</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="active" function="active"></fcnfont>
          <fcnfont name="inactive" function="inactive"></fcnfont>
        </listtreearea>
      </container>

      <container name="info">
        <area>0,400,800,200</area>

        <image name="background" draworder="0" fleximage="no">
          <filename>music-sel-bg.png</filename>
          <position>0,0</position>
        </image>

        <textarea name="line1" draworder="1" align="left">
            <font>active</font>
            <area>10,0,780,30</area>
            <cutdown>yes</cutdown>
        </textarea>

        <textarea name="line2" draworder="1" align="left">
            <font>active</font>
            <area>10,30,780,30</area>
            <cutdown>yes</cutdown>
        </textarea>

        <textarea name="line3" draworder="1" align="left">
            <font>active</font>
            <area>10,60,780,30</area>
            <cutdown>yes</cutdown>
        </textarea>

        <textarea name="line4" draworder="1" align="left">
            <font>active</font>
            <area>10,90,780,30</area>
            <cutdown>yes</cutdown>
        </textarea>

        <textarea name="line5" draworder="1" align="left">
            <font>active</font>
            <area>10,120,780,30</area>
            <cutdown>yes</cutdown>
        </textarea>

        <textarea name="line6" draworder="1" align="left">
            <font>active</font>
            <area>10,150,780,30</area>
            <cutdown>yes</cutdown>
        </textarea>

      </container>

    </window>

    <!--
        The play music screen
    -->
    <window name="music_play">
    
        <!--
            First, define all the fonts we need on this screen
        -->
        <font name="active" face="Arial">
            <color>#ffffff</color>
            <size>18</size>
            <bold>yes</bold>
        </font>

        <font name="inactive" face="Arial">
            <color>#9999cc</color>
            <size>18</size>
            <bold>yes</bold>
        </font>
  
        <font name="selected" face="Arial">
            <color>#ffff00</color>
            <size>18</size>
            <bold>yes</bold>
        </font>

        <font name="currenttitle" face="Arial">
            <color>#ffffff</color>
            <size>20</size>
            <bold>yes</bold>
        </font>

        <font name="currentartist" face="Arial">
            <color>#ffffff</color>
            <size>16</size>
            <bold>yes</bold>
        </font>

        <font name="infotext" face="Arial">
            <color>#ffffff</color>
            <size>12</size>
            <bold>yes</bold>
        </font>

        <font name="buttons" face="Arial">
            <color>#000000</color>
            <size>12</size>
            <bold>yes</bold>
        </font>

        <!--
            The (unchanging) background
        -->

        <container name="background">
            <image name="filler" draworder="0" fleximage="yes">
                <filename>background.png</filename>
                <position>0,10</position>
            </image>
            <image name="titlelines" draworder="0" fleximage="no">
                <filename>trans-titles.png</filename>
                <position>0,10</position>
            </image>
            <image name="track_info_background" draworder="0" fleximage="no">
                <filename>mm_track_info_background.png</filename>
                <position>0,315</position>
            </image>
            <image name="mm_blackhole_border" draworder="0" fleximage="no">
                <filename>mm_blackhole_border.png</filename>
                <position>133,332</position>
            </image>
            
        </container>

        <!--
            The view of playlists; tracks at the top
        -->
        <container name="musicselector">
            <area>0,10,800,310</area>
            <!--
                First appearance of a managedtreelist
                I'll explain as we go

                bins is how many visible layers of the
                tree there are. 
            -->
            <managedtreelist name="musictreelist" draworder="1" bins="2">
                <!-- 
                    regular area, but is only used if the user has
                    ShowWholeTree set to false.
                -->
                <area>40,10,720,270</area>
                <!--
                    An image to show the current navigation node
                -->
                <image function="selectionbar" filename="mm_selectionbar.png"></image>
                <!--
                    Some arrow images
                -->
                <image function="uparrow" filename="mm_up_arrow.png"></image>
                <image function="downarrow" filename="mm_down_arrow.png"></image>
                <image function="leftarrow" filename="mm_left_arrow.png"></image>
                <image function="rightarrow" filename="mm_right_arrow.png"></image>
                <!-- 
                    the area of particular bins
                    you can make them show right to left,
                    top to bottom, and layer graphics on top 
                    however you like

                    NB: bins number 1 to # of bins inclusive
                        not 0 to #-1
                -->
                <bin number="1">
                    <area>30,16,190,250</area>
                    <fcnfont name="active" function="active"></fcnfont>
                    <fcnfont name="inactive" function="inactive"></fcnfont>
                    <fcnfont name="selected" function="selected"></fcnfont>
                </bin>
                <bin number="2">
                    <area>235,10,535,270</area>
                    <fcnfont name="active" function="active"></fcnfont>
                    <fcnfont name="selected" function="selected"></fcnfont>
                    <fcnfont name="inactive" function="inactive"></fcnfont>
                </bin>
            </managedtreelist>

            <!--
                An image that go "on top" of the list bins
            -->

            <image name="showinglines" draworder="2" fleximage="yes">
                <context>1</context>
                <filename>showings.png</filename>
                <position>0,0</position>
            </image>

            <!--
                An image for when we're waiting for data
            -->
            <image name="mm_waiting" draworder="0" fleximage="no">
                <context>0</context>
                <filename>mm_waiting.png</filename>
                <position>0,0</position>
            </image>
            <textarea name="waiting_text" draworder="1" align="center">
                <context>0</context>
                <font>currenttitle</font>
                <area>190,140,380,40</area>
                <value>Please Wait...</value>
                <value lang="DK">Vent venligst...</value>
                <value lang="NL">Gelieve te wachten...</value>
                <value lang="PT">Aguarde um Momento...</value>
                <value lang="SV">Vänta...</value>
                <value lang="ES">Aguarde un momento...</value>
                <value lang="CA">Esperi uns moments...</value>
                <value lang="FR">Patientez, svp ...</value>
                <value lang="DE">Bitte warten...</value>
            </textarea>

            <!--
                An image for when we're only showing the last bin 
                (ie. just the active playlist)
            -->

            <image name="mm_waiting" draworder="0" fleximage="no">
                <context>2</context>
                <filename>mm_waiting.png</filename>
                <position>0,0</position>
            </image>
        </container>

        <!--
            An area to hold info about the playing track
        -->

        <container name="trackinfo">
            <area>0,315,680,160</area>


            <textarea name="title_text" draworder="1" align="left">
                <font>currenttitle</font>
                <area>270,15,415,34</area>
                <cutdown>yes</cutdown>
            </textarea>

            <textarea name="artist_text" draworder="1" align="left">
                <font>currentartist</font>
                <area>270,50,415,25</area>
                <cutdown>yes</cutdown>
            </textarea>

            <textarea name="album_text" draworder="1" align="left">
                <font>currentartist</font>
                <area>270,73,415,25</area>
                <cutdown>yes</cutdown>
            </textarea>

            <repeatedimage name="ratings_image" draworder="1" fleximage="no">
                <filename>mm_rating.png</filename>
                <position>270,105</position>
                <orientation>LeftToRight</orientation>
            </repeatedimage>

            <textarea name="current_visualization_text" draworder="1" align="right">
                <font>currentartist</font>
                <area>470,100,200,25</area>
                <cutdown>no</cutdown>
            </textarea>

            <textarea name="info_text" draworder="1" align="left">
                <font>infotext</font>
                <area>270,129,250,25</area>
            </textarea>

            <textarea name="time_text" draworder="1" align="right">
                <font>currentartist</font>
                <area>485,125,185,25</area>
            </textarea>

            <blackhole name="visual_blackhole">
                <area>135,20,122,124</area>
            </blackhole>

        </container>

        <!--
            On screen volume display
        -->

        <container name="volumedisplay">
            <area>690,315,40,160</area>
            <statusbar name="volume_status" draworder="-1" whitespace="5">
                <container fleximage="no">mm_volume_background.png</container>
                <fill>mm_volume_tick.png</fill>
                <position>0,0</position>
                <orientation>BottomToTop</orientation>
            </statusbar>
        </container>

        <!--
            All the buttons
        -->

        <container name="musicbuttons">
            <area>15,485,785,110</area>

            <textbutton name="shuffle_button" draworder="0">
                <position>20,0</position>
                <image function="on" filename="mm_simple_button_on.png"></image>
                <image function="off" filename="mm_simple_button_off.png"></image>
                <image function="pushed" filename="mm_simple_button_active.png"></image>
                <font>buttons</font>
            </textbutton>

            <textbutton name="repeat_button" draworder="0">
                <position>215,0</position>
                <image function="on" filename="mm_simple_button_on.png"></image>
                <image function="off" filename="mm_simple_button_off.png"></image>
                <image function="pushed" filename="mm_simple_button_active.png"></image>
                <font>buttons</font>
            </textbutton>

            <textbutton name="pledit_button" draworder="0">
                <position>410,0</position>
                <image function="on" filename="mm_simple_button_on.png"></image>
                <image function="off" filename="mm_simple_button_off.png"></image>
                <image function="pushed" filename="mm_simple_button_active.png"></image>
                <font>buttons</font>
            </textbutton>

            <textbutton name="vis_button" draworder="0">
                <position>605,0</position>
                <image function="on" filename="mm_simple_button_on.png"></image>
                <image function="off" filename="mm_simple_button_off.png"></image>
                <image function="pushed" filename="mm_simple_button_active.png"></image>
                <font>buttons</font>
            </textbutton>

            <pushbutton name="prev_button" draworder="0">
                <position>10,45</position>
                <image function="on" filename="mm_prev.png"></image>
                <image function="off" filename="mm_prev.png"></image>
                <image function="pushed" filename="mm_prev.png"></image>
            </pushbutton>
            
            <pushbutton name="rew_button" draworder="0">
                <position>125,45</position>
                <image function="on" filename="rew_button_on.png"></image>
                <image function="off" filename="rew_button_off.png"></image>
                <image function="pushed" filename="rew_button_pushed.png"></image>
            </pushbutton>
            
            <pushbutton name="pause_button" draworder="0">
                <position>240,45</position>
                <image function="on" filename="mm_pause.png"></image>
                <image function="off" filename="mm_pause.png"></image>
                <image function="pushed" filename="mm_pause.png"></image>
            </pushbutton>
            
            <pushbutton name="play_button" draworder="0">
                <position>355,45</position>
                <image function="on" filename="mm_play.png"></image>
                <image function="off" filename="mm_play.png"></image>
                <image function="pushed" filename="mm_play.png"></image>
            </pushbutton>
            
            <pushbutton name="stop_button" draworder="0">
                <position>470,45</position>
                <image function="on" filename="mm_stop.png"></image>
                <image function="off" filename="mm_stop.png"></image>
                <image function="pushed" filename="mm_stop.png"></image>
            </pushbutton>
            
            <pushbutton name="ff_button" draworder="0">
                <position>585,45</position>
                <image function="on" filename="ff_button_on.png"></image>
                <image function="off" filename="ff_button_off.png"></image>
                <image function="pushed" filename="ff_button_pushed.png"></image>
            </pushbutton>
            
            <pushbutton name="next_button" draworder="0">
                <position>700,45</position>
                <image function="on" filename="mm_next.png"></image>
                <image function="off" filename="mm_next.png"></image>
                <image function="pushed" filename="mm_next.png"></image>
            </pushbutton>
            
        </container>

  </window>
  
  <window name="edit_metadata">

        <font name="title" face="Arial">
            <color>#ffff00</color>
            <dropcolor>#000000</dropcolor>
            <size>24</size>
            <shadow>3,3</shadow>
            <bold>yes</bold>
        </font>

        <font name="labels" face="Arial">
            <color>#ffff00</color>
            <dropcolor>#000000</dropcolor>
            <size>18</size>
            <shadow>3,3</shadow>
            <bold>yes</bold>
        </font>

        <font name="display" face="Arial">
            <color>#ffffff</color>
            <dropcolor>#000000</dropcolor>
            <size>18</size>
            <shadow>3,3</shadow>
            <bold>yes</bold>
        </font>

      <container name="edit_container">
            <area>0,0,800,600</area>

            <textarea name="title" draworder="1" align="center">
                <area>0,15,800,50</area>
                <font>title</font>
                <value>Track Information</value>
            </textarea>

            <!--
                    Labels
            -->


            <textarea name="compilation_label" draworder="1" align="right">
                <area>15,70,170,30</area>
                <font>labels</font>
                <value>Compilation:</value>
            </textarea>

            <textarea name="compilation_artist_label" draworder="1" align="right">
                <area>15,110,170,30</area>
                <font>labels</font>
                <value>Comp. Artist:</value>
            </textarea>

            <textarea name="artist_label" draworder="1" align="right">
                <area>15,150,170,30</area>
                <font>labels</font>
                <value>Artist:</value>
            </textarea>

            <textarea name="album_label" draworder="1" align="right">
                <area>15,190,170,30</area>
                <font>labels</font>
                <value>Album:</value>
            </textarea>

            <textarea name="title_text" draworder="1" align="right">
                <area>15,230,170,30</area>
                <font>labels</font>
                <value>Title:</value>
            </textarea>

            <textarea name="genre_label" draworder="1" align="right">
                <area>15,270,170,30</area>
                <font>labels</font>
                <value>Genre:</value>
            </textarea>

            <textarea name="year_label" draworder="1" align="right">
                <area>15,310,170,30</area>
                <font>labels</font>
                <value>Year:</value>
            </textarea>

            <textarea name="track_label" draworder="1" align="right">
                <area>365,310,170,30</area>
                <font>labels</font>
                <value>Track No.:</value>
            </textarea>

            <textarea name="rating_label" draworder="1" align="right">
                <area>15,350,170,30</area>
                <font>labels</font>
                <value>Rating:</value>
            </textarea>

            <textarea name="playcount_label" draworder="1" align="right">
                <area>420,390,300,30</area>
                <font>labels</font>
                <value>Play Count:</value>
            </textarea>

            <textarea name="lastplay_label" draworder="1" align="right">
                <area>15,390,170,30</area>
                <font>labels</font>
                <value>Last Play:</value>
            </textarea>

            <textarea name="filename_label" draworder="1" align="right">
                <area>15,430,170,30</area>
                <font>labels</font>
                <value>Filename:</value>
            </textarea>

            <!--
                    edits
            -->

            <checkbox name="compilation_check" draworder="0">
                <position>195,70</position>
                <image function="checked" filename="mm_checked.png"></image>
                <image function="unchecked" filename="mm_unchecked.png"></image>
                <image function="checked_high" filename="mm_checked_high.png"></image>
                <image function="unchecked_high" filename="mm_unchecked_high.png"></image>
            </checkbox> 

            <remoteedit name="compilation_artist_edit" draworder="1" align="left">
                <area>195,110,525,35</area>
                <font>display</font>
            </remoteedit>

            <pushbutton name="searchcompilation_artist_button" draworder="2">
                <position>725,110</position>
                <image function="on" filename="mm_blankbutton_on.png"></image>
                <image function="off" filename="mm_blankbutton_off.png"></image>
                <image function="pushed" filename="mm_blankbutton_pushed.png"></image>
            </pushbutton>


            <remoteedit name="artist_edit" draworder="1" align="left">
                <area>195,150,525,35</area>
                <font>display</font>
            </remoteedit>

            <pushbutton name="searchartist_button" draworder="2">
                <position>725,150</position>
                <image function="on" filename="mm_blankbutton_on.png"></image>
                <image function="off" filename="mm_blankbutton_off.png"></image>
                <image function="pushed" filename="mm_blankbutton_pushed.png"></image>
            </pushbutton>


            <remoteedit name="album_edit" draworder="1" align="left">
                <area>195,190,525,35</area>
                <font>display</font>
            </remoteedit>

            <pushbutton name="searchalbum_button" draworder="2">
                <position>725,190</position>
                <image function="on" filename="mm_blankbutton_on.png"></image>
                <image function="off" filename="mm_blankbutton_off.png"></image>
                <image function="pushed" filename="mm_blankbutton_pushed.png"></image>
            </pushbutton>

            <remoteedit name="title_edit" draworder="1" align="left">
                <area>195,230,525,35</area>
                <font>display</font>
            </remoteedit>

            <remoteedit name="genre_edit" draworder="1" align="left">
                <area>195,270,525,35</area>
                <font>display</font>
            </remoteedit>

            <pushbutton name="searchgenre_button" draworder="2">
                <position>725,270</position>
                <image function="on" filename="mm_blankbutton_on.png"></image>
                <image function="off" filename="mm_blankbutton_off.png"></image>
                <image function="pushed" filename="mm_blankbutton_pushed.png"></image>
            </pushbutton>

            <remoteedit name="year_edit" draworder="1" align="left">
                <area>195,310,175,35</area>
                <font>display</font>
            </remoteedit>

            <remoteedit name="track_edit" draworder="1" align="left">
                <area>545,310,175,35</area>
                <font>display</font>
            </remoteedit>

            <repeatedimage name="rating_image" draworder="1" fleximage="no">
                <filename>mm_rating.png</filename>
                <position>190,360</position>
                <orientation>LeftToRight</orientation>
            </repeatedimage>

            <selector name="rating_button" draworder="0">
                <area>420,350,30,30</area>
                <font>display</font>
                <image function="on" filename="mm_leftright_on.png"></image>
                <image function="off" filename="mm_leftright_off.png"></image>
                <image function="pushed" filename="mm_leftright_pushed.png"></image>
            </selector>

            <textarea name="playcount_text" draworder="1" align="left">
                <area>725,390,400,30</area>
                <font>display</font>
            </textarea>

            <textarea name="lastplay_text" draworder="1" align="left">
                <area>195,390,400,30</area>
                <font>display</font>
            </textarea>

            <textarea name="filename_text" draworder="1" align="left">
                <area>195,430,550,100</area>
                <multiline>yes</multiline>
                <font>display</font>
            </textarea>

            <!--
                    Push buttons
            -->

            <textbutton name="done_button" draworder="0">
                <position>350,540</position>
                <font>display</font>
                <image function="on" filename="text_button_on.png"></image>
                <image function="off" filename="text_button_off.png"></image>
                <image function="pushed" filename="text_button_pushed.png"></image>
            </textbutton>

      </container>
   </window>

</mythuitheme>
