window_menus.xml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. <!-- Common menu buttons -->
  2. <groupdef id="menu.button.normal" xuitag="menu:button_normal" rectrgn="1" h="16">
  3. <!-- Dummy -->
  4. </groupdef>
  5. <groupdef id="menu.button.hover" xuitag="menu:button_hover" rectrgn="1" h="16">
  6. <layer id="button.left" image="button.menu.hover.left" x="0" y="0"/>
  7. <layer id="button.middle" image="button.menu.hover.middle" x="4" y="0" w="-7" relatw="1"/>
  8. <layer id="button.right" image="button.menu.hover.right" x="-3" y="0" relatx="1"/>
  9. </groupdef>
  10. <groupdef id="menu.button.pressed" xuitag="menu:button_pressed" rectrgn="1" h="16">
  11. <layer id="button.left" image="button.menu.pressed.left" x="0" y="0"/>
  12. <layer id="button.middle" image="button.menu.pressed.middle" x="4" y="0" w="-7" relatw="1"/>
  13. <layer id="button.right" image="button.menu.pressed.right" x="-3" y="0" relatx="1"/>
  14. </groupdef>
  15. <!-- End of menu buttons -->
  16. <groupdef id="menugroup.file" autowidthsource="File.txt" h="16">
  17. <menu:button_normal id="File.up.btn" x="0" y="0"/>
  18. <menu:button_pressed id="File.down.btn" x="0" y="0" visible="0"/>
  19. <menu:button_hover id="File.hover.btn" x="0" y="0" visible="0"/>
  20. <layer id="File.txt" image="txt.menu.file" x="0" y="0"/>
  21. <Menu id="File.menu" menugroup="main" next="Play.menu" prev="Help.menu" x="0" y="0" h="16" w="0" relatw="1" menu="WA5:File" normal="File.up.btn" hover="File.hover.btn" down="File.down.btn" />
  22. </groupdef>
  23. <groupdef id="menugroup.play" autowidthsource="Play.txt" h="16">
  24. <menu:button_normal id="Play.up.btn" x="0" y="0"/>
  25. <menu:button_pressed id="Play.down.btn" x="0" y="0" visible="0"/>
  26. <menu:button_hover id="Play.hover.btn" x="0" y="0" visible="0"/>
  27. <layer id="Play.txt" image="txt.menu.play" x="0" y="0"/>
  28. <Menu id="Play.menu" menugroup="main" next="Options.menu" prev="File.menu" x="0" y="0" h="16" w="0" relatw="1" menu="WA5:Play" normal="Play.up.btn" hover="Play.hover.btn" down="Play.down.btn" />
  29. </groupdef>
  30. <groupdef id="menugroup.options" autowidthsource="Options.txt" h="16">
  31. <menu:button_normal id="Options.up.btn" x="0" y="0"/>
  32. <menu:button_pressed id="Options.down.btn" x="0" y="0" visible="0"/>
  33. <menu:button_hover id="Options.hover.btn" x="0" y="0" visible="0"/>
  34. <layer id="Options.txt" image="txt.menu.options" x="0" y="0"/>
  35. <Menu id="Options.menu" menugroup="main" next="View.menu" prev="Play.menu" x="0" y="0" h="16" w="0" relatw="1" menu="WA5:Options" normal="Options.up.btn" hover="Options.hover.btn" down="Options.down.btn" />
  36. </groupdef>
  37. <groupdef id="menugroup.view" autowidthsource="View.txt" h="16">
  38. <menu:button_normal id="View.up.btn" x="0" y="0"/>
  39. <menu:button_pressed id="View.down.btn" x="0" y="0" visible="0"/>
  40. <menu:button_hover id="View.hover.btn" x="0" y="0" visible="0"/>
  41. <layer id="View.txt" image="txt.menu.view" x="0" y="0"/>
  42. <Menu id="View.menu" menugroup="main" next="Help.menu" prev="Options.menu" x="0" y="0" h="16" w="0" relatw="1" menu="WA5:Windows" normal="View.up.btn" hover="View.hover.btn" down="View.down.btn" />
  43. </groupdef>
  44. <groupdef id="menugroup.help" autowidthsource="Help.txt" h="16">
  45. <menu:button_normal id="Help.up.btn" x="0" y="0"/>
  46. <menu:button_pressed id="Help.down.btn" x="0" y="0" visible="0"/>
  47. <menu:button_hover id="Help.hover.btn" x="0" y="0" visible="0"/>
  48. <layer id="Help.txt" image="txt.menu.help" x="0" y="0"/>
  49. <Menu id="Help.menu" menugroup="main" next="File.menu" prev="View.menu" x="0" y="0" h="16" w="0" relatw="1" menu="WA5:Help" normal="Help.up.btn" hover="Help.hover.btn" down="Help.down.btn" />
  50. </groupdef>
  51. <groupdef id="menu.group" rectrgn="1">
  52. <group id="menugroup.file"/>
  53. <group id="menugroup.play"/>
  54. <group id="menugroup.options"/>
  55. <group id="menugroup.view"/>
  56. <group id="menugroup.help"/>
  57. <script id="mainmenu.script" file="scripts/menualign.maki" param="menugroup.file,menugroup.play,menugroup.options,menugroup.view,menugroup.help"/>
  58. </groupdef>
  59. <groupdef id="menugroup.pe_file" autowidthsource="label.txt" h="16">
  60. <menu:button_normal id="up.btn" x="0" y="0"/>
  61. <menu:button_pressed id="down.btn" x="0" y="0" visible="0"/>
  62. <menu:button_hover id="hover.btn" x="0" y="0" visible="0"/>
  63. <layer id="label.txt" image="txt.menu.file" x="0" y="0"/>
  64. <Menu id="PE_File.menu" menugroup="pl" next="PE_Playlist.menu" prev="PE_Help.menu" x="0" y="0" h="16" w="0" relatw="1" menu="WA5:PE_File" normal="up.btn" hover="hover.btn" down="down.btn" />
  65. </groupdef>
  66. <groupdef id="menugroup.pe_playlist" autowidthsource="label.txt" h="16">
  67. <menu:button_normal id="up.btn" x="0" y="0"/>
  68. <menu:button_pressed id="down.btn" x="0" y="0" visible="0"/>
  69. <menu:button_hover id="hover.btn" x="0" y="0" visible="0"/>
  70. <layer id="label.txt" image="txt.menu.playlist" x="0" y="0"/>
  71. <Menu id="PE_Playlist.menu" menugroup="pl" next="PE_Sort.menu" prev="PE_File.menu" x="0" y="0" h="16" w="0" relatw="1" menu="WA5:PE_Playlist" normal="up.btn" hover="hover.btn" down="down.btn" />
  72. </groupdef>
  73. <groupdef id="menugroup.pe_sort" autowidthsource="label.txt" h="16">
  74. <menu:button_normal id="up.btn" x="0" y="0"/>
  75. <menu:button_pressed id="down.btn" x="0" y="0" visible="0"/>
  76. <menu:button_hover id="hover.btn" x="0" y="0" visible="0"/>
  77. <layer id="label.txt" image="txt.menu.sort" x="0" y="0"/>
  78. <Menu id="PE_Sort.menu" menugroup="pl" next="PE_Help.menu" prev="PE_Playlist.menu" x="0" y="0" h="16" w="0" relatw="1" menu="WA5:PE_Sort" normal="up.btn" hover="hover.btn" down="down.btn" />
  79. </groupdef>
  80. <groupdef id="menugroup.pe_help" autowidthsource="label.txt" h="16">
  81. <menu:button_normal id="up.btn" x="0" y="0"/>
  82. <menu:button_pressed id="down.btn" x="0" y="0" visible="0"/>
  83. <menu:button_hover id="hover.btn" x="0" y="0" visible="0"/>
  84. <layer id="label.txt" image="txt.menu.help" x="0" y="0"/>
  85. <Menu id="PE_Help.menu" menugroup="pl" next="PE_File.menu" prev="PE_Sort.menu" x="0" y="0" h="16" w="0" relatw="1" menu="WA5:PE_Help" normal="up.btn" hover="hover.btn" down="down.btn" />
  86. </groupdef>
  87. <groupdef id="menu.group.pl" rectrgn="1">
  88. <group id="menugroup.pe_file"/>
  89. <group id="menugroup.pe_playlist"/>
  90. <group id="menugroup.pe_sort"/>
  91. <group id="menugroup.pe_help"/>
  92. <script id="mainmenu.script" file="scripts/menualign.maki" param="menugroup.pe_file,menugroup.pe_playlist,menugroup.pe_sort,menugroup.pe_help"/>
  93. </groupdef>
  94. <groupdef id="menugroup.ml_file" autowidthsource="label.txt" h="16">
  95. <menu:button_normal id="up.btn" x="0" y="0"/>
  96. <menu:button_pressed id="down.btn" x="0" y="0" visible="0"/>
  97. <menu:button_hover id="hover.btn" x="0" y="0" visible="0"/>
  98. <layer id="label.txt" image="txt.menu.file" x="0" y="0"/>
  99. <Menu id="ML_File.menu" menugroup="ml" next="ML_View.menu" prev="ML_Help.menu" x="0" y="0" h="16" w="0" relatw="1" menu="WA5:ML_File" normal="up.btn" hover="hover.btn" down="down.btn" />
  100. </groupdef>
  101. <groupdef id="menugroup.ml_view" autowidthsource="label.txt" h="16">
  102. <menu:button_normal id="up.btn" x="0" y="0"/>
  103. <menu:button_pressed id="down.btn" x="0" y="0" visible="0"/>
  104. <menu:button_hover id="hover.btn" x="0" y="0" visible="0"/>
  105. <layer id="label.txt" image="txt.menu.view" x="0" y="0"/>
  106. <Menu id="ML_View.menu" menugroup="ml" next="ML_Help.menu" prev="ML_File.menu" x="0" y="0" h="16" w="0" relatw="1" menu="WA5:ML_View" normal="up.btn" hover="hover.btn" down="down.btn" />
  107. </groupdef>
  108. <groupdef id="menugroup.ml_help" autowidthsource="label.txt" h="16">
  109. <menu:button_normal id="up.btn" x="0" y="0"/>
  110. <menu:button_pressed id="down.btn" x="0" y="0" visible="0"/>
  111. <menu:button_hover id="hover.btn" x="0" y="0" visible="0"/>
  112. <layer id="label.txt" image="txt.menu.help" x="0" y="0"/>
  113. <Menu id="ML_Help.menu" menugroup="ml" next="ML_File.menu" prev="ML_View.menu" x="0" y="0" h="16" w="0" relatw="1" menu="WA5:ML_Help" normal="up.btn" hover="hover.btn" down="down.btn" />
  114. </groupdef>
  115. <groupdef id="menu.group.ml" rectrgn="1">
  116. <group id="menugroup.ml_file"/>
  117. <group id="menugroup.ml_view"/>
  118. <group id="menugroup.ml_help"/>
  119. <script id="mainmenu.script" file="scripts/menualign.maki" param="menugroup.ml_file,menugroup.ml_view,menugroup.ml_help"/>
  120. </groupdef>
  121. <groupdef id="wasabi.menubar" background="wasabi.frame.basetexture" h="17">
  122. <layer
  123. id="menubar.left"
  124. x="0" y="0"
  125. w="5" h="17"
  126. image="wasabi.menubar.left"
  127. />
  128. <layer
  129. id="menubar.center"
  130. x="5" y="0"
  131. w="-50" h="17"
  132. relatw="1"
  133. image="wasabi.menubar.center"
  134. />
  135. <layer
  136. id="menubar.right"
  137. x="-45" y="0"
  138. w="45" h="17"
  139. relatx="1"
  140. image="wasabi.menubar.right"
  141. />
  142. <layer
  143. id="menubar.right"
  144. x="-45" y="0"
  145. w="45" h="17"
  146. relatx="1"
  147. image="wasabi.menubar.right.overlay"
  148. />
  149. <layer
  150. id="menubar.right.textoverlay"
  151. x="-45" y="0"
  152. w="45" h="17"
  153. relatx="1"
  154. image="wasabi.menubar.right.textoverlay"
  155. />
  156. <group id="menu.group" x="1" y="0"/>
  157. <script id="mainmenuoverlay.script" file="scripts/mainmenuoverlay.maki" />
  158. </groupdef>
  159. <groupdef id="wasabi.menubar.pl" background="wasabi.frame.basetexture" h="17">
  160. <layer
  161. id="menubar.left"
  162. x="0" y="0"
  163. w="5" h="17"
  164. image="wasabi.menubar.left"
  165. />
  166. <layer
  167. id="menubar.center"
  168. x="5" y="0"
  169. w="-50" h="17"
  170. relatw="1"
  171. image="wasabi.menubar.center"
  172. />
  173. <layer
  174. id="menubar.right"
  175. x="-45" y="0"
  176. w="45" h="17"
  177. relatx="1"
  178. image="wasabi.menubar.right"
  179. />
  180. <group id="menu.group.pl" x="1" y="0"/>
  181. </groupdef>
  182. <groupdef id="wasabi.menubar.ml" background="wasabi.frame.basetexture" h="17">
  183. <layer
  184. id="menubar.left"
  185. x="0" y="0"
  186. w="5" h="17"
  187. image="wasabi.menubar.left"
  188. />
  189. <layer
  190. id="menubar.center"
  191. x="5" y="0"
  192. w="-50" h="17"
  193. relatw="1"
  194. image="wasabi.menubar.center"
  195. />
  196. <layer
  197. id="menubar.right"
  198. x="-45" y="0"
  199. w="45" h="17"
  200. relatx="1"
  201. image="wasabi.menubar.right"
  202. />
  203. <group id="menu.group.ml" x="1" y="0"/>
  204. </groupdef>