home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 November / CDVD1105.ISO / Util / Winamp / Skins / Official_Batman_Winamp5_Skin.wal / xml / frame.xml < prev    next >
Text File  |  2004-07-30  |  5KB  |  72 lines

  1. <elements>
  2.   <bitmap id="component.top.left" file="frame/frame.png" x="0" y="0" w="50" h="50" />
  3.   <bitmap id="component.top.middle" file="frame/frame.png" x="50" y="0" w="202" h="50" />
  4.   <bitmap id="component.top.right" file="frame/frame.png" x="252" y="0" w="50" h="50" />
  5.   <bitmap id="component.left" file="frame/frame.png" x="0" y="50" w="50" h="254" />
  6.   <bitmap id="component.right" file="frame/frame.png" x="252" y="50" w="50" h="254" />
  7.   <bitmap id="component.bottom.left" file="frame/frame.png" x="0" y="304" w="50" h="60" />
  8.   <bitmap id="component.bottom.middle" file="frame/frame.png" x="50" y="304" w="202" h="60" />
  9.   <bitmap id="component.bottom.right" file="frame/frame.png" x="252" y="304" w="50" h="60" />
  10.   <bitmap id="component.basetexture" file="frame/frame.png" x="50" y="50" w="50" h="60" />
  11.  
  12.   <bitmap id="component.tl" file="frame/tl.png"/>
  13.   <bitmap id="component.bl" file="frame/bl.png"/>
  14.   <bitmap id="component.tr" file="frame/tr.png"/>
  15.   <bitmap id="component.br" file="frame/br.png"/>
  16.  
  17.   <bitmap id="component.close.n" file="frame/close-n.png"/>
  18.   <bitmap id="component.close.d" file="frame/close-d.png"/>
  19. </elements>
  20.  
  21. <groupdef id="wasabi.frame.layout">
  22.   <layer id="left" x="0" y="50" w="50" h="-110" relath="1" image="component.left" />
  23.   <layer id="right" x="-50" y="50" w="50" h="-110" relatx="1" relath="1" image="component.right" />
  24.  
  25.   <layer id="top.left" x="0" y="0" image="component.top.left" />
  26.   <layer id="top.middle" x="50" y="0" w="-100" h="50" relatw="1" image="component.top.middle" />
  27.   <layer id="top.right" x="-50" y="0" relatx="1" image="component.top.right" />
  28.  
  29.   <layer id="bottom.left" x="0" y="-60" relaty="1" image="component.bottom.left" />
  30.   <layer id="bottom.middle" x="50" y="-60" w="-100" h="60" relaty="1" relatw="1" image="component.bottom.middle" />
  31.   <layer id="bottom.right" x="-50" y="-60" relatx="1" relaty="1" image="component.bottom.right" />
  32.  
  33.   <layer x="0" y="0" h="10" w="10" rectrgn="1" resize="topleft" />
  34.   <layer x="10" y="0" h="10" w="-20" rectrgn="1" relatw="1" resize="top" />
  35.   <layer x="10" y="-10" h="10" relaty="1" w="-20" rectrgn="1" relatw="1" resize="bottom" />
  36.   <layer x="-10" y="0" h="10" w="10" rectrgn="1" relatx="1" resize="topright" />
  37.   <layer x="-10" y="-10" h="10" w="10" relaty="1" rectrgn="1" relatx="1" resize="bottomright" />
  38.   <layer x="0" y="-10" h="10" w="10" relaty="1" rectrgn="1" resize="bottomleft" />
  39.   <layer y="10" x="0" w="10" h="-20" relath="1" rectrgn="1" resize="left" />
  40.   <layer y="10" x="-10" w="10" h="-20" relath="1" relatx="1" rectrgn="1" resize="right" />
  41.  
  42.   <layer image="component.tl" sysregion="-2"/>
  43.   <layer image="component.tr" sysregion="-2" relatx="1" x="-10"/>
  44.   <layer image="component.bl" sysregion="-2" relaty="1" y="-10"/>
  45.   <layer image="component.br" sysregion="-2" relaty="1" relatx="1" y="-10" x="-10"/>
  46.  
  47.   <button image="component.close.n" downimage="component.close.d" relatx="1" x="-23" y="35" action="close"/>
  48. </groupdef>
  49.  
  50. <groupdef id="wasabi.standardframe.statusbar" background="component.basetexture" >
  51.     <group id="wasabi.frame.layout" x="0" y="0" w="0" relatw="1" h="0" relath="1"/>
  52.     <LayoutStatus id="frame.layoutstatus" x="17" y="-38" relaty="1" w="-34" relatw="1" h="16" exclude="{system}" />
  53.     <SysCmds id="syscmds"/>
  54.     <script id="standardframe.script" file="maki/standardframe.maki" param="26,44,-50,-96,0,0,1,1" />
  55.     <!--
  56.     -->
  57. </groupdef>
  58.  
  59. <groupdef id="wasabi.standardframe.nostatusbar" background="component.basetexture" >
  60.     <group id="wasabi.frame.layout" x="0" y="0" w="0" h="0" relatw="1" relath="1" />
  61.     <SysCmds id="syscmds"/>
  62.     <script id="standardframe.script" file="maki/standardframe.maki" param="25,25,-50,-76,0,0,1,1" />
  63. </groupdef>
  64.  
  65. <groupdef id="wasabi.standardframe.modal" inherit_group="wasabi.standardframe.nostatusbar">
  66.     <hideobject target="sysmenu"/>
  67.     <sendparams target="window.top.left;window.top;window.top.right;window.left;window.right;window.bottom.left.top;window.bottom.left;window.bottom.left.bottom;window.bottom.top;window.bottom;window.bottom.bottom;window.bottom.right.top;window.bottom.right;window.bottom.right.bottom" resize="0"/>
  68. </groupdef>
  69.  
  70. <groupdef id="wasabi.standardframe.static" inherit_group="wasabi.standardframe.nostatusbar" >
  71.     <sendparams target="window.top.left;window.top;window.top.right;window.left;window.right;window.bottom.left.top;window.bottom.left;window.bottom.left.bottom;window.bottom.top;window.bottom;window.bottom.bottom;window.bottom.right.top;window.bottom.right;window.bottom.right.bottom" resize="0" />
  72. </groupdef>