home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 November / CDVD1105.ISO / Util / Winamp / Skins / EMP.wal / windowframe.xml < prev   
Text File  |  2003-06-19  |  13KB  |  238 lines

  1. <elements>
  2. <bitmap id="bumper.topleft" file="images/component-bumper-topleft.png"/>
  3. <bitmap id="bumper.topright" file="images/component-bumper-topright.png"/>
  4. <bitmap id="bumper.bottomleft" file="images/component-bumper-bottomleft.png"/>
  5. <bitmap id="bumper.bottomright" file="images/component-bumper-bottomright.png"/>
  6.  
  7. <bitmap id="frame.bottomleft" file="images/component-frame-bottomleft.png" gammagroup="backgrounds"/>
  8. <bitmap id="frame.bottomright" file="images/component-frame-bottomright.png" gammagroup="backgrounds"/>
  9. <bitmap id="frame.bottomstretch" file="images/component-frame-bottomstretch.png" gammagroup="backgrounds"/>
  10. <bitmap id="frame.leftstretch" file="images/component-frame-leftstretch.png" gammagroup="backgrounds"/>
  11. <bitmap id="frame.rightstretch" file="images/component-frame-rightstretch.png" gammagroup="backgrounds"/>
  12.  
  13. <bitmap id="frame.topcover" file="images/component-frame-topcover.png" gammagroup="backgrounds"/>
  14. <bitmap id="frame.topleft" file="images/component-frame-topleft.png" gammagroup="backgrounds"/>
  15. <bitmap id="frame.topright" file="images/component-frame-topright.png" gammagroup="backgrounds"/>
  16. <bitmap id="frame.topstretch" file="images/component-frame-topstretch.png" gammagroup="backgrounds"/>
  17.  
  18. <bitmap id="cut.topleft" file="images/component-cut-topleft.png"/>
  19. <bitmap id="cut.topright" file="images/component-cut-topright.png"/>
  20. <bitmap id="cut.bottomleft" file="images/component-cut-bottomleft.png"/>
  21. <bitmap id="cut.bottomright" file="images/component-cut-bottomright.png"/>
  22. <bitmap id="cut.hstretch" file="images/component-cut-horizstretch.png"/>
  23. <bitmap id="cut.vstretch" file="images/component-cut-vertstretch.png"/>
  24.  
  25. <bitmap id="deco.lcddeco" file="images/component-lcddeco.png" gammagroup="lcdelements"/>
  26. <bitmap id="deco.lcddecostretch" file="images/component-lcddeco.png" x="0" y="0" w="1" h="3" gammagroup="lcdelements"/>
  27. <bitmap id="deco.reflection" file="images/component-reflection.png"/>
  28. <bitmap id="sizer.left" file="images/component-sizer-left.png" gammagroup="physbuttons"/>
  29. <bitmap id="sizer.right" file="images/component-sizer-right.png" gammagroup="physbuttons"/>
  30. <bitmap id="sizer.bottom" file="images/component-sizer-bottom.png" gammagroup="physbuttons"/>
  31.  
  32. <bitmap id="component.bgtexture" file="images/component-bgtexture.png" gammagroup="componentlcd"/>
  33.  
  34. <bitmap id="compbtn.prev" file="images/component-prev.png" gammagroup="lcdelements"/>
  35. <bitmap id="compbtn.prev.pressed" file="images/component-prev-pressed.png" gammagroup="lcdelements"/>
  36. <bitmap id="compbtn.play" file="images/component-play.png" gammagroup="lcdelements"/>
  37. <bitmap id="compbtn.play.pressed" file="images/component-play-pressed.png" gammagroup="lcdelements"/>
  38. <bitmap id="compbtn.pause" file="images/component-pause.png" gammagroup="lcdelements"/>
  39. <bitmap id="compbtn.pause.pressed" file="images/component-pause-pressed.png" gammagroup="lcdelements"/>
  40. <bitmap id="compbtn.stop" file="images/component-stop.png" gammagroup="lcdelements"/>
  41. <bitmap id="compbtn.stop.pressed" file="images/component-stop-pressed.png" gammagroup="lcdelements"/>
  42. <bitmap id="compbtn.next" file="images/component-next.png" gammagroup="lcdelements"/>
  43. <bitmap id="compbtn.next.pressed" file="images/component-next-pressed.png" gammagroup="lcdelements"/>
  44.  
  45. <bitmap id="compbtn.opacitymenu" file="images/component-opacitymenu.png" gammagroup="physbuttons"/>
  46. <bitmap id="compbtn.opacitymenu.pressed" file="images/component-opacitymenu-pressed.png" gammagroup="physbuttons"/>
  47. <bitmap id="compbtn.iconmode" file="images/component-iconmode.png" gammagroup="physbuttons"/>
  48. <bitmap id="compbtn.iconmode.pressed" file="images/component-iconmode-pressed.png" gammagroup="physbuttons"/>
  49. <bitmap id="compbtn.close" file="images/component-close.png" gammagroup="physbuttons"/>
  50. <bitmap id="compbtn.close.pressed" file="images/component-close-pressed.png" gammagroup="physbuttons"/>
  51.  
  52. <bitmap id="iconmode.bg" file="images/component-imode-bg.png" gammagroup="backgrounds"/>
  53. <bitmap id="iconmode.restore" file="images/component-imode-restore.png" gammagroup="physbuttons"/>
  54. <bitmap id="iconmode.restore.pressed" file="images/component-imode-restore-pressed.png" gammagroup="physbuttons"/>
  55.  
  56. <bitmap id="component.reflection.bottom" file="images/component-reflection-bottom.png"/>
  57. <bitmap id="component.reflection.top" file="images/component-reflection-top.png"/>
  58. </elements>
  59.  
  60.  
  61.  
  62. <!--
  63. ****************************************************************
  64.           WASABI COMPONENT CONTAINER DEFINITIONS
  65. ****************************************************************
  66. -->
  67.  
  68.  
  69.  
  70. <container id="resizable_status" name=":componenttitle" dynamic="1" hold="@all@" default_x="275" default_y="0">
  71.    <layout id="normal" minimum_h="160" minimum_w="315" linkwith="imode">
  72.      <Wasabi:StandardFrame:Status id="wasabi.standardframe"
  73.       x="0" y="0" w="0" h="0" relatw="1" relath="1" 
  74.       content="component.content.group" 
  75.      />
  76.    </layout>
  77.    <layout id="imode" background="iconmode.bg" linkwith="normal" desktopalpha="1">
  78.     <button
  79.         x="47" y="31" image="iconmode.restore" downImage="iconmode.restore.pressed"
  80.         action="SWITCH" param="normal" tooltip="Show Component"
  81.     />
  82.     <text
  83.         x="17" y="19" w="111" h="12" font="bar.font" align="center" ticker="1"
  84.         default=":componentname" ghost="0"
  85.     />
  86.     <button image="thinger.close" downImage="thinger.close.pressed" x="129" y="20" action="CLOSE" tooltip="Close Component" rectrgn="1"/>
  87.    </layout>
  88.   </container>
  89.   <container id="resizable_nostatus" name=":componenttitle" dynamic="1" hold="@all@" default_x="275" default_y="0">
  90.    <layout id="resizable_nostatus" minimum_h="160" minimum_w="315">
  91.      <Wasabi:StandardFrame:NoStatus 
  92.       x="0" y="0" w="0" h="0" relatw="1" relath="1" 
  93.       content="component.content.group" 
  94.      />
  95.    </layout>
  96.   </container>
  97.   <container id="modal" name=":componenttitle" dynamic="1" hold="@all@" default_x="275" default_y="0">
  98.    <layout id="modal" minimum_h="160" minimum_w="315">
  99.      <Wasabi:StandardFrame:Modal
  100.       x="0" y="0" w="0" h="0" relatw="1" relath="1" 
  101.       content="component.content.group" 
  102.      />
  103.    </layout>
  104.   </container>
  105.   <container id="static" name=":componenttitle" dynamic="1" hold="@all@" default_x="275" default_y="0">
  106.    <layout id="static" minimum_h="160" minimum_w="315">
  107.      <Wasabi:StandardFrame:Static 
  108.       x="0" y="0" w="0" h="0" relatw="1" relath="1" 
  109.       content="component.content.group" 
  110.      />
  111.    </layout>
  112.   </container>
  113.  
  114.  
  115. <!--
  116. **********************************************************************
  117.                  BASIC FRAME LAYOUT (INSERTED INTO GROUPS)
  118. **********************************************************************
  119. -->
  120. <groupdef id="wasabi.titlebar">
  121.     <text id="component.titlebar.title" ghost="1" w="0" h="11" relatw="1" align="center" default=":componentname" font="bar.font"/>
  122. </groupdef>
  123.  
  124.  
  125. <groupdef id="wasabi.frame.layout" background="component.bgtexture">
  126.       
  127. <layer image="bumper.topleft" x="0" y="0" resize="topleft"/>
  128. <layer image="bumper.topright" x="-49" y="0" relatx="1" resize="topright"/>
  129. <layer image="bumper.bottomleft" x="0" y="-47" relaty="1" resize="bottomleft"/>
  130. <layer image="bumper.bottomright" x="-49" y="-47" relatx="1" relaty="1" resize="bottomright"/>
  131.  
  132. <layer id="resize.disabler" x="9" y="9" w="-18" h="-18" relatw="1" relath="1"/>
  133.  
  134. <layer image="frame.bottomleft" x="6" y="-25" relaty="1"/>
  135. <layer image="frame.bottomright" x="-26" y="-25" relatx="1" relaty="1"/>
  136. <layer image="frame.bottomstretch" x="26" y="-25" w="-52" relaty="1" relatw="1"/>
  137. <layer image="frame.leftstretch" x="6" y="39" h="-64" relath="1"/>
  138. <layer image="frame.rightstretch" x="-26" y="39" h="-64" relatx="1" relath="1"/>
  139.  
  140. <layer image="frame.topleft" x="6" y="6"/>
  141. <layer image="frame.topright" x="-106" y="6" relatx="1"/>
  142. <layer image="frame.topstretch" x="232" y="6" w="-338" relatw="1"/>
  143. <layer image="frame.topcover" x="202" y="6"/>
  144.  
  145. <layer image="sizer.left" x="8" y="59" resize="left"/>
  146. <layer image="sizer.right" x="-17" y="59" relatx="1" resize="right"/>
  147. <layer image="sizer.bottom" x="19" y="-18" relaty="1" resize="bottom"/>
  148. <layer image="sizer.bottom" x="-59" y="-18" relatx="1" relaty="1" resize="bottom"/>
  149.  
  150. <layer image="cut.topleft" x="0" y="0" sysregion="-2"/>
  151. <layer image="cut.topright" x="-49" y="0" relatx="1" sysregion="-2"/>
  152. <layer image="cut.hstretch" x="49" y="0" w="-98" relatw="1" sysregion="-2"/>
  153. <layer image="cut.vstretch" x="0" y="48" h="-96" relath="1" sysregion="-2"/>
  154. <layer image="cut.vstretch" x="-6" y="48" h="-96" relatx="1" relath="1" sysregion="-2"/>
  155. <layer image="cut.bottomleft" x="0" y="-48" relaty="1" sysregion="-2"/>
  156. <layer image="cut.bottomright" x="-49" y="-48" relatx="1" relaty="1" sysregion="-2"/>
  157. <layer image="cut.hstretch" x="49" y="-6" w="-98" relaty="1" relatw="1" sysregion="-2"/>
  158.  
  159. <!-- PLAY BUTTONS, ICON MODE BUTTON?, AND DECO ONLY GO IN STATUSBAR MODE -->
  160.  
  161. <button id="component.close" image="compbtn.close" downImage="compbtn.close.pressed" x="-32" relatx="1" y="12" action="CLOSE" tooltip="Close Component"/>
  162.  
  163.   <group id="wasabi.titlebar" x="62" y="22" w="138" h="11"/>
  164.   <layer id="compref" image="deco.reflection" x="49" y="19" ghost="1"/>
  165. </groupdef>
  166.  
  167.  
  168. <!--
  169. **********************************************************************
  170.                  WASABI.STANDARDFRAME.STATUSBAR
  171. **********************************************************************
  172. -->
  173.  
  174.  
  175.  <groupdef id="wasabi.standardframe.statusbar" background="wasabi.frame.basetexture" sysregion="1" inherit_content="0" xuitag="Wasabi:StandardFrame:Status">
  176.    <group id="wasabi.frame.layout" x="0" y="0" w="0" relatw="1" h="0" relath="1"/>
  177.     <layer image="deco.lcddeco" x="21" y="-40" relaty="1"/>
  178.     <layer image="deco.lcddecostretch" x="136" y="-40" w="-157" relaty="1" relatw="1"/>
  179.     <button image="compbtn.prev" downImage="compbtn.prev.pressed" action="PREV" x="23" y="-34" relaty="1" rectrgn="1" tooltip="Previous Track"/>
  180.     <button image="compbtn.play" downImage="compbtn.play.pressed" action="PLAY" x="40" y="-34" relaty="1" rectrgn="1" tooltip="Play"/>
  181.     <button image="compbtn.pause" downImage="compbtn.pause.pressed" action="PAUSE" x="57" y="-34" relaty="1" rectrgn="1" tooltip="Pause"/>
  182.     <button image="compbtn.stop" downImage="compbtn.stop.pressed" action="STOP" x="74" y="-34" relaty="1" rectrgn="1" tooltip="Stop"/>
  183.     <button image="compbtn.next" downImage="compbtn.next.pressed" action="NEXT" x="91" y="-34" relaty="1" rectrgn="1" tooltip="Next Track"/>
  184.     <button id="iconmode" image="compbtn.iconmode" downImage="compbtn.iconmode.pressed" ACTION="switch" PARAM="imode" x="-50" y="12" relatx="1" tooltip="Enter Component Icon Mode"/>
  185.     <button action="CONTROLMENU" image="compbtn.opacitymenu" downImage="compbtn.opacitymenu.pressed" x="-69" y="12" relatx="1" tooltip="Size and Opacity Menu"/>
  186.   <LayoutStatus id="standardframe.layoutstatus" x="132" y="-36" relaty="1" w="-156" relatw="1" h="15" exclude="{system}" />
  187. <script id="standardframe.script" file="scripts/standardframe.maki" param="24,37,-48,-79,0,0,1,1" />
  188. </groupdef>
  189.  
  190. <!--
  191. **********************************************************************
  192.                  WASABI.STANDARDFRAME.NOSTATUSBAR
  193. **********************************************************************
  194. -->
  195.  
  196. <groupdef id="wasabi.standardframe.nostatusbar" background="wasabi.frame.basetexture" sysregion="1" inherit_content="0" xuitag="Wasabi:StandardFrame:NoStatus">
  197.   <group id="wasabi.frame.layout" x="0" y="0" w="0" h="0" relatw="1" relath="1"/>
  198.   <script id="standardframe.script" file="scripts/standardframe.maki" param="24,37,-48,-61,0,0,1,1" />
  199. </groupdef>
  200.  
  201. <!--
  202. **********************************************************************
  203.                  WASABI.STANDARDFRAME.MODAL
  204. **********************************************************************
  205. -->
  206.  
  207. <groupdef id="wasabi.standardframe.modal" inherit_group="wasabi.standardframe.nostatusbar" sysregion="1" xuitag="Wasabi:StandardFrame:Modal">
  208.  
  209.   <!--  THIS IS THE BORDER AROUND BOX
  210.       <group 
  211.         id="wasabi.panel"
  212.         x="5" y="15"
  213.         w="-10" h="-20"
  214.         relatw="1" relath="1"
  215.       /> -->
  216.   <hideobject target="sysmenu"/>
  217.   <!-- <sendparams target="titlebar" x="3" w="-20" relatw="1" /> -->
  218.   <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" />
  219. </groupdef>
  220.  
  221. <!--
  222. **********************************************************************
  223.                  WASABI.STANDARDFRAME.STATIC
  224. **********************************************************************
  225. -->
  226.  
  227. <groupdef id="wasabi.standardframe.static" inherit_group="wasabi.standardframe.nostatusbar" sysregion="1" xuitag="Wasabi:StandardFrame:Static">
  228.  
  229.   <!--  THIS IS THE BORDER AROUND BOX
  230.       <group 
  231.         id="wasabi.panel"
  232.         x="5" y="15"
  233.         w="-10" h="-20"
  234.         relatw="1" relath="1"
  235.       /> -->
  236.   <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" />
  237. </groupdef>
  238.