aboutsummaryrefslogtreecommitdiff
path: root/Src/resources/skins/Bento/xml/standardframe.xml
blob: 829b4a7d24717a1ec54450a08f14db6987a5671b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!-- =======================================================================================================

  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>