Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/resources/skins/Bento/xml/standardframe.xml

153 lines
6.5 KiB
XML
Raw Normal View History

2024-09-24 12:54:57 +00:00
<!-- =======================================================================================================
This group serves as a template for all the Wasabi:StandardFrame objects
======================================================================================================== -->
<groupdef id="wasabi.frame.layout">
<layer x="0" y="0" h="1" w="1" image="window.background.region" regionop="-2" />
<layer x="-1" relatx="1" y="0" h="1" w="1" image="window.background.region" regionop="-2" />
<layer x="0" y="-1" relaty="1" h="1" w="1" image="window.background.region" regionop="-2" />
<layer x="-1" relatx="1" y="-1" relaty="1" h="1" w="1" image="window.background.region" regionop="-2" />
<grid
x="0" y="0" h="18" w="0" relatw="1" regionop="1"
left="window.titlebar.grid.left"
middle="window.titlebar.grid.middle"
right="window.titlebar.grid.right"
/>
<layer x="0" y="0" h="18" w="0" relatw="1" move="1" />
<text id="componentname" x="27" y="2" w="-77" h="14" relatw="1" fontsize="11" bold="1" default=":componentname" ghost="1" color="wasabi.titlebar.color" font="Arial" align="left" forceuppercase="1"/>
<layer x="0" y="18" w="5" h="5" image="window.background.topleft" resize="left" regionop="1"/>
<layer x="5" y="18" w="-10" relatw="1" h="5" image="window.background.top" regionop="1"/>
<layer x="-5" relatx="1" y="18" w="5" h="5" image="window.background.topright" resize="right" regionop="1"/>
<layer x="0" y="23" w="5" h="-28" relath="1" image="window.background.left" resize="left" regionop="1"/>
<layer x="5" y="23" w="-10" relatw="1" h="-28" relath="1" image="window.background.center" move="1" regionop="1"/>
<layer x="-5" relatx="1" y="23" w="5" h="-28" relath="1" image="window.background.right" resize="right" regionop="1"/>
<layer x="0" y="-5" relaty="1" w="5" h="5" image="window.background.bottomleft" resize="bottomleft" id="player.resizer.bottomleft" regionop="1"/>
<layer x="5" y="-5" relaty="1" w="-10" relatw="1" h="5" image="window.background.bottom" resize="bottom" id="player.resizer.bottom" regionop="1"/>
<layer x="-5" relatx="1" y="-5" relaty="1" w="5" h="5" image="window.background.bottomright" regionop="1"/>
<layer x="-20" y="-11" w="15" h="7" relaty="1" relatx="1" image="window.background.resizer" id="player.resizer.bottomright" rectrgn="1" regionop="1"/>
<layer x="-20" y="-11" w="20" h="11" relaty="1" relatx="1" resize="bottomright" id="player.resizer.bottomright.dummy" rectrgn="1" />
<layer id="window.resize.disabler" fitparent="1" move="1" visible="0"/>
<button
x="-41" relatx="1" y="2" h="13" w="17"
id="restore"
image="window.titlebar.button.restore.normal"
hoverImage="window.titlebar.button.restore.hover"
downImage="window.titlebar.button.restore.down"
tooltip="Restore Winamp"
/>
<button
x="-41" relatx="1" y="2" h="13" w="17"
id="maximize"
image="window.titlebar.button.maximize.normal"
hoverImage="window.titlebar.button.maximize.hover"
downImage="window.titlebar.button.maximize.down"
tooltip="Maximize Winamp"
/>
<button
x="5" y="2" h="13" w="15"
action="SYSMENU"
image="window.titlebar.button.sysmenu.normal"
hoverImage="window.titlebar.button.sysmenu.hover"
downImage="window.titlebar.button.sysmenu.down"
tooltip="Main Menu"
/>
<button
x="-22" relatx="1" y="2" h="13" w="17"
action="CLOSE"
image="window.titlebar.button.close.normal"
hoverImage="window.titlebar.button.close.hover"
downImage="window.titlebar.button.close.down"
tooltip="Close Window"
/>
<grid
x="0" y="0" h="18" w="0" relatw="1" regionop="1" ghost="1"
left="window.titlebar.grid.over.left"
middle="window.titlebar.grid.over.middle"
right="window.titlebar.grid.over.right"
/>
<LayoutStatus id="sysmenu.status" bg="0" x="5" y="2" h="13" w="15" includeonly="{system}" />
<hideobject target="sysmenu.status"/>
<script file="../Big Bento/scripts/simplemaximize.maki"/>
</groupdef>
<!-- =======================================================================================================
<Wasabi:StandardFrame:Status /> implementation
======================================================================================================== -->
<groupdef id="wasabi.standardframe.statusbar" background="wasabi.frame.basetexture" sysregion="1" xuitag="Wasabi:StandardFrame:Status">
<group id="wasabi.frame.layout" x="0" y="0" w="0" relatw="1" h="0" relath="1"/>
<LayoutStatus id="standardframe.layoutstatus" x="5" y="-33" relaty="1" w="-10" relatw="1" h="18" exclude="{system}" />
<script id="standardframe.script" file="../Big Bento/scripts/standardframe.maki" param="5,21,-10,-54,0,0,1,1" />
</groupdef>
<!-- =======================================================================================================
<Wasabi:StandardFrame:NoStatus /> implementation
======================================================================================================== -->
<groupdef id="wasabi.standardframe.nostatusbar" background="wasabi.frame.basetexture" sysregion="1" xuitag="Wasabi:StandardFrame:NoStatus">
<group id="wasabi.frame.layout" x="0" y="0" w="0" h="0" relatw="1" relath="1"/>
<script id="standardframe.script" file="../Big Bento/scripts/standardframe.maki" param="5,21,-10,-36,0,0,1,1" />
</groupdef>
<!-- =======================================================================================================
<Wasabi:StandardFrame:Modal /> implementation
======================================================================================================== -->
<groupdef id="wasabi.standardframe.modal" inherit_group="wasabi.standardframe.nostatusbar" background="wasabi.frame.basetexture" sysregion="1" xuitag="Wasabi:StandardFrame:Modal">
<sendparams target="window.resize.disabler" visible="1" />
<sendparams target="player.resizer.bottomright" visible="0" />
<sendparams target="restore" visible="0" />
<sendparams target="maximize" visible="0" />
</groupdef>
<!-- =======================================================================================================
<Wasabi:StandardFrame:Static /> implementation
======================================================================================================== -->
<groupdef id="wasabi.standardframe.static" inherit_group="wasabi.standardframe.nostatusbar" background="wasabi.frame.basetexture" sysregion="1" xuitag="Wasabi:StandardFrame:Static">
<sendparams target="window.resize.disabler" visible="1" />
<sendparams target="player.resizer.bottomright" visible="0" />
<sendparams target="restore" visible="0" />
<sendparams target="maximize" visible="0" />
</groupdef>