<elements>
  <bitmap id="sc.cdbox.bg" file="xui\NowPlaying\cdbox-bg_drop.png"/>
  <bitmap id="sc.cdbox.fg" file="xui\NowPlaying\cdbox-fg.png"/>
  <bitmap id="sc.cdbox.bg.ref" file="xui\NowPlaying\cdbox-bg-reflection.png"/>
  <bitmap id="sc.cdbox.ref" file="xui\NowPlaying\blank.png"/>

  <bitmap id="ratings.nostar" file="xui\NowPlaying\ratings-nostar.png"/>
  <bitmap id="ratings.star" file="xui\NowPlaying\ratings-star.png"/>
  <bitmap id="ratings.hover" file="xui\NowPlaying\ratings-hover.png"/>
</elements>
<!--
<groupdef id="sc.nowplaying.ratings">
  <text id="rate.line.1" x="0" y="-5" w="65" h="20" color="250,250,250" fontsize="40" text="*****" alpha="50" valign="top"/>
  <text id="rate.line.2" x="0" y="-5" w="65" h="20" color="240,240,240" fontsize="40" text="" alpha="255" valign="top"/>
  <text id="rate.line.3" x="0" y="-5" w="65" h="20" color="255,255,255" fontsize="40" text="" alpha="255" valign="top"/>

  <button id="rate.1" x="0" y="0" w="21" h="0" relatw="2" relath="1" rectrgn="1" cursor="IDC_HAND"/>
  <button id="rate.2" x="20" y="0" w="21" h="0" relatx="2" relatw="2" relath="1" rectrgn="1" cursor="IDC_HAND"/>
  <button id="rate.3" x="40" y="0" w="21" h="0" relatx="2" relatw="2" relath="1" rectrgn="1" cursor="IDC_HAND"/>
  <button id="rate.4" x="60" y="0" w="21" h="0" relatx="2" relatw="2" relath="1" rectrgn="1" cursor="IDC_HAND"/>
  <button id="rate.5" x="80" y="0" w="21" h="0" relatx="2" relatw="2" relath="1" rectrgn="1" cursor="IDC_HAND"/>

  <script file="xui\NowPlaying\ratings.maki"/>

  <Wasabi:Ratings
    x="0" y="0" w="78" h="14"
    image_nostar="ratings.nostar"
    image_star="ratings.star"
    image_hoverstar="ratings.hover"
  />
</groupdef>-->
 

<groupdef id="sc.nowplaying" xuitag="SC:NowPlaying">
  <rect id="sc.nowplaying.bg"  w="0" h="0" color="255,255,255" filled="1"/>

  <SC:FadeText id="sc.nowplaying.line3" x="0" y="-2" w="0" h="42" relatw="1" fgcolor="255,255,255" align="center" fontsize="42" alpha="255"/>
  <SC:FadeText id="sc.nowplaying.line2" x="0" y="38" w="0" h="32" relatw="1" fgcolor="255,255,255" align="center" fontsize="34" alpha="255"/>
  <SC:FadeText id="sc.nowplaying.line1" x="0" y="70" w="0" h="32" relatw="1" fgcolor="255,255,255" align="center" fontsize="34" alpha="255"/>
  <SC:FadeText id="sc.nowplaying.line0" x="0" y="100" w="0" h="32" relatw="1" fgcolor="255,255,255" align="center" fontsize="34" alpha="255"/>

  <group id="sc.nowplaying.cdbox.holder" x="0" y="130" w="-5" h="-78" relatw="1" relath="1"/>

  <!--<group id="sc.nowplaying.ratings" x="0" y="110" w="78" h="14"/>-->

  <script file="xui\NowPlaying\NowPlaying.maki"/>
  <script file="xui\NowPlaying\albumart.maki"/>
</groupdef>

<groupdef id="sc.nowplaying.cdbox.holder">
  <group id="sc.nowplaying.cdbox" x="20" y="20" w="300" h="300"/>
  <group id="sc.nowplaying.cdbox.reflection" x="20" y="310" w="300" h="300" alpha="255"/>
  <group id="sc.nowplaying.cdbox.reflection.mask" x="20" y="310" w="0" h="0"/>
</groupdef>

<groupdef id="sc.nowplaying.cdbox" background="sc.cdbox.bg" move="1">
  <AlbumArt id="main.albumart" x="12" y="4" w="85" h="93" relatx="2" relaty="2" relatw="2" relath="2" wantfocus="1" stretched="1"/>
  <layer fitparent="1" image="sc.cdbox.fg" ghost="1" />
</groupdef>

<groupdef id="sc.nowplaying.cdbox.reflection" move="1" >
  <layer id="bgref" image="sc.cdbox.bg.ref" fitparent="1"  y="-10"/>
  <AlbumArt id="main.albumart.reflection" x="12" y="-3" w="85" h="98" alpha="255" relatx="2" relaty="2" relatw="2" relath="2" wantfocus="0" stretched="1"/>
  <layer id="cdbox.fg.reflection"  fitparent="1" y="-10" image="sc.cdbox.fg" ghost="1" alpha="175"/>
</groupdef>

<groupdef id="sc.nowplaying.cdbox.reflection.mask" move="1">
  <gradient
    id="cdbox.fg.fademask"
     w="0" h="0"
    gradient_x2="0"
    points="0.0=128,128,128,0;1.0=128,128,128,255"
    ghost="1"
    alpha="255"
  />
</groupdef>
