123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517 |
- <!-- =======================================================================================================
- This file implements the following objects :
- - Wasabi:MainFrame:NoStatus
- - Wasabi:PlaylistFrame:NoStatus
- - Wasabi:MediaLibraryFrame:NoStatus
- Available parameters :
- padtitleleft : resizes the title from the left by the specified amount of pixels
- padtitleright : resizes the title from the right by the specified amount of pixels
- content : tells the object which group to instantiate in its client area
- ======================================================================================================== -->
- <include file="standardframe-elements.xml" />
- <include file="window_menus.xml" />
- <groupdef id="wasabi.main.layout" h="161">
- <layer
- id="window.top.left"
- x="0" y="0"
- image="wasabi.frame.top.left"
- resize="topleft"
- sysregion="1"
- />
- <layer
- id="window.top"
- x="10" y="0"
- w="-20"
- relatw="1"
- image="wasabi.frame.top"
- resize="top"
- sysregion="1"
- />
- <layer
- id="window.top.right"
- x="-10" y="0"
- relatx="1"
- image="wasabi.frame.top.right"
- resize="topright"
- sysregion="1"
- />
- <layer
- id="window.top.left.region"
- x="0"
- y="0"
- image="wasabi.frame.top.left.region"
- sysregion="-2"
- />
- <layer
- id="window.top.right.region"
- x="-10"
- y="0"
- relatx="1"
- image="wasabi.frame.top.right.region"
- sysregion="-2"
- />
- <Wasabi:TitleBar
- id="wasabi.titlebar"
- x="10" y="0"
- w="-29" h="18"
- relatw="1"
- />
- <layer
- x="5" y="4"
- image="wasabi.button.bg.title"
- />
- <button
- id="MainMenu.inactive"
- action="SYSMENU"
- x="6" y="4"
- image="wasabi.button.sysmenu.inactive"
- tooltip="Main Menu"
- activeAlpha="0"
- />
- <button
- id="MainMenu"
- action="SYSMENU"
- x="6" y="4"
- image="wasabi.button.sysmenu"
- downImage="wasabi.button.sysmenu.pressed"
- hoverImage="wasabi.button.sysmenu.hover"
- tooltip="Main Menu"
- inactiveAlpha="0"
- />
- <button
- id="Close.inactive"
- action="CLOSE"
- x="-17" y="4"
- relatx="1"
- image="wasabi.button.exit.inactive"
- tooltip="Close Window"
- activeAlpha="0"
- />
- <button
- id="Close"
- action="CLOSE"
- x="-17" y="4"
- relatx="1"
- image="wasabi.button.exit"
- downImage="wasabi.button.exit.pressed"
- hoverImage="wasabi.button.exit.hover"
- tooltip="Close Window"
- inactiveAlpha="0"
- />
- </groupdef>
- <groupdef id="wasabi.standard.layout">
- <layer
- id="window.top.left"
- x="0" y="0"
- image="wasabi.frame.top.left"
- resize="topleft"
- sysregion="1"
- />
- <layer
- id="window.top"
- x="10" y="0"
- w="-20"
- relatw="1"
- image="wasabi.frame.top"
- resize="top"
- sysregion="1"
- />
- <layer
- id="window.top.right"
- x="-10" y="0"
- relatx="1"
- image="wasabi.frame.top.right"
- resize="topright"
- sysregion="1"
- />
- <layer
- id="window.top.left.region"
- x="0"
- y="0"
- image="wasabi.frame.top.left.region"
- sysregion="-2"
- />
- <layer
- id="window.top.right.region"
- x="-10"
- y="0"
- relatx="1"
- image="wasabi.frame.top.right.region"
- sysregion="-2"
- />
- <Wasabi:TitleBar
- id="wasabi.titlebar"
- x="10" y="0"
- w="-29" h="18"
- relatw="1"
- />
- <layer
- x="5" y="4"
- image="wasabi.button.bg.title"
- />
- <button
- id="MainMenu"
- action="SYSMENU"
- x="6" y="4"
- image="wasabi.button.sysmenu.inactive"
- tooltip="Main Menu"
- activeAlpha="0"
- />
- <button
- id="MainMenu"
- action="SYSMENU"
- x="6" y="4"
- image="wasabi.button.sysmenu"
- downImage="wasabi.button.sysmenu.pressed"
- hoverImage="wasabi.button.sysmenu.hover"
- tooltip="Main Menu"
- inactiveAlpha="0"
- />
- <button
- id="Close.inactive"
- action="CLOSE"
- x="-17" y="4"
- relatx="1"
- image="wasabi.button.exit.inactive"
- tooltip="Close Window"
- activeAlpha="0"
- />
- <button
- id="Close"
- action="CLOSE"
- x="-17" y="4"
- relatx="1"
- image="wasabi.button.exit"
- downImage="wasabi.button.exit.pressed"
- hoverImage="wasabi.button.exit.hover"
- tooltip="Close Window"
- inactiveAlpha="0"
- />
- </groupdef>
- <!-- <Wasabi:MainFrame:NoStatus /> implementation -->
- <groupdef id="wasabi.mainframe.nostatusbar" sysregion="1" xuitag="Wasabi:MainFrame:NoStatus">
- <group id="wasabi.main.layout" x="0" y="0" w="0" relatw="1" sysregion="1"/>
- <group id="wasabi.menubar" x="0" y="18" w="0" relatw="1" sysregion="1" visible="1"/>
- <script id="standardframe.script" file="scripts/standardframe.maki" param="0,18,0,0,0,0,1,1" />
- </groupdef>
- <!-- <Wasabi:PlaylistFrame:NoStatus /> implementation -->
- <groupdef id="wasabi.playlistframe.nostatusbar" sysregion="1" xuitag="Wasabi:PlaylistFrame:NoStatus">
- <group id="wasabi.standard.layout" x="0" y="0" w="0" relatw="1" sysregion="1"/>
- <group id="wasabi.menubar.pl" x="0" y="18" w="0" relatw="1" sysregion="1" visible="1"/>
- <script id="standardframe.script" file="scripts/standardframe.maki" param="0,18,0,0,0,0,1,1" />
- </groupdef>
- <!-- <Wasabi:MediaLibraryFrame:NoStatus /> implementation -->
- <groupdef id="wasabi.medialibraryframe.nostatusbar" sysregion="1" xuitag="Wasabi:MediaLibraryFrame:NoStatus">
- <group id="wasabi.standard.layout" x="0" y="0" w="0" relatw="1" sysregion="1"/>
- <group id="wasabi.menubar.ml" x="0" y="18" w="0" relatw="1" sysregion="1" visible="1"/>
- <script id="standardframe.script" file="scripts/standardframe.maki" param="0,18,0,0,0,0,1,1" />
- </groupdef>
- <!-- <Wasabi:VISFrame:NoStatus /> implementation -->
- <groupdef id="wasabi.visframe.nostatusbar" sysregion="1" xuitag="Wasabi:VISFrame:NoStatus">
- <group id="wasabi.standard.layout" x="0" y="0" w="0" relatw="1" sysregion="1"/>
- <script id="standardframe.script" file="scripts/standardframe.maki" param="0,18,0,0,0,0,1,1" />
- </groupdef>
- <!-- =======================================================================================================
- This group serves as a template for all the Wasabi:StandardFrame objects
- ======================================================================================================== -->
- <groupdef id="wasabi.frame.layout">
- <layer
- id="window.top.left"
- x="0" y="0"
- image="wasabi.frame.top.left"
- resize="topleft"
- sysregion="1"
- />
- <layer
- id="window.top"
- x="10" y="0"
- w="-20"
- relatw="1"
- image="wasabi.frame.top"
- resize="top"
- sysregion="1"
- />
- <layer
- id="window.top.right"
- x="-10" y="0"
- relatx="1"
- image="wasabi.frame.top.right"
- resize="topright"
- sysregion="1"
- />
- <layer
- id="window.top.left.region"
- x="0"
- y="0"
- image="wasabi.frame.top.left.region"
- sysregion="-2"
- />
- <layer
- id="window.top.right.region"
- x="-10"
- y="0"
- relatx="1"
- image="wasabi.frame.top.right.region"
- sysregion="-2"
- />
- <layer
- x="0" y="18"
- image="wasabi.window2.topleft"
- resize="topleft"
- />
- <layer
- x="6" y="18"
- w="-12"
- relatw="1"
- image="wasabi.window2.topcenter"
- resize="top"
- />
- <layer
- x="-6" y="18"
- relatx="1"
- image="wasabi.window2.topright"
- resize="topright"
- />
- <layer
- x="0" y="23"
- relath="1"
- h="-23"
- image="wasabi.window2.left"
- resize="left"
- />
- <layer
- x="-6" y="23"
- relatx="1"
- relath="1"
- h="-23"
- image="wasabi.window2.right"
- resize="right"
- />
- <layer id="window.resize.disabler" x="6" y="6" w="-12" h="-12" relatw="1" relath="1"/>
- <LayoutStatus id="sysmenu.status" bg="0" x="5" y="3" w="14" h="9" includeonly="{system}" />
- <hideobject target="sysmenu.status"/>
- <Wasabi:TitleBar
- id="wasabi.titlebar"
- x="20" y="0"
- w="-39" h="18"
- relatw="1"
- />
- <layer
- id="MainMenu.button.bg"
- x="5" y="4"
- image="wasabi.button.bg.title"
- />
- <button
- id="MainMenu.inactive"
- action="SYSMENU"
- x="6" y="4"
- image="wasabi.button.sysmenu.inactive"
- tooltip="Main Menu"
- activeAlpha="0"
- />
- <button
- id="MainMenu"
- action="SYSMENU"
- x="6" y="4"
- image="wasabi.button.sysmenu"
- downImage="wasabi.button.sysmenu.pressed"
- hoverImage="wasabi.button.sysmenu.hover"
- tooltip="Main Menu"
- inactiveAlpha="0"
- />
- <button
- id="Close.inactive"
- action="CLOSE"
- x="-17" y="4"
- relatx="1"
- image="wasabi.button.exit.inactive"
- tooltip="Close Window"
- activeAlpha="0"
- />
- <button
- id="Close"
- action="CLOSE"
- x="-17" y="4"
- relatx="1"
- image="wasabi.button.exit"
- downImage="wasabi.button.exit.pressed"
- hoverImage="wasabi.button.exit.hover"
- tooltip="Close Window"
- inactiveAlpha="0"
- />
- </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="-42" relath="1"/>
- <layer
- x="0" y="-42"
- relaty="1"
- image="wasabi.window2.bottomleft"
- resize="bottomleft"
- />
- <layer
- x="20" y="-25"
- w="-40"
- relatw="1"
- relaty="1"
- image="wasabi.window2.bottomcenter"
- resize="bottom"
- />
- <layer
- x="-20" y="-42"
- relatx="1"
- relaty="1"
- image="wasabi.window2.bottomright"
- resize="bottomright"
- />
- <layer
- x="0" y="-6"
- relaty="1"
- image="player.main.left.region"
- resize="left"
- sysregion="-2"
- />
- <layer
- x="-6" y="-6"
- relaty="1"
- relatx="1"
- image="player.main.right.region"
- sysregion="-2"
- />
- <layer
- id="window.resizer"
- x="-16" y="-16"
- relatx="1" relaty="1"
- image="wasabi.frame.resizer"
- resize="bottomright"
- scale="bottomright"
- />
- <LayoutStatus id="standardframe.layoutstatus" x="11" y="-21" relaty="1" w="-43" relatw="1" h="18" exclude="{system}" />
- <script id="standardframe.script" file="scripts/standardframe.maki" param="6,23,-12,-48,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="-15" relatw="1" relath="1"/>
- <layer
- x="0" y="-27"
- relaty="1"
- image="wasabi.window2.bottomleft.nostatus"
- resize="bottomleft"
- />
- <layer
- x="20" y="-10"
- w="-40"
- relatw="1"
- relaty="1"
- image="wasabi.window2.bottomcenter.nostatus"
- resize="bottom"
- />
- <layer
- x="-20" y="-27"
- relatx="1"
- relaty="1"
- image="wasabi.window2.bottomright.nostatus"
- resize="bottomright"
- />
- <layer
- x="0" y="-6"
- relaty="1"
- image="player.main.left.region"
- resize="left"
- sysregion="-2"
- />
- <layer
- x="-6" y="-6"
- relaty="1"
- relatx="1"
- image="player.main.right.region"
- sysregion="-2"
- />
- <script id="standardframe.script" file="scripts/standardframe.maki" param="6,23,-12,-33,0,0,1,1" />
- </groupdef>
- <!-- =======================================================================================================
- <Wasabi:StandardFrame:Modal /> implementation
- ======================================================================================================== -->
- <groupdef id="wasabi.standardframe.modal" inherit_group="wasabi.standardframe.nostatusbar" sysregion="1" xuitag="Wasabi:StandardFrame:Modal">
- <sendparams target="wasabi.titlebar" x="4" w="-22" relatw="1" />
- <hideobject target="MainMenu;MainMenu.inactive.inactive;MainMenu.button.bg"/>
- <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" />
- </groupdef>
- <!-- =======================================================================================================
- <Wasabi:StandardFrame:Static /> implementation
- ======================================================================================================== -->
- <groupdef id="wasabi.standardframe.static" inherit_group="wasabi.standardframe.nostatusbar" sysregion="1" xuitag="Wasabi:StandardFrame:Static">
- <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" />
- </groupdef>
|