Update of /cvsroot/freevo/freevo/contrib/examples
In directory sc8-pr-cvs1:/tmp/cvs-serv20293

Added Files:
        barbieri.fxd blue2.fxd 
Log Message:


--- NEW FILE: barbieri.fxd ---
<?xml version="1.0" ?>
<freevo>

  <skin include="blue1_small" geometry="800x600">
    <iconset dir="skins/icons/AquaFusion"/>
    <main>
      <item label="tv" name="Watch TV" icon="" 
        image="../blue_round2/tv_watermark.png"/>
      <item label="video" name="Watch a Movie" icon=""
        image="../blue_round2/movie_watermark.png"/>
      <item label="audio" name="Listen to Music" icon="" 
        image="../blue_round2/music_watermark.png"/>
      <item label="image" name="Look at Pictures" icon="" 
        image="../blue_round2/image_watermark.png"/>
      <item label="games" name="Games" icon="" image=""/>
      <item label="shutdown" name="Shutdown" icon="" 
        image="../blue_round2/shutdown_watermark.png" />
    </main>
    
    <!-- Redefine of the type default -->
    <menuset label="normal text style">
      <screen layout="screen0" visible="yes"/>

      <!-- 
      title0 is already defined in blue1_big, but there will
      is a new definition of the font from the layout (white big)
      -->
      <title visible="no"/>
      <view x="20" y="100" width="300" height="300"/> 
      <listing layout="listing" x="330" y="110" width="460" height="450">
        <image filename="up.png" label="uparrow" x="290" y="110"/>
        <image filename="down.png" label="downarrow" x="290" y="520"/>
      </listing>
    </menuset>


    <!-- definition of the main menu -->
    <menuset label="main menu">
      <screen layout="screen watermark" visible="yes">
        <area x="0" y="0" width="800" height="600"/>
      </screen>
      <listing layout="main listing" visible="yes">
        <area x="230" y="180" width="360" height="240"/> 
      </listing>
      <view visible="no"/>
    </menuset>

    <!-- definition of video/audio/image menu. The same as default, but with a -->
    <!-- different background -->
    <menu type="video">
      <style text="video list with info" />
      <style image="video list with cover view" />
      <style text="video"/>
    </menu>
      
    <menu type="audio">
      <style text="audio" image="audio list with cover view" />
      <style text="audio"/>
    </menu>
      
    <menu type="image">
      <style image="image list with preview" />
      <style text="image"/>
    </menu>
      
    <menu type="tv">
      <style text="tv"/>
    </menu>
      
    <menuset label="video" inherits="normal text style">
      <screen layout="video screen"/>
    </menuset>
      
    <menuset label="audio" inherits="normal text style">
      <screen layout="audio screen"/>
    </menuset>
      
    <menuset label="image" inherits="normal text style">
      <screen layout="image screen"/>
    </menuset>
      
    <menuset label="tv" inherits="normal text style">
      <view visible="no"/>
      <listing x="100" width="680">
        <image label="uparrow" x="290" y="110"/>
        <image label="downarrow" x="290" y="520"/>
      </listing>
      <screen layout="tv menu screen"/>
    </menuset>
    
      

    <menuset label="image list with preview" inherits="normal text style">
      <screen layout="image screen"/>
      <listing x="10" y="100" height="350" width="780" layout="image list">
        <image label="uparrow" x="750" y="88"  height="24" width="24"/>
        <image label="downarrow" x="750" y="438" height="24" width="24"/>
      </listing>
      <info layout="info" x="25" y="460" width="750" height="130"/>
      <view visible="no"/>
    </menuset>


    <menuset label="audio list with cover view" inherits="normal text style">
      <screen layout="audio screen"/>
      <listing x="10" y="100" height="350" width="780" layout="audio list covers">
        <image label="uparrow" x="750" y="88"  height="24" width="24"/>
        <image label="downarrow" x="750" y="438" height="24" width="24"/>
      </listing>
      <info layout="info" x="25" y="460" width="750" height="130"/>
      <view visible="no"/>
    </menuset>

    <menuset label="video list with cover view" inherits="normal text style">
      <screen layout="video screen"/>
      <listing x="10" y="100" height="350" width="780" layout="video list covers">
        <image label="uparrow" x="750" y="88"  height="24" width="24"/>
        <image label="downarrow" x="750" y="438" height="24" width="24"/>
      </listing>
      <info layout="info" x="25" y="460" width="750" height="130"/>
      <view visible="no"/>
    </menuset>

    <menuset label="video list with info" inherits="normal text style">
      <screen layout="video screen"/>
      <listing x="480" y="400" height="170" width="300" layout="listing inverted">
        <image label="uparrow" x="750" y="388"  height="24" width="24"/>
        <image label="downarrow" x="750" y="558" height="24" width="24"/>
      </listing>
      <info layout="video info" x="10" y="100" width="450" height="490"/>
      <view layout="video view" x="530" y="100" width="200" height="280" />
    </menuset>


    <!-- ********************************************** -->
    <!-- LAYOUT DEFINITIONS -->


    <image label="background" filename="blurrback.jpg"/>
    
    <layout label="screen watermark">
      <background>
        <image image="background" x="0" y="0" label="background"/>
        <image x="435" y="230" width="370" height="380" label="watermark"/>
      </background>
    </layout>

    <layout label="video screen">
      <background>
        <image image="background" x="0" y="0" label="background"/>
        <image filename="../blue_round2/movie_watermark.png" x="435" y="230" 
width="370"
          height="380"/>
      </background>
    </layout>

    <layout label="audio screen">
      <background>
        <image image="background" x="0" y="0" label="background"/>
        <image filename="../blue_round2/music_watermark.png" x="435" y="230" 
width="370"
          height="380"/>
      </background>
    </layout>

    <layout label="image screen">
      <background>
        <image image="background" x="0" y="0" label="background"/>
        <image filename="../blue_round2/image_watermark.png" x="435" y="230" 
width="370"
          height="380"/>
      </background>
    </layout>

    <layout label="tv menu screen">
      <background>
        <image image="background" x="0" y="0" label="background"/>
        <image filename="../blue_round2/tv_watermark.png" x="435" y="230" width="370"
          height="380"/>
      </background>
    </layout>



    <!-- default view area -->
    <layout label="view0">
      <content align="center" valign="center">
        <item type="default">
          <rectangle size="0" bgcolor="0x80000000" radius="8" x="-10" y="-10"
            width="max+20" height="max+20"/>
        </item>
      </content>
    </layout>
    
    <!-- video view area -->
    <layout label="video view">
      <content align="center" valign="center">
        <item type="default" />
      </content>
    </layout>
    

    <!-- default listing area -->
    <layout label="listing">
      <background/>
      <content type="text" spacing="2">
        <item type="default" font="grey"/>
        <item type="image" font="grey" image="../AquaFusion/images.png"/>
        <item type="audio" font="grey" image="../AquaFusion/mp3.png"/>
        <item type="video" font="grey" image="../AquaFusion/movies.png"/>
        <item type="playlist" font="grey" image="../gnome/gedit-icon.png"/>
        <item type="dir" font="grey" image="../gnome/gnome-folder.png"/>

        <item type="selected" font="white">
          <rectangle bgcolor="0xaa000000" size="0" x="-10" y="-3" width="max+20"
            height="max+6" radius="15"/>
        </item>
        <item type="image selected" font="white" image="../AquaFusion/images.png">
          <rectangle bgcolor="0xaa000000" size="0" x="-10" y="-3" width="max+20"
            height="max+6" radius="15"/>
        </item>
        <item type="audio selected" font="white" image="../AquaFusion/mp3.png">
          <rectangle bgcolor="0xaa000000" size="0" x="-10" y="-3" width="max+20"
            height="max+6" radius="15"/>
        </item>
        <item type="video selected" font="white" image="../AquaFusion/movies.png">
          <rectangle bgcolor="0xaa000000" size="0" x="-10" y="-3" width="max+20"
            height="max+6" radius="15"/>
        </item>
        <item type="playlist selected" font="white" image="../gnome/gedit-icon.png">
          <rectangle bgcolor="0xaa000000" size="0" x="-10" y="-3" width="max+20"
            height="max+6" radius="15"/>
        </item>
        <item type="dir selected" font="white" image="../gnome/gnome-folder.png">
          <rectangle bgcolor="0xaa000000" size="0" x="-10" y="-3" width="max+20"
            height="max+6" radius="15"/>
        </item>
      </content>
    </layout>

    <!-- listing area with inverted colors -->
    <layout label="listing inverted">
      <background>
        <rectangle color="0x000000" size="0" bgcolor="0xb0000000" radius="10"/>
      </background>
      <content type="text" spacing="0" valign="center" align="left" width="max-16" 
x="8">
        <item type="default" font="grey"/>
        <item type="selected" font="white">
          <rectangle bgcolor="0xff000000" size="0" x="-3" width="max+6" radius="5"/>
        </item>
      </content>
    </layout>


    <!-- redefine the main menu listing area -->
    <layout label="main listing">
      <content type="text" spacing="10">
        <item type="default" font="grey big" align="center"/>
        <item type="selected" font="white big" align="center">
          <rectangle bgcolor="0xaa000000" size="0" x="-3" y="-3"
            width="max+6" height="max+6" radius="8"/>
        </item>
      </content>
    </layout>

    <!-- listing area for image with images (preview) -->
    <layout label="image list">
      <background>
        <rectangle color="0x000000" size="0" bgcolor="0xb0000000" radius="15"/>
      </background>
      <content type="image+text" spacing="-16" align="center" valign="center">
        <item type="default" width="120" height="90" font="item" align="center"
          valign="center"/>
        <item type="selected" width="198" height="126" font="selected"
          align="center" valign="center">
          <rectangle bgcolor="0xa0ffffff" color="0xffffff" size="0" x="-3" y="-3" 
            width="max+6" height="max+6" radius="8"/>
        </item>
      </content>
    </layout>

    <!-- listing area for audio with images (preview) -->
    <layout label="audio list covers">
      <background>
        <rectangle color="0x000000" size="0" bgcolor="0xb0000000" radius="15"/>
      </background>
      <content type="image+text" spacing="-10" align="center" valign="center">
        <item type="default" width="100" height="100" font="item" align="center"
          valign="center"/>
        <item type="selected" width="140" height="140" font="selected"
          align="center" valign="center">
          <rectangle bgcolor="0xa0ffffff" color="0xffffff" size="0" x="-3" y="-3" 
            width="max+6" height="max+6" radius="8"/>
        </item>
      </content>
    </layout>

    <!-- listing area for video with images (preview) -->
    <layout label="video list covers">
      <background>
        <rectangle color="0x000000" size="0" bgcolor="0xb0000000" radius="15"/>
      </background>
      <content type="image+text" spacing="-5" align="center" valign="center">
        <item type="default" width="80" height="112" font="item" align="center"
          valign="center"/>
        <item type="selected" width="100" height="140" font="selected"
          align="center" valign="center">
          <rectangle bgcolor="0xa0ffffff" color="0xffffff" size="0" x="-6" y="-3" 
            width="max+12" height="max+6" radius="8"/>
        </item>
      </content>
    </layout>

    <layout label="video info">
      <content x="0" y="0" type="text" spacing="20" font="default">
        <item type="video">
          <if expression="name">
             <text font="info title" 
                   width="max" height="line_height"
                   mode="hard" align="left"
                   expression="name" />
             <newline />
          </if>
          <if expression="tagline">
             <text font="info tagline" 
                   width="max" height="line_height"
                   mode="hard" align="left"
                   expression="tagline" />
             <newline />
          </if>
          <goto_pos x="20" />
          <if expression="plot">
             <text font="info plot" 
                   width="max-40" height="max"
                   mode="soft" align="justified"
                   expression="plot" />
             <newline />
          </if>
          <goto_pos y="10" mode="relative" />
          <if expression="genre">
             <text height="line_height" width="100"
                   align="right" font="info value" 
                   mode="hard">Genre:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="genre" />
             <newline />          
          </if>
          <if expression="rating">
             <text height="line_height" width="100"
                   align="right" font="info value" 
                   mode="hard">Rating:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="rating" />
             <newline />          
          </if>
          <if expression="runtime">
             <text height="line_height" width="100"
                   align="right" font="info value" 
                   mode="hard">Runtime:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="runtime" />
             <newline />          
          </if>
        </item>
        <item type="dir">
          <if expression="name">
             <text font="info title" 
                   width="max" height="line_height"
                   mode="hard" align="left"
                   expression="name" />
             <newline />
          </if>
          <if expression="dir">
             <text height="line_height" width="100"
                   align="right" font="info label" 
                   mode="hard">Directory:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="dir" />
             <newline />          
          </if>
        </item>
      </content>
    </layout>


    <layout label="info">
      <content x="0" y="0" type="text" spacing="20" font="default">
        <item type="audio">
          <if expression="title">
             <if expression="track">
                <text height="line_height"
                      align="left" font="info title" 
                      mode="hard" expression="track" />
                <text font="info title"> - </text>
             </if>
             <text height="line_height"
                   align="left" font="info title" 
                   mode="hard" expression="title" />
             <newline />
          </if>
          <if expression="artist">
             <text height="line_height" width="100"
                   align="right" font="info value" 
                   mode="hard">Artist:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="artist" />
             <newline />          
          </if>
          <if expression="album">
             <text height="line_height" width="100"
                   align="right" font="info value" 
                   mode="hard">Album:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="album" />
             <if expression="year">
                 <text font="info value"> (</text>
                 <text height="line_height"
                       align="left" font="info value" 
                       mode="hard" expression="year" />
                 <text font="info value">)</text>
             </if>
             <newline />          
          </if>
        </item>
        <item type="video">
           <if expression="tagline">
              <text height="line_height"
                    align="left" font="info tagline"
                    expression="tagline" />
              <newline />
           </if>
           <if expression="plot">
              <text height="max" width="max"
                    align="left" font="info plot"
                    mode="soft"
                    expression="plot" />
              <newline />
           </if>
        </item>
        <item type="image">
          <if expression="name">
             <text height="line_height" width="max"
                   align="left" font="info title" 
                   mode="hard" expression="name" />
             <newline />
          </if>
          <if expression="width and height">
             <text height="line_height" width="100"
                   align="left" font="info label"
                   mode="hard">Geometry:</text>
             <goto_pos x="10" mode="relative" />
             <text height="line_height"
                   align="left" font="info value"
                   mode="hard" expression="width" />
             <text height="line_height"
                   align="left" font="info value"
                   mode="hard">x</text>
             <text height="line_height"
                   align="left" font="info value"
                   mode="hard" expression="height" />
             <newline />
          </if>
          <if expression="date">
             <text height="line_height" width="100"
                   align="left" font="info label"
                   mode="hard">Date:</text>
             <goto_pos x="10" mode="relative" />
             <text height="line_height"
                   align="left" font="info value"
                   mode="hard" expression="date" />
             <newline />
          </if>
          <if expression="description">
             <text font="info plot" 
                   width="max" height="max"
                   mode="soft" align="left"
                   expression="description" />
             <newline />
          </if>
        </item>
        <item type="dir">
          <if expression="name">
             <text height="line_height" width="max"
                   align="left" font="info title" 
                   mode="hard" expression="name" />
             <newline />
          </if>
          <if expression="dir">
             <text height="line_height" width="100"
                   align="right" font="info label" 
                   mode="hard">Directory:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="dir" />
             <newline />          
          </if>
        </item>
        <item type="playlist">
          <if expression="name">
             <text font="info title" 
                   height="line_height"
                   mode="hard" align="left">Playlist: </text>              
             <text font="info title" 
                   width="max" height="line_height"
                   mode="hard" align="left"
                   expression="name" />
             <newline />
          </if>   
          <if expression="filename">
             <text height="line_height" width="100"
                   align="right" font="info label" 
                   mode="hard">File:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value"
                   mode="hard" expression="filename" />
             <newline />          
          </if>
          <if expression="len(playlist)>0">
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="len(playlist)" />
             <text height="line_height"
                   align="left" font="info value"
                   mode="hard"> items in this playlist</text>
             <newline />          
          </if>
          <if expression="len(playlist)==0">
             <text height="line_height"
                   align="left" font="info value"
                   mode="hard">This playlist is empty!</text>
             <newline />          
          </if>
        </item>
      </content>
    </layout>

    <layout label="player info">
      <background>
        <rectangle size="0" bgcolor="0x80000000" radius="10" width="max"/>
      </background>
      <content x="55" y="10" height="max-20" width="max-90" type="text"
        spacing="10" font="player">
        <item type="default">
          <if expression="title">
             <text font="info title" 
                   width="max" height="line_height"
                   mode="hard" align="left"
                   expression="title" />
             <newline />
          </if>
          <if expression="artist">
             <text font="info tagline"
                   width="max" height="line_height"
                   mode="hard" align="left" 
                   expression="artist" />
             <newline />
          </if>
          <goto_pos y="15" mode="relative" />
          <if expression="album">
             <text height="line_height" width="100"
                   align="right" font="info value" 
                   mode="hard">Album:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="album" />
             <if expression="date">
                 <text font="info value"> (</text>
                 <text height="line_height"
                       align="left" font="info value" 
                       mode="hard" expression="date" />
                 <text font="info value">)</text>
             </if>
             <newline />          
          </if>
          <if expression="trackno">
             <text height="line_height" width="100"
                   align="right" font="info value" 
                   mode="hard">Track:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="trackno" />
             <newline />          
          </if>
          <goto_pos y="15" mode="relative" />
          <if expression="length">
             <text height="line_height" width="100"
                   align="right" font="info value" 
                   mode="hard">Length:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="length" />
             <newline />
          </if>
          <if expression="elapsed">
             <text height="line_height" width="100"
                   align="right" font="info value" 
                   mode="hard">Elapsed:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="elapsed" />
             <newline />          
          </if>
        </item>
      </content>
    </layout>

    <!-- tv listing area -->
    <layout label="tv info">
      <background>
        <rectangle size="0" bgcolor="0x80000000" radius="10" width="max"/>
      </background>
      <content x="10" y="10" height="max-20" width="max-20" type="text"
        spacing="10" font="tv">
        <item type="default">
          <if expression="title">
             <text font="info title" 
                   width="630" height="line_height"
                   mode="hard" align="left"
                   expression="title" />
          </if>
          <text font="info value"
                width="max" height="line_height"
                mode="hard" align="left" valign="center"
                expression="start" />
          <text font="info value"
                width="max" height="line_height"
                mode="hard" align="left" valign="center">-</text>
          <text font="info value"
                width="max" height="line_height"
                mode="hard" align="left" valign="center"
                expression="stop" />
          <newline />
          <if expression="sub_title">
             <text font="info tagline"
                   width="max" height="line_height"
                   mode="hard" align="left"
                   expression="sub_title" />
             <newline />
          </if>
          <if expression="desc">
             <text font="info plot"
                   width="max" height="line_height"
                   mode="hard" align="left"
                  expression="desc" />    
             <newline />
          </if>
        </item>
      </content>
    </layout>


    <!-- ********************************************** -->
    <!-- FONT DEFINITIONS -->


    <font label="grey" name="VeraBd" size="16" color="0xdddddd"/>
    <font label="white" name="VeraBd" size="16" color="0xffffff"/>
    <font label="grey big" name="VeraBd" size="18" color="0xdddddd"/>
    <font label="white big" name="VeraBd" size="18" color="0xffffff"/>

    <font label="info title"       name="VeraBd" size="24" color="0xffffff">
       <shadow x="2" y="2" color="0x000000" visible="yes" />
    </font>
    <font label="info plot"        name="VeraSeBd" size="16" color="0xffffff" />
    <font label="info tagline"     name="VeraBd" size="16" color="0xffffff" />
    <font label="info description" name="VeraBd" size="14" color="0xffffaa" />
    <font label="info label"       name="VeraBd" size="14" color="0xffffff" />
    <font label="info value"       name="VeraBd" size="14" color="0xffffaa" />
  </skin>
</freevo>

--- NEW FILE: blue2.fxd ---
<?xml version="1.0" ?>
<freevo>
  
  <skin include="blue1_small" geometry="800x600">

    <!-- special settings for audio. The default style is an image based style -->
    <!-- with an info area. By pressing DISPLAY this can be toggled to the default 
view -->
    <menu type="audio">
      <style image="audio menu with info" text="normal text style"/>
      <style text="normal text style"/>
    </menu>

    <menu type="video">
      <style image="video menu with info" text="text with info style"/>
      <style text="normal text style"/>
      <style image="video details" text="text with info style"/>
    </menu>

    <menu type="image">
      <style image="image menu with info" text="normal text style"/>
      <style text="normal text style"/>
    </menu>

    
    <!-- Now the "audio menu with info" used by audio-->
    <menuset label="audio menu with info">
      <screen layout="screen0" x="0" y="0" width="800" height="600"/>
      <title layout="title0" x="10" y="10" width="780" height="60"/>
      <subtitle layout="title1" x="40" y="100" width="470" height="40"/>

      <listing layout="audio list" x="40" y="140" width="540" height="240">
        <image label="uparrow" x="5" y="150" width="32" height="32"  
          filename="up.png"/>
        <image label="downarrow" x="5" y="348" width="32" height="32"
          filename="down.png"/>
      </listing>

      <view layout="view0" x="590" y="160" width="200" height="300"/>
      <info layout="info" x="40" y="410" width="750" height="170"/>
    </menuset>

    <!-- The "video menu with info" is like the audio one, except a different -->
    <!-- listing area label -->
    <menuset label="video menu with info" inherits="audio menu with info">
      <listing layout="video list" height="340">
        <image label="downarrow" y="363" filename="down.png"/>
      </listing>
      <view y="120"/>
      <info y="430" height="160"/>
    </menuset>

    <menuset label="image menu with info" inherits="audio menu with info">
      <subtitle visible="no"/>
      <listing x="10" y="100" height="350" width="780" layout="image list">
        <image label="uparrow" x="750" y="102"  height="24" width="24"/>
        <image label="downarrow" x="750" y="422" height="24" width="24"/>
      </listing>
      <view visible="no"/>
      <info y="480" height="110"/>
    </menuset>

    <!-- Now the "video details" (DISPLAY 3 for video)-->
    <menuset label="video details">
      <screen layout="screen0" x="0" y="0" width="800" height="600"/>
      <title layout="title1" x="10" y="100" width="780" height="60"/>

      <listing layout="video list" x="500" y="450" width="290" height="140">
        <image label="uparrow" x="470" y="450" width="24" height="24" 
filename="up.png"/>
        <image label="downarrow" x="470" y="550" width="24" height="24" 
filename="down.png"/>
      </listing>

      <view layout="view0" x="545" y="150" width="200" height="290"/>
      <info layout="video info" x="10" y="160" width="460" height="430"/>
    </menuset>

    <!-- Now the "text with info style" -->
    <menuset label="text with info style">
      <!-- 1. screen: the complete background area -->
      <screen layout="screen0" x="0" y="0" width="800" height="600"/>

      <!-- 2. title: the area where the title of the menu (e.g. directory name -->
      <!-- will be displayed -->
      <title layout="title0" x="10" y="10" width="780" height="60"/> 

      <!-- 3. view area: the cover image for audio/video, a thumbnail for image -->
      <view layout="view0" x="580" y="110" width="200" height="300"/> 

      <!-- 4. listing area: the list of all items -->
      <listing layout="list0" x="45" y="110" width="515" height="330">
        <image x="10" y="110" width="32" height="32" label="uparrow" 
          filename="up.png"/>
        <image x="10" y="374" width="32" height="32" label="downarrow" 
          filename="down.png"/>
      </listing>
      <!-- 5. info area: additional info. This area is invisible in the default -->
      <!-- menu, it's only visible in the extended menus -->
      <info layout="info" x="40" y="460" width="750" height="120"/>
    </menuset>

    <layout label="title1">
      <content type="short item" font="title small" align="left"/>
    </layout>

    <font label="title small" name="VeraBd" size="22" color="0xffffff"/>

    <!-- listing area for audio with images -->
    <layout label="audio list">
      <content x="0" y="0" type="image" spacing="-2">
        <item type="default" width="100" height="100" align="center" valign="center"/>
        <item type="selected" width="100" height="100" align="center" valign="center">
          <rectangle bgcolor="selection" size="0" x="-10" y="-10" width="max+20"
            height="max+20"/>
        </item>
      </content>
    </layout>

    <!-- listing area for video with images -->
    <layout label="video list">
      <content type="image" spacing="-2">
        <item type="default" width="80" height="112" align="center" valign="center"/>
        <item type="selected" width="87" height="122" align="center" valign="center">
          <rectangle bgcolor="selection" size="0" x="-5" y="-5" width="max+10"
            height="max+10"/>
        </item>
      </content>
    </layout>

    <!-- listing area for image with images (preview) -->
    <layout label="image list">
      <background>
        <rectangle color="0x000000" size="1" bgcolor="0xa0000000" radius="5"/>
      </background>
      <content type="image+text" spacing="-16" align="center" valign="center">
        <item type="default" width="120" height="90" font="item" align="center"
          valign="center"/>
        <item type="selected" width="198" height="126" font="selected"
          align="center" valign="center">
          <rectangle bgcolor="0xa0ffffff" size="0" x="-3" y="-3" width="max+6" 
radius="5"
            height="max+6"/>
        </item>
      </content>
    </layout>



    <layout label="info">
      <content x="0" y="0" type="text" spacing="20" font="default">

        <item type="audio">
          <if expression="title">
             <if expression="track">
                <text height="line_height"
                      align="left" font="info title" 
                      mode="hard" expression="track" />
                <text font="info title"> - </text>
             </if>
             <text height="line_height"
                   align="left" font="info title" 
                   mode="hard" expression="title" />
             <newline />
          </if>
          <if expression="artist">
             <text height="line_height" width="100"
                   align="right" font="info value" 
                   mode="hard">Artist:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="artist" />
             <newline />          
          </if>
          <if expression="album">
             <text height="line_height" width="100"
                   align="right" font="info value" 
                   mode="hard">Album:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="album" />
             <if expression="year">
                 <text font="info value"> (</text>
                 <text height="line_height"
                       align="left" font="info value" 
                       mode="hard" expression="year" />
                 <text font="info value">)</text>
             </if>
             <newline />          
          </if>
        </item>

        <item type="video">
           <if expression="tagline">
              <text height="line_height"
                    align="left" font="info tagline"
                    expression="tagline" />
              <newline />
           </if>
           <if expression="plot">
              <text height="max" width="max"
                    align="left" font="info plot"
                    mode="soft"
                    expression="plot" />
              <newline />
           </if>
        </item>

        <item type="track">
          <if expression="length">
             <text height="line_height" width="100"
                   align="left" font="info label"
                   mode="hard">Runtime:</text>
             <goto_pos x="10" mode="relative" />
             <text height="line_height"
                   align="left" font="info value"
                   mode="hard" expression="length" />
             <text font="info value"> min.</text>
             <newline />
          </if>
          <if expression="len(audio)">
            <text height="line_height"
              align="left" font="info value"
              mode="hard" expression="len(audio)" />
            <text font="info value"> Audiotracks, </text>
          </if>
          <if expression="len(subtitles)">
            <text height="line_height"
              align="left" font="info value"
              mode="hard" expression="len(subtitles)" />
            <text font="info value"> Subtitles, </text>
          </if>
          <if expression="chapters">
            <text height="line_height"
              align="left" font="info value"
              mode="hard" expression="chapters" />
            <text font="info value"> Chapter</text>
          </if>
        </item>

        <item type="image">
          <if expression="name">
             <text height="line_height" width="max"
                   align="left" font="info title" 
                   mode="hard" expression="name" />
             <newline />
          </if>
          <if expression="width and height">
             <text height="line_height" width="100"
                   align="left" font="info label"
                   mode="hard">Geometry:</text>
             <goto_pos x="10" mode="relative" />
             <text height="line_height"
                   align="left" font="info value"
                   mode="hard" expression="width" />
             <text height="line_height"
                   align="left" font="info value"
                   mode="hard">x</text>
             <text height="line_height"
                   align="left" font="info value"
                   mode="hard" expression="height" />
             <newline />
          </if>
          <if expression="date">
             <text height="line_height" width="100"
                   align="left" font="info label"
                   mode="hard">Date:</text>
             <goto_pos x="10" mode="relative" />
             <text height="line_height"
                   align="left" font="info value"
                   mode="hard" expression="date" />
             <newline />
          </if>
          <if expression="description">
             <text font="info plot" 
                   width="max" height="max"
                   mode="soft" align="left"
                   expression="description" />
             <newline />
          </if>
        </item>

        <item type="dir"/>

        <item type="playlist">
          <if expression="len(playlist)>0">
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="len(playlist)" />
             <text height="line_height"
                   align="left" font="info value"
                   mode="hard"> items in this playlist</text>
             <newline />          
          </if>
          <if expression="len(playlist)==0">
             <text height="line_height"
                   align="left" font="info value"
                   mode="hard">This playlist is empty!</text>
             <newline />          
          </if>
        </item>
      </content>
    </layout>





    <layout label="video info">
      <content x="0" y="0" type="text" spacing="20" font="default">
        <item type="video">
          <if expression="tagline">
             <text font="info tagline" 
                   width="max" height="line_height"
                   mode="hard" align="left"
                   expression="tagline" />
             <newline />
          </if>
          <if expression="plot">
            <goto_pos x="20" />
            <text font="info plot" 
              width="max-40" height="max"
              mode="soft" align="justified"
              expression="plot" />
            <newline />
          </if>

          <goto_pos y="10" mode="relative" />
          <if expression="year">
             <text height="line_height" width="100"
                   align="right" font="info value" 
                   mode="hard">Year:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="year" />
             <newline />          
          </if>
          <if expression="genre">
             <text height="line_height" width="100"
                   align="right" font="info value" 
                   mode="hard">Genre:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="genre" />
             <newline />          
          </if>
          <if expression="rating">
             <text height="line_height" width="100"
                   align="right" font="info value" 
                   mode="hard">Rating:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="rating" />
             <newline />          
          </if>

          <goto_pos y="10" mode="relative" />
          <if expression="length">
             <text height="line_height" width="100"
                   align="right" font="info value" 
                   mode="hard">Runtime:</text>
             <goto_pos x="10" mode="relative" />                   
             <text height="line_height"
                   align="left" font="info value" 
                   mode="hard" expression="length" />
             <newline />          
          </if>

          <text height="line_height" width="100"
            align="right" font="info value" 
            mode="hard">Type:</text>
          <goto_pos x="10" mode="relative" />              
          <text height="line_height"
            align="left" font="info value" 
            mode="hard" expression="type" />
          <newline />     

          <if expression="copyright">
            <text height="line_height" width="100"
              align="right" font="info value" 
              mode="hard">Copyright:</text>
            <goto_pos x="10" mode="relative" />            
            <text height="line_height"
              align="left" font="info value" 
              mode="hard" expression="copyright" />
            <newline />   
          </if>

        </item>
        <item type="default"/>
      </content>
    </layout>





  </skin>
</freevo>




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to