home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 January / 01_03.iso / service / winamp3 / files / skins / Chronabie.wal / xml / components-normal.xml < prev    next >
Text File  |  2002-08-07  |  5KB  |  187 lines

  1. <!-- Define the elements of standard frme and place in a group -->
  2. <groupdef id="studio.standardframe" background="studio.list.background">
  3.  
  4.   <layer
  5.     x="16"
  6.     y="16"
  7.     w="-24"
  8.     relatw="1"
  9.     h="-37"
  10.     relath="1"
  11.     image="studio.list.background"
  12.     sysregion="1"
  13.   />
  14.   
  15.   <layer
  16.     id="topstretch"
  17.     x="18" y="0" w="-55" h="17"
  18.     relatw="1"
  19.     image="component.top-stretch"
  20.     resize="top"
  21.     move="1"
  22.     sysregion="1"
  23.   />
  24.   <layer
  25.     id="bottomstretch"
  26.     x="10" y="-38"
  27.     relaty="1"
  28.     w="-5"
  29.     relatw="1"
  30.     image="component.bottom-stretch"
  31.     resize="bottom"
  32.     sysregion="1"
  33.   />
  34.   <layer
  35.     id="leftstretch"
  36.     x="0" y="40" w="17" h="-5"
  37.     relath="1"
  38.     image="component.left-stretch"
  39.     resize="left"
  40.     sysregion="1"
  41.   />
  42.   <layer
  43.     id="rightstretch"
  44.     x="-19"
  45.     relatx="1"
  46.     h="5"
  47.     y="20"
  48.     w="19"
  49.     relath="1"
  50.     image="component.right-stretch"
  51.     resize="right"
  52.     sysregion="1"
  53.   />
  54.   <layer
  55.     id="topleftcorner"
  56.     x="0"
  57.     w="42"
  58.     y="0"
  59.     h="41"
  60.     image="component.top-left-corner"
  61.     resize="topleft" ghost="0" sysregion="1"
  62.   />
  63.   <layer
  64.     id="toprightcorner"
  65.     x="-63"
  66.     relatx="1"
  67.     h="41"
  68.     y="0"
  69.     image="component.top-right-corner"
  70.     resize="topright"
  71.     sysregion="1"
  72.   />
  73.   <layer
  74.     id="bottomleftcorner"
  75.     x="0"
  76.     y="-54"
  77.     w="40"
  78.     h="54"
  79.     relaty="1"
  80.     image="component.bottom-left-corner"
  81.     resize="bottomleft"
  82.     sysregion="1"
  83.   />
  84.   <layer
  85.     id="bottomrightcorner"
  86.     x="-61"
  87.     relatx="1"
  88.     y="-53"
  89.     relaty="1"
  90.     image="component.bottom-right-corner"
  91.     resize="bottomright"
  92.     scale="bottomright"
  93.     sysregion="1"
  94.   />
  95.  
  96.   <layer
  97.     id="cornerresize"
  98.     x="-14"
  99.     relatx="1"
  100.     y="-14"
  101.     relaty="1"
  102.     image="component.bottom-right-resize"
  103.     resize="bottomright"
  104.     scale="bottomright"
  105.     sysregion="1"
  106.   />
  107.  
  108.   <layer
  109.     x="42"
  110.     y="4"
  111.     w="-75"
  112.     relatw="1"
  113.     h="14"
  114.     relath="1"
  115.     move="1"
  116.   />
  117.   
  118.   <text
  119.     id="titlebar"
  120.     ghost="1"
  121.     x="28"
  122.     y="16"
  123.     w="-55"
  124.     relatw="1"
  125.     h="20"
  126.     align="Center"
  127.     default=":componentname"
  128.     font="arial"
  129.     bold="0"
  130.     fontsize="12"
  131.     color="86,86,86"
  132.     doborder="0"
  133.     border="0"
  134.   />
  135. <!-- old title text studio.component.title -->
  136.  
  137.   <button
  138.     id="Close"
  139.     action="CLOSE"
  140.     x="-35" y="0"
  141.     relatx="1"
  142.     image="component.minimize"
  143.     downImage="component.minimize-pressed"
  144.     hoverimapge="component.button.minimize.hover"
  145.     tooltip="Close Window"
  146.   />
  147.   <layer x="0" y="0" w="0" h="0" image="studio.config.textbg"
  148.     relatw="1"
  149.     id="cfg.bg"
  150.   />
  151.  
  152. <!-- Cover regions, part a plug for the two bottom corners -->
  153. <!-- the remainder two were needed when stardard frame was applied -->
  154. <!-- due to backround colors defined in the layout --> 
  155.   <layer id="region-top-left" x="0" y="0" image="component.region.top.left" sysregion="-2" /> 
  156.   <layer id="region-top-right" x="-19" y="0" relatx="1" image="component.region.top.right" sysregion="-2" />
  157.   <layer id="region-left" x="0" y="-18" relaty="1" image="component.region.left" sysregion="-2" /> 
  158.   <layer id="region-right" x="-18" y="-18" relatx="1" relaty="1" image="component.region.right" sysregion="-2"/>
  159.   <group id="wasabi.titlebar" x="0" y="0" w="0" h="0"/>
  160.  </groupdef>
  161.  
  162. <groupdef id="wasabi.standardframe.statusbar" inherit_content="0">
  163.   <group id="studio.standardframe" x="0" y="0" w="0" relatw="1" h="0" relath="1"/>
  164.   <LayoutStatus id="standardframe.layoutstatus" x="18" y="-69" relaty="1" w="-38" relatw="1" h="15" exclude="{system}" />
  165.   <script id="standardframe.script" file="scripts/standardframe.maki" param="18,35,-38,-104,0,0,1,1" />
  166. </groupdef>
  167.  
  168. <groupdef id="wasabi.standardframe.nostatusbar" inherit_content="0">
  169.   <group id="studio.standardframe" x="0" y="0" w="0" h="0" relatw="1" relath="1"/>
  170.   <script id="standardframe.script" file="scripts/standardframe.maki" param="18,35,-38,-104,0,0,1,1" />
  171. </groupdef>
  172.  
  173. <groupdef id="wasabi.standardframe.modal" inherit_group="wasabi.standardframe.nostatusbar">
  174.   <group 
  175.     id="wasabi.panel"
  176.     x="5" y="15"
  177.     w="-10" h="-20"
  178.     relatw="1" relath="1"
  179.   />
  180.   <hideobject target="sysmenu;cornerresize"/>
  181. </groupdef>
  182.  
  183. <groupdef id="wasabi.standardframe.static" inherit_group="wasabi.standardframe.nostatusbar">
  184.   <hideobject target="cornerresize" />
  185. </groupdef>
  186.  
  187.