Initial community commit

This commit is contained in:
Jef
2024-09-24 14:54:57 +02:00
parent 537bcbc862
commit 20d28e80a5
16810 changed files with 4640254 additions and 2 deletions

View File

@ -0,0 +1,103 @@
<!-- =================================================================================================== -->
<!--
This defines the wasabi default containers. A window can request to be shown inside a specific container by id.
When the container id does not exist, all containers are checked in reverse to find one with a 'hold' parameter
that matches the window to show. Note that scripts get the opportunity to override this so you can distribute
your containers programatically.
The predefined wasabi container ids are the following :
resizable_status
resizable_nostatus
static
modal
-->
<!-- =================================================================================================== -->
<groupdef id="component.content.group">
<WindowHolder
x="0"
y="0"
w="0"
relatw="1"
h="0"
relath="1"
hold="@ALL@"
/>
</groupdef>
<!-- =================================================================================================== -->
Resizable windows with a status bar, ie: playlist editor, media library
<!-- =================================================================================================== -->
<container id="resizable_status" name=":componenttitle" dynamic="1" hold="@all@" default_x="275" default_y="0">
<layout id="normal" minimum_h="116" minimum_w="275">
<Wasabi:StandardFrame:Status id="wasabi.standardframe"
x="0" y="0" w="0" h="0" relatw="1" relath="1"
content="component.content.group"
/>
</layout>
</container>
<!-- =================================================================================================== -->
Resizable windows without a status bar
<!-- =================================================================================================== -->
<container id="resizable_nostatus" name=":componenttitle" dynamic="1" hold="@all@" default_x="275" default_y="0">
<layout id="resizable_nostatus" minimum_h="116" minimum_w="275">
<Wasabi:StandardFrame:NoStatus
x="0" y="0" w="0" h="0" relatw="1" relath="1"
content="component.content.group"
/>
</layout>
</container>
<!-- =================================================================================================== -->
modal windows, window intended to look like dialog boxes or messageboxes
<!-- =================================================================================================== -->
<container id="modal" name=":componenttitle" dynamic="1" hold="@all@" default_x="275" default_y="0">
<layout id="modal" minimum_h="116" minimum_w="275">
<Wasabi:StandardFrame:Modal
x="0" y="0" w="0" h="0" relatw="1" relath="1"
content="component.content.group"
/>
</layout>
</container>
<!-- =================================================================================================== -->
static windows, ie: preferences
<!-- =================================================================================================== -->
<container id="static" name=":componenttitle" dynamic="1" hold="@all@" default_x="275" default_y="0">
<layout id="static" minimum_h="116" minimum_w="275">
<Wasabi:StandardFrame:Static
x="0" y="0" w="0" h="0" relatw="1" relath="1"
content="component.content.group"
/>
</layout>
</container>

View File

@ -0,0 +1,16 @@
<!-- These elements are garbage and will be removed in the final release. We didn't have time
to remove them for this beta however, they will be removed so please don't refer to these in your
code. Thank you.-->
<elements>
<!-- These elements will be removed all together, they are only being referenced by the pop-up dialog -->
<bitmap id="studio.border.upperLeft" file="window/window-elements.png" x="0" y="0" h="2" w="2"/>
<bitmap id="studio.border.upperRight" file="window/window-elements.png" x="34" y="0" h="2" w="2"/>
<bitmap id="studio.border.lowerLeft" file="window/window-elements.png" x="0" y="34" h="2" w="2"/>
<bitmap id="studio.border.lowerRight" file="window/window-elements.png" x="34" y="34" h="2" w="2"/>
<bitmap id="studio.border.top" file="window/window-elements.png" x="3" y="0" h="2" w="30"/>
<bitmap id="studio.border.left" file="window/window-elements.png" x="0" y="3" h="30" w="2"/>
<bitmap id="studio.border.bottom" file="window/window-elements.png" x="3" y="34" h="2" w="30"/>
<bitmap id="studio.border.right" file="window/window-elements.png" x="34" y="3" h="30" w="2"/>
</elements>

View File

@ -0,0 +1,45 @@
<!-- This group defines the layout of a toolbar like panel. For instance it is used by the filterlist object to
display a list of available fields, or by typesheet objects implementing a sidecar button bar
Required objects:
<Text id="buttonbar.text" />
<Button id="mousetrap" />
-->
<groupdef id="wasabi.buttonbar.stack" default_h="18">
<grid
id=""
x="0" y="0"
w="0" h="0"
relatw="1" relath="1"
topleft="wasabi.label.top.left"
top="wasabi.label.top"
topright="wasabi.label.top.right"
left="wasabi.label.left"
middle="wasabi.label.middle"
right="wasabi.label.right"
bottomleft="wasabi.label.bottom.left"
bottom="wasabi.label.bottom"
bottomright="wasabi.label.bottom.right"
/>
<text
id="buttonbar.text"
x="5" y="0"
w="-10" h="0"
relatw="1" relath="1"
default="Error"
font="Arial" fontsize="15"
color="wasabi.text.color" shadowcolor="wasabi.text.color.inverse" shadowx="1" shadowy="1"
/>
<layer
id="buttonbar.arrow"
x="-15" y="8"
valign="center"
relatx="1"
image="wasabi.button.label.arrow.down"
/>
<button id="mousetrap" x="0" y="0" w="0" h="0" relatw="1" relath="1" rectrgn="1"/>
</groupdef>

View File

@ -0,0 +1,17 @@
<groupdef id="wasabi.objectframe.group">
<grid
id="objectframe.grid"
x="0" y="0"
w="0" h="0"
relatw="1" relath="1"
topleft="wasabi.objectframe.top.left"
top="wasabi.objectframe.top"
topright="wasabi.objectframe.top.right"
left="wasabi.objectframe.left"
middle="wasabi.objectframe.center"
right="wasabi.objectframe.right"
bottomleft="wasabi.objectframe.bottom.left"
bottom="wasabi.objectframe.bottom"
bottomright="wasabi.objectframe.bottom.right"
/>
</groupdef>

View File

@ -0,0 +1,16 @@
<groupdef id="wasabi.panel">
<grid
id="panel.grid"
x="0" y="0"
w="0" h="0"
relatw="1" relath="1"
topleft="wasabi.panel.top.left"
top="wasabi.panel.top"
topright="wasabi.panel.top.right"
left="wasabi.panel.left"
right="wasabi.panel.right"
bottomleft="wasabi.panel.bottom.left"
bottom="wasabi.panel.bottom"
bottomright="wasabi.panel.bottom.right"
/>
</groupdef>

View File

@ -0,0 +1,17 @@
<groupdef id="wasabi.window.embedded">
<grid
id="window.embedded.grid"
x="0" y="0"
w="0" h="0"
relatw="1" relath="1"
topleft="wasabi.window.top.left"
top="wasabi.window.top"
topright="wasabi.window.top.right"
left="wasabi.window.left"
middle="wasabi.window.center"
right="wasabi.window.right"
bottomleft="wasabi.window.bottom.left"
bottom="wasabi.window.bottom"
bottomright="wasabi.window.bottom.right"
/>
</groupdef>

View File

@ -0,0 +1,9 @@
<groupdef id="wasabi.window">
<layer
id="window.center.stretch"
x="0" y="0"
w="0" h="0"
relatw="1" relath="1"
image="wasabi.window.center"
/>
</groupdef>

View File

@ -0,0 +1,61 @@
<!--
system-colors.xml
this file contains all the static color definitions for Wasabi. An objects that does not rely on a group will use
one of these elements to decide what color to use.
-->
<elements>
<!-- Generic Trees -->
<color id="studio.tree.text" value="196,255,196"/> <!-- Item text color -->
<color id="studio.tree.selected" value="0,0,128"/> <!-- Select item text background color -->
<color id="studio.tree.hilited" value="0,255,255"/> <!-- Hilited item text background color -->
<color id="studio.tree.hiliteddrop" value="0,64,128"/> <!-- Drop marker color -->
<!-- Generic Lists -->
<color id="studio.list.text" value="196,255,196"/> <!-- List item text color -->
<color id="studio.list.item.selected" value="0,0,128"/> <!-- Selected item text background color -->
<color id="studio.list.item.focused" value="0,0,128"/> <!-- Focused item text background color -->
<color id="studio.list.column.background" value="102,102,102"/> <!-- Columns background color -->
<color id="studio.list.column.text" value="255,255,255"/> <!-- Columns text color -->
<color id="studio.list.item.selected.fg" value="255,255,255" /><!-- Selected item text foreground color -->
<!-- Item Lists, Lists with playable items -->
<color id="common.itemlist.outline.current" value="255,255,0"/> <!-- Currently playing outline color -->
<color id="common.itemlist.outline.focus" value="0,128,128"/> <!-- Focused item dashed outline color -->
<color id="common.itemlist.selborder" value="64,64,196"/>
<!-- Message box -->
<color id="studio.msgBox.background" value="32,32,32"/> <!-- Messagebox background color -->
<color id="studio.textBar.text" value="248,248,248"/> <!-- Text object & message box text color -->
<color id="studio.textBar.background" value="32,32,32"/> <!-- Text object & message box text background color -->
<!-- Buttons -->
<color id="studio.button.text" value="0,0,0"/> <!-- Buttons text color -->
<color id="studio.button.hiliteText" value="0,240,0"/> <!-- Buttons hilite text color, used by tab windows-->
<color id="studio.button.dimmedText" value="64,64,64"/> <!-- Buttons dimmed text color, when disabled -->
<!-- Popup menus -->
<color id="studio.popup.text" value="0,0,0"/> <!-- Menu items text color -->
<color id="studio.popup.hiliteText" value="255,255,255"/> <!-- Hilited item text color -->
<color id="studio.popup.dimmedText" value="64,64,64"/> <!-- Disabled item text color -->
<!-- Components -->
<color id="studio.component.title.foreground" value="255,255,255"/> <!-- Old title bar text color when using TTF -->
<color id="studio.component.title.border" value="1,1,1"/> <!-- Old title bar text outline when using TTF -->
<!-- labeled windows -->
<color id="common.labelwnd.foreground" value="220,220,220"/> <!-- Text foreground color -->
<color id="common.labelwnd.background" value="0,0,0"/> <!-- Text drop shadow color -->
<!-- edit wnds -->
<color id="wasabi.edit.selection" value="127,127,127" gammagroup="Backgrounds"/> <!-- Selected text -->
<color id="wasabi.edit.text" value="196,255,196" gammagroup="Text"/> <!--Text -->
<color id="wasabi.edit.background" value="0,0,0" gammagroup="Backgrounds"/> <!--Text background -->
</elements>

View File

@ -0,0 +1,364 @@
<elements>
<!-- Fonts -->
<bitmapfont id="studio.component.title" file="fonts/titlebar-font.png" hspacing="-3" vspacing="0" charwidth="10" charheight="11" gammagroup="Titlebar Font"/>
<bitmapfont id="wasabi.font.button.small" file="fonts/button-font-small.png" hspacing="-1" vspacing="0" charwidth="5" charheight="5" gammagroup="Button Fonts"/>
<bitmapfont id="wasabi.font.button.normal" file="fonts/button-font-normal.png" charwidth="5" charheight="6" hspacing="0" vspacing="0" gammagroup="Button Fonts"/>
<bitmapfont id="wasabi.font.default" file="fonts/default-font.png" charwidth="5" charheight="6" hspacing="0" vspacing="0" gammagroup="Display Fonts"/>
<bitmapfont id="studio.component.statusbar" file="fonts/default-font.png" charwidth="5" charheight="6" hspacing="0" vspacing="0" gammagroup="Display Fonts"/>
<!-- Bitmaps -->
<bitmap id="studio.BaseTexture" file="window/background.png" gammagroup="Backgrounds"/>
<!-- Frame windows -->
<bitmap id="studio.framewnd.verticaldivider" file="window/window-elements.png" x="124" y="53" h="65" w="8" gammagroup="Backgrounds"/>
<bitmap id="studio.framewnd.verticalgrabber" file="window/window-elements.png" x="115" y="53" h="65" w="8" gammagroup="Backgrounds"/>
<bitmap id="studio.framewnd.horizontaldivider" file="window/window-elements.png" x="40" y="97" h="8" w="65" gammagroup="Backgrounds"/>
<bitmap id="studio.framewnd.horizontalgrabber" file="window/window-elements.png" x="40" y="106" h="8" w="65" gammagroup="Backgrounds"/>
<!--
<bitmap id="studio.framewnd.windowshade" file="window/framewnd-windowshade.png" gammagroup="Backgrounds"/>
-->
<bitmap id="wasabi.frame.divider.arrow.left" file="window/window-elements.png" x="56" y="124" h="7" w="4"/>
<bitmap id="wasabi.frame.divider.arrow.right" file="window/window-elements.png" x="60" y="124" h="7" w="4"/>
<bitmap id="wasabi.frame.divider.arrow.up" file="window/window-elements.png" x="64" y="124" h="4" w="7"/>
<bitmap id="wasabi.frame.divider.arrow.down" file="window/window-elements.png" x="64" y="128" h="4" w="7"/>
<bitmap id="wasabi.frame.divider.top.left" file="window/window-elements.png" x="115" y="31" h="3" w="3"/>
<bitmap id="wasabi.frame.divider.top" file="window/window-elements.png" x="118" y="31" h="3" w="10"/>
<bitmap id="wasabi.frame.divider.top.right" file="window/window-elements.png" x="128" y="31" h="3" w="3"/>
<bitmap id="wasabi.frame.divider.left" file="window/window-elements.png" x="115" y="34" h="10" w="3"/>
<bitmap id="wasabi.frame.divider.center" file="window/window-elements.png" x="118" y="34" h="10" w="10"/>
<bitmap id="wasabi.frame.divider.right" file="window/window-elements.png" x="128" y="34" h="10" w="3"/>
<bitmap id="wasabi.frame.divider.bottom.left" file="window/window-elements.png" x="115" y="44" h="3" w="3"/>
<bitmap id="wasabi.frame.divider.bottom" file="window/window-elements.png" x="118" y="44" h="3" w="10"/>
<bitmap id="wasabi.frame.divider.bottom.right" file="window/window-elements.png" x="128" y="44" h="3" w="3"/>
<!-- Generic Lists and Trees -->
<bitmap id="studio.list.background" file="window/window-elements.png" x="1" y="115" h="17" w="17" gammagroup="Display Backgrounds"/> <!-- List background bitmap (tile) -->
<bitmap id="studio.tree.background" file="window/window-elements.png" x="1" y="115" h="17" w="17" gammagroup="Display Backgrounds"/> <!-- Tree background bitmap (tile) -->
<bitmap id="studio.tree.tab.closed" file="window/window-elements.png" x="149" y="0" h="14" w="14" gammagroup="Tree Color"/>
<bitmap id="studio.tree.tab.open" file="window/window-elements.png" x="135" y="0" h="14" w="14" gammagroup="Tree Color"/>
<bitmap id="studio.tree.link.top.bottom" file="window/window-elements.png" x="135" y="14" h="14" w="14" gammagroup="Tree Color"/>
<bitmap id="studio.tree.link.top.right" file="window/window-elements.png" x="135" y="42" h="14" w="14" gammagroup="Tree Color"/>
<bitmap id="studio.tree.link.top.rightBottom" file="window/window-elements.png" x="135" y="28" h="14" w="14" gammagroup="Tree Color"/>
<bitmap id="studio.tree.link.tab.top.bottom" file="window/window-elements.png" x="149" y="14" h="14" w="14" gammagroup="Tree Color"/>
<bitmap id="studio.tree.link.tab.top.right" file="window/window-elements.png" x="149" y="42" h="14" w="14" gammagroup="Tree Color"/>
<bitmap id="studio.tree.link.tab.top.rightBottom" file="window/window-elements.png" x="149" y="28" h="14" w="14" gammagroup="Tree Color"/>
<bitmap id="studio.tree.sort.icon" file="window/tree-sort-icon.png" gammagroup="Tree Color"/>
<!-- Old List & Tree scrollbars -->
<bitmap id="studio.scrollbar.horizontal.background" file="window/window-elements.png" x="58" y="52" h="13" w="41" gammagroup="Scrollbar Backgrounds"/>
<bitmap id="studio.scrollbar.horizontal.left" file="window/window-elements.png" x="40" y="13" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.horizontal.left.hilite" file="window/window-elements.png" x="40" y="26" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.horizontal.left.pressed" file="window/window-elements.png" x="40" y="39" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.horizontal.right" file="window/window-elements.png" x="98" y="13" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.horizontal.right.hilite" file="window/window-elements.png" x="98" y="26" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.horizontal.right.pressed" file="window/window-elements.png" x="98" y="39" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.horizontal.button" file="window/window-elements.png" x="57" y="13" h="13" w="41" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.horizontal.button.hilite" file="window/window-elements.png" x="57" y="26" h="13" w="41" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.horizontal.button.pressed" file="window/window-elements.png" x="57" y="39" h="13" w="41" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.vertical.background" file="window/window-elements.png" x="39" y="55" h="41" w="13" gammagroup="Scrollbar Backgrounds"/>
<bitmap id="studio.scrollbar.vertical.left" file="window/window-elements.png" x="0" y="38" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.vertical.left.hilite" file="window/window-elements.png" x="13" y="38" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.vertical.left.pressed" file="window/window-elements.png" x="26" y="38" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.vertical.right" file="window/window-elements.png" x="0" y="96" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.vertical.right.hilite" file="window/window-elements.png" x="13" y="96" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.vertical.right.pressed" file="window/window-elements.png" x="26" y="96" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.vertical.button" file="window/window-elements.png" x="0" y="55" h="41" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.vertical.button.hilite" file="window/window-elements.png" x="13" y="55" h="41" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="studio.scrollbar.vertical.button.pressed" file="window/window-elements.png" x="26" y="55" h="41" w="13" gammagroup="Scrollbar Buttons"/>
<!-- NewList & Tree scrollbars -->
<bitmap id="wasabi.scrollbar.horizontal.background" file="window/window-elements.png" x="58" y="52" h="13" w="41" gammagroup="Scrollbar Backgrounds"/>
<bitmap id="wasabi.scrollbar.horizontal.left" file="window/window-elements.png" x="40" y="13" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.left.hover" file="window/window-elements.png" x="40" y="26" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.left.pressed" file="window/window-elements.png" x="40" y="39" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.right" file="window/window-elements.png" x="98" y="13" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.right.hover" file="window/window-elements.png" x="98" y="26" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.right.pressed" file="window/window-elements.png" x="98" y="39" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.left" file="window/window-elements.png" x="57" y="13" h="13" w="3" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.middle" file="window/window-elements.png" x="60" y="13" h="13" w="35" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.right" file="window/window-elements.png" x="95" y="13" h="13" w="3" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.left.hover" file="window/window-elements.png" x="57" y="26" h="13" w="3" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.middle.hover" file="window/window-elements.png" x="60" y="26" h="13" w="35" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.right.hover" file="window/window-elements.png" x="95" y="26" h="13" w="3" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.left.pressed" file="window/window-elements.png" x="57" y="39" h="13" w="3" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.middle.pressed" file="window/window-elements.png" x="60" y="39" h="13" w="35" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.right.pressed" file="window/window-elements.png" x="95" y="39" h="13" w="3" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.background" file="window/window-elements.png" x="39" y="55" h="41" w="13" gammagroup="Scrollbar Backgrounds"/>
<bitmap id="wasabi.scrollbar.vertical.left" file="window/window-elements.png" x="0" y="38" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.left.hover" file="window/window-elements.png" x="13" y="38" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.left.pressed" file="window/window-elements.png" x="26" y="38" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.right" file="window/window-elements.png" x="0" y="96" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.right.hover" file="window/window-elements.png" x="13" y="96" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.right.pressed" file="window/window-elements.png" x="26" y="96" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.top" file="window/window-elements.png" x="0" y="55" h="3" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.middle" file="window/window-elements.png" x="0" y="58" h="35" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.bottom" file="window/window-elements.png" x="0" y="93" h="3" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.top.hover" file="window/window-elements.png" x="13" y="55" h="3" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.middle.hover" file="window/window-elements.png" x="13" y="58" h="35" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.bottom.hover" file="window/window-elements.png" x="13" y="93" h="3" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.top.pressed" file="window/window-elements.png" x="26" y="55" h="3" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.middle.pressed" file="window/window-elements.png" x="26" y="58" h="35" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.bottom.pressed" file="window/window-elements.png" x="26" y="93" h="3" w="13" gammagroup="Scrollbar Buttons"/>
<!-- labelwnd titles -->
<bitmap id="studio.label.upperLeft" file="window/window-elements.png" x="0" y="170" w="2" h="2" gammagroup="Backgrounds"/>
<bitmap id="studio.label.top" file="window/window-elements.png" x="2" y="170" w="101" h="2" gammagroup="Backgrounds"/>
<bitmap id="studio.label.upperRight" file="window/window-elements.png" x="103" y="170" w="2" h="2" gammagroup="Backgrounds"/>
<bitmap id="studio.label.left" file="window/window-elements.png" x="0" y="172" w="2" h="7" gammagroup="Backgrounds"/>
<bitmap id="studio.label.middle" file="window/window-elements.png" x="2" y="172" w="101" h="7" gammagroup="Backgrounds"/>
<bitmap id="studio.label.right" file="window/window-elements.png" x="103" y="172" w="2" h="7" gammagroup="Backgrounds"/>
<bitmap id="studio.label.lowerLeft" file="window/window-elements.png" x="0" y="179" w="2" h="2" gammagroup="Backgrounds"/>
<bitmap id="studio.label.bottom" file="window/window-elements.png" x="2" y="179" w="101" h="2" gammagroup="Backgrounds"/>
<bitmap id="studio.label.lowerRight" file="window/window-elements.png" x="103" y="179" w="2" h="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.top.left" file="window/window-elements.png" x="0" y="170" w="2" h="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.top" file="window/window-elements.png" x="2" y="170" w="101" h="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.top.right" file="window/window-elements.png" x="103" y="170" w="2" h="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.left" file="window/window-elements.png" x="0" y="172" w="2" h="7" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.middle" file="window/window-elements.png" x="2" y="172" w="101" h="7" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.right" file="window/window-elements.png" x="103" y="172" w="2" h="7" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.bottom.left" file="window/window-elements.png" x="0" y="179" w="2" h="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.bottom" file="window/window-elements.png" x="2" y="179" w="101" h="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.bottom.right" file="window/window-elements.png" x="103" y="179" w="2" h="2" gammagroup="Backgrounds"/>
<!-- default button -->
<bitmap id="studio.button.upperLeft" file="window/window-elements.png" x="1" y="135" h="2" w="2" gammagroup="Buttons"/>
<bitmap id="studio.button.top" file="window/window-elements.png" x="4" y="135" h="2" w="25" gammagroup="Buttons"/>
<bitmap id="studio.button.upperRight" file="window/window-elements.png" x="30" y="135" h="2" w="2" gammagroup="Buttons"/>
<bitmap id="studio.button.left" file="window/window-elements.png" x="1" y="138" h="25" w="2" gammagroup="Buttons"/>
<bitmap id="studio.button.middle" file="window/window-elements.png" x="4" y="138" h="25" w="25" gammagroup="Buttons"/>
<bitmap id="studio.button.right" file="window/window-elements.png" x="30" y="138" h="25" w="2" gammagroup="Buttons"/>
<bitmap id="studio.button.lowerLeft" file="window/window-elements.png" x="1" y="164" h="2" w="2" gammagroup="Buttons"/>
<bitmap id="studio.button.bottom" file="window/window-elements.png" x="4" y="164" h="2" w="25" gammagroup="Buttons"/>
<bitmap id="studio.button.lowerRight" file="window/window-elements.png" x="30" y="164 " h="2" w="2" gammagroup="Buttons"/>
<bitmap id="studio.button.pressed.upperLeft" file="window/window-elements.png" x="67" y="135" h="2" w="2" gammagroup="Buttons"/>
<bitmap id="studio.button.pressed.top" file="window/window-elements.png" x="70" y="135" h="2" w="25" gammagroup="Buttons"/>
<bitmap id="studio.button.pressed.upperRight" file="window/window-elements.png" x="96" y="135" h="2" w="2" gammagroup="Buttons"/>
<bitmap id="studio.button.pressed.left" file="window/window-elements.png" x="67" y="138" h="25" w="2" gammagroup="Buttons"/>
<bitmap id="studio.button.pressed.middle" file="window/window-elements.png" x="70" y="138" h="25" w="25" gammagroup="Buttons"/>
<bitmap id="studio.button.pressed.right" file="window/window-elements.png" x="96" y="138" h="25" w="2" gammagroup="Buttons"/>
<bitmap id="studio.button.pressed.lowerLeft" file="window/window-elements.png" x="67" y="164" h="2" w="2" gammagroup="Buttons"/>
<bitmap id="studio.button.pressed.bottom" file="window/window-elements.png" x="70" y="164" h="2" w="25" gammagroup="Buttons"/>
<bitmap id="studio.button.pressed.lowerRight" file="window/window-elements.png" x="96" y="164 " h="2" w="2" gammagroup="Buttons"/>
<!-- Component status bar -->
<bitmap id="studio.statusbar.left" file="window/window-elements.png" x="94" y="0" h="12" w="12"/>
<bitmap id="studio.statusbar.middle" file="window/window-elements.png" x="107" y="0" h="12" w="12"/>
<bitmap id="studio.statusbar.right" file="window/window-elements.png" x="120" y="0" h="12" w="12"/>
<!-- Checkboxes
<bitmap id="studio.button.checkbox.checked" file="window/window-elements.png" x="58" y="77" h="11" w="11"/>
<bitmap id="studio.button.checkbox.unchecked" file="window/window-elements.png" x="58" y="66" h="11" w="11"/>
-->
<!-- Standard Configuration Widgets -->
<bitmap id="wasabi.button.checkbox" file="window/window-elements.png" x="79" y="77" h="7" w="7" gammagroup="Checkboxes and Radio Buttons"/>
<bitmap id="wasabi.button.checkbox.pressed" file="window/window-elements.png" x="58" y="77" h="7" w="7" gammagroup="Checkboxes and Radio Buttons"/>
<bitmap id="wasabi.button.checkbox.xbox" file="window/window-elements.png" x="79" y="77" h="7" w="7" gammagroup="Checkboxes and Radio Buttons"/>
<bitmap id="wasabi.button.checkbox.xbox.pressed" file="window/window-elements.png" x="65" y="77" h="7" w="7" gammagroup="Checkboxes and Radio Buttons"/>
<bitmap id="wasabi.button.radio.background" file="window/window-elements.png" x="58" y="66" h="11" w="11" gammagroup="Backgrounds"/>
<bitmap id="wasabi.button.radio.background.display" file="window/window-elements.png" x="69" y="66" h="9" w="9" gammagroup="Display Backgrounds"/>
<bitmap id="wasabi.button.radio" file="window/window-elements.png" x="79" y="77" h="7" w="7" gammagroup="Checkboxes and Radio Buttons"/>
<bitmap id="wasabi.button.radio.pressed" file="window/window-elements.png" x="72" y="77" h="7" w="7" gammagroup="Checkboxes and Radio Buttons"/>
<!-- Popup menus -->
<bitmap id="studio.button.checkmark" file="menu/window-elements.png" x="20" y="8" h="9" w="10"/>
<bitmap id="studio.popup.submenuIcon" file="menu/window-elements.png" x="22" y="17" h="9" w="10"/>
<bitmap id="studio.popup.seperator" file="menu/window-elements.png" x="8" y="13" h="6" w="11" gammagroup="Menus"/>
<bitmap id="studio.popup.background" file="menu/background.png" gammagroup="Menus"/>
<bitmap id="studio.popup.border.topLeft" file="menu/window-elements.png" x="0" y="0" h="2" w="2" gammagroup="Menus"/>
<bitmap id="studio.popup.border.top" file="menu/window-elements.png" x="8" y="0" h="2" w="8" gammagroup="Menus"/>
<bitmap id="studio.popup.border.topRight" file="menu/window-elements.png" x="33" y="0" h="2" w="4" gammagroup="Menus"/>
<bitmap id="studio.popup.border.left" file="menu/window-elements.png" x="0" y="8" h="8" w="2" gammagroup="Menus"/>
<bitmap id="studio.popup.border.right" file="menu/window-elements.png" x="33" y="8" h="8" w="4" gammagroup="Menus"/>
<bitmap id="studio.popup.border.bottomLeft" file="menu/window-elements.png" x="0" y="35" h="2" w="2" gammagroup="Menus"/>
<bitmap id="studio.popup.border.bottom" file="menu/window-elements.png" x="8" y="35" h="2" w="8" gammagroup="Menus"/>
<bitmap id="studio.popup.border.bottomRight" file="menu/window-elements.png" x="33" y="35" h="2" w="4" gammagroup="Menus"/>
<bitmap id="studio.popup.selection.left" file="menu/selbar.png" x="0" y="0" w="5" h="10" gammagroup="Menus"/>
<bitmap id="studio.popup.selection.right" file="menu/selbar.png" x="6" y="0" w="5" h="10" gammagroup="Menus"/>
<bitmap id="studio.popup.selection.center" file="menu/selbar.png" x="27" y="0" w="20" h="10" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.check" file="menu/window-elements.png" x="20" y="8" h="9" w="10"/>
<bitmap id="wasabi.popup.menu.submenu" file="menu/window-elements.png" x="22" y="17" h="9" w="10"/>
<bitmap id="wasabi.popup.menu.seperator" file="menu/window-elements.png" x="8" y="13" h="6" w="11" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.background" file="menu/background.png" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.topLeft" file="menu/window-elements.png" x="0" y="0" h="2" w="2" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.top" file="menu/window-elements.png" x="8" y="0" h="2" w="8" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.topRight" file="menu/window-elements.png" x="33" y="0" h="2" w="4" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.left" file="menu/window-elements.png" x="0" y="8" h="8" w="2" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.right" file="menu/window-elements.png" x="33" y="8" h="8" w="4" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.bottomLeft" file="menu/window-elements.png" x="0" y="35" h="2" w="2" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.bottom" file="menu/window-elements.png" x="8" y="35" h="2" w="8" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.bottomRight" file="menu/window-elements.png" x="33" y="35" h="2" w="4" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.selection.left" file="menu/selbar.png" x="0" y="0" w="5" h="10" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.selection.right" file="menu/selbar.png" x="6" y="0" w="5" h="10" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.selection.center" file="menu/selbar.png" x="27" y="0" w="20" h="10" gammagroup="Menus"/>
<!-- Title objects -->
<bitmap id="wasabi.titlebar.left.active" file="window/window-elements.png" x="106" y="118" h="9" w="7" gammagroup="Titlebars"/>
<bitmap id="wasabi.titlebar.center.active" file="window/window-elements.png" x="114" y="118" h="9" w="7" gammagroup="Titlebars"/>
<bitmap id="wasabi.titlebar.right.active" file="window/window-elements.png" x="122" y="118" h="9" w="7" gammagroup="Titlebars"/>
<bitmap id="wasabi.titlebar.left.inactive" file="window/window-elements.png" x="106" y="127" h="9" w="7" gammagroup="Titlebars"/>
<bitmap id="wasabi.titlebar.center.inactive" file="window/window-elements.png" x="114" y="127" h="9" w="7" gammagroup="Titlebars"/>
<bitmap id="wasabi.titlebar.right.inactive" file="window/window-elements.png" x="122" y="127" h="9" w="7" gammagroup="Titlebars"/>
<!-- Window Controls -->
<bitmap id="wasabi.button.sysmenu" file="window/window-elements.png" x="170" y="56" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.sysmenu.pressed" file="window/window-elements.png" x="170" y="65" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.minimize" file="window/window-elements.png" x="146" y="56" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.minimize.pressed" file="window/window-elements.png" x="146" y="65" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.winshade" file="window/window-elements.png" x="132" y="56" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.winshade.pressed" file="window/window-elements.png" x="132" y="65" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.close" file="window/window-elements.png" x="184" y="56" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.close.pressed" file="window/window-elements.png" x="184" y="65" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.less" file="window/window-elements.png" x="184" y="74" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.less.pressed" file="window/window-elements.png" x="184" y="83" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.more" file="window/window-elements.png" x="170" y="74" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.more.pressed" file="window/window-elements.png" x="170" y="83" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.appmenu" file="window/window-elements.png" x="160" y="74" h="9" w="10" gammagroup="Buttons"/>
<bitmap id="wasabi.button.appmenu.pressed" file="window/window-elements.png" x="160" y="83" h="9" w="10" gammagroup="Buttons"/>
<bitmap id="wasabi.button.exit" file="window/window-elements.png" x="160" y="56" h="9" w="10" gammagroup="Buttons"/>
<bitmap id="wasabi.button.exit.pressed" file="window/window-elements.png" x="160" y="65" h="9" w="10" gammagroup="Buttons"/>
<bitmap id="wasabi.button.close.flat" file="window/window-elements.png" x="160" y="56" h="9" w="10" gammagroup="Buttons"/>
<bitmap id="wasabi.button.close.flat.pressed" file="window/window-elements.png" x="160" y="65" h="9" w="10" gammagroup="Buttons"/>
<!-- Panel Bevels -->
<bitmap id="wasabi.panel.top.left" file="window/window-elements.png" x="19" y="114" h="2" w="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.top" file="window/window-elements.png" x="21" y="114" h="2" w="16" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.top.right" file="window/window-elements.png" x="37" y="114" h="2" w="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.left" file="window/window-elements.png" x="19" y="116" h="16" w="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.right" file="window/window-elements.png" x="37" y="116" h="16" w="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.bottom.left" file="window/window-elements.png" x="19" y="132" h="2" w="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.bottom" file="window/window-elements.png" x="21" y="132" h="2" w="16" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.bottom.right" file="window/window-elements.png" x="37" y="132" h="2" w="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.tint" file="window/window-elements.png" x="24" y="119" h="10" w="10" gammagroup="Backgrounds"/>
<!-- Object Frame-->
<bitmap id="wasabi.objectframe.top.left" file="window/window-elements.png" x="0" y="114" h="1" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.objectframe.top" file="window/window-elements.png" x="1" y="114" h="1" w="17" gammagroup="Backgrounds"/>
<bitmap id="wasabi.objectframe.top.right" file="window/window-elements.png" x="18" y="114" h="1" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.objectframe.left" file="window/window-elements.png" x="0" y="115" h="17" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.objectframe.center" file="window/window-elements.png" x="1" y="115" h="17" w="17" gammagroup="Display Backgrounds"/>
<bitmap id="wasabi.objectframe.right" file="window/window-elements.png" x="18" y="115" h="17" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.objectframe.bottom.left" file="window/window-elements.png" x="0" y="132" h="1" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.objectframe.bottom" file="window/window-elements.png" x="1" y="132" h="1" w="17" gammagroup="Backgrounds"/>
<bitmap id="wasabi.objectframe.bottom.right" file="window/window-elements.png" x="18" y="132" h="1" w="1" gammagroup="Backgrounds"/>
<!-- Combo Box List-->
<bitmap id="wasabi.dropdownlist.list.top.left" file="window/window-elements.png" x="40" y="124" h="1" w="1"/>
<bitmap id="wasabi.dropdownlist.list.top" file="window/window-elements.png" x="41" y="124" h="1" w="10"/>
<bitmap id="wasabi.dropdownlist.list.top.right" file="window/window-elements.png" x="51" y="124" h="1" w="1"/>
<bitmap id="wasabi.dropdownlist.list.left" file="window/window-elements.png" x="40" y="125" h="8" w="1"/>
<bitmap id="wasabi.dropdownlist.list.center" file="window/window-elements.png" x="41" y="125" h="8" w="10" gammagroup="Display Backgrounds"/>
<bitmap id="wasabi.dropdownlist.list.right" file="window/window-elements.png" x="51" y="125" h="8" w="1"/>
<bitmap id="wasabi.dropdownlist.list.bottom.left" file="window/window-elements.png" x="40" y="133" h="1" w="1"/>
<bitmap id="wasabi.dropdownlist.list.bottom" file="window/window-elements.png" x="41" y="133" h="1" w="10"/>
<bitmap id="wasabi.dropdownlist.list.bottom.right" file="window/window-elements.png" x="51" y="133" h="1" w="1"/>
<!-- Embedded Window -->
<bitmap id="wasabi.window.top.left" file="window/window-elements.png" x="0" y="114" h="1" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.window.top" file="window/window-elements.png" x="1" y="114" h="1" w="17" gammagroup="Backgrounds"/>
<bitmap id="wasabi.window.top.right" file="window/window-elements.png" x="18" y="114" h="1" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.window.left" file="window/window-elements.png" x="0" y="115" h="17" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.window.center" file="window/window-elements.png" x="1" y="115" h="17" w="17" gammagroup="Display Backgrounds"/>
<bitmap id="wasabi.window.right" file="window/window-elements.png" x="18" y="115" h="17" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.window.bottom.left" file="window/window-elements.png" x="0" y="132" h="1" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.window.bottom" file="window/window-elements.png" x="1" y="132" h="1" w="17" gammagroup="Backgrounds"/>
<bitmap id="wasabi.window.bottom.right" file="window/window-elements.png" x="18" y="132" h="1" w="1" gammagroup="Backgrounds"/>
<!-- Generic Button -->
<bitmap id="wasabi.button.label.arrow.up" file="window/window-elements.png" x="137" y="75" h="4" w="7" gammagroup="Button Fonts"/>
<bitmap id="wasabi.button.label.arrow.down" file="window/window-elements.png" x="137" y="86" h="4" w="7" gammagroup="Button Fonts"/>
<bitmap id="wasabi.button.label.arrow.left" file="window/window-elements.png" x="133" y="79" h="7" w="4" gammagroup="Button Fonts"/>
<bitmap id="wasabi.button.label.arrow.right" file="window/window-elements.png" x="144" y="79" h="7" w="4" gammagroup="Button Fonts"/>
<bitmap id="wasabi.button.label.ellipses" file="window/window-elements.png" x="138" y="92" h="1" w="5" gammagroup="Button Fonts"/>
<bitmap id="wasabi.button.top.left" file="window/window-elements.png" x="0" y="134" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.top" file="window/window-elements.png" x="4" y="134" h="4" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.top.right" file="window/window-elements.png" x="29" y="134" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.left" file="window/window-elements.png" x="0" y="138" h="25" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.center" file="window/window-elements.png" x="4" y="138" h="25" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.right" file="window/window-elements.png" x="29" y="138" h="25" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.bottom.left" file="window/window-elements.png" x="0" y="163" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.bottom" file="window/window-elements.png" x="4" y="163" h="4" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.bottom.right" file="window/window-elements.png" x="29" y="163" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.top.left" file="window/window-elements.png" x="33" y="134" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.top" file="window/window-elements.png" x="37" y="134" h="4" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.top.right" file="window/window-elements.png" x="62" y="134" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.left" file="window/window-elements.png" x="33" y="138" h="25" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.center" file="window/window-elements.png" x="37" y="138" h="25" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.right" file="window/window-elements.png" x="62" y="138" h="25" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.bottom.left" file="window/window-elements.png" x="33" y="163" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.bottom" file="window/window-elements.png" x="37" y="163" h="4" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.bottom.right" file="window/window-elements.png" x="62" y="163" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.top.left" file="window/window-elements.png" x="66" y="134" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.top" file="window/window-elements.png" x="70" y="134" h="4" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.top.right" file="window/window-elements.png" x="95" y="134" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.left" file="window/window-elements.png" x="66" y="138" h="25" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.center" file="window/window-elements.png" x="70" y="138" h="25" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.right" file="window/window-elements.png" x="95" y="138" h="25" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.bottom.left" file="window/window-elements.png" x="66" y="163" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.bottom" file="window/window-elements.png" x="70" y="163" h="4" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.bottom.right" file="window/window-elements.png" x="95" y="163" h="4" w="4" gammagroup="Buttons"/>
<!-- Generic Sliders -->
<bitmap id="wasabi.slider.horizontal.left" file="window/window-elements.png" x="106" y="149" h="8" w="8" gammagroup="Sliders Backgrounds"/>
<bitmap id="wasabi.slider.horizontal.middle" file="window/window-elements.png" x="115" y="149" h="8" w="10" gammagroup="Sliders Backgrounds"/>
<bitmap id="wasabi.slider.horizontal.right" file="window/window-elements.png" x="126" y="149" h="8" w="8" gammagroup="Sliders Backgrounds"/>
<bitmap id="wasabi.slider.vertical.top" file="window/window-elements.png" x="138" y="136" h="8" w="8" gammagroup="Sliders Backgrounds"/>
<bitmap id="wasabi.slider.vertical.middle" file="window/window-elements.png" x="138" y="145" h="10" w="8" gammagroup="Sliders Backgrounds"/>
<bitmap id="wasabi.slider.vertical.bottom" file="window/window-elements.png" x="138" y="156" h="8" w="8" gammagroup="Sliders Backgrounds"/>
<bitmap id="wasabi.slider.horizontal.button" file="window/window-elements.png" x="106" y="136" h="13" w="15" gammagroup="Buttons"/>
<bitmap id="wasabi.slider.horizontal.button.pressed" file="window/window-elements.png" x="121" y="136" h="13" w="15" gammagroup="Buttons"/>
<bitmap id="wasabi.slider.vertical.button" file="window/window-elements.png" x="106" y="157" h="12" w="16" gammagroup="Buttons"/>
<bitmap id="wasabi.slider.vertical.button.pressed" file="window/window-elements.png" x="122" y="157" h="12" w="16" gammagroup="Buttons"/>
<!-- Generic Group Box -->
<bitmap id="wasabi.groupbox.top.left" file="window/window-elements.png" x="116" y="13" h="3" w="3" gammagroup="Backgrounds"/>
<bitmap id="wasabi.groupbox.top" file="window/window-elements.png" x="120" y="13" h="3" w="8" gammagroup="Backgrounds"/>
<bitmap id="wasabi.groupbox.top.right" file="window/window-elements.png" x="129" y="13" h="3" w="3" gammagroup="Backgrounds"/>
<bitmap id="wasabi.groupbox.left" file="window/window-elements.png" x="116" y="17" h="8" w="3" gammagroup="Backgrounds"/>
<bitmap id="wasabi.groupbox.right" file="window/window-elements.png" x="129" y="17" h="8" w="3" gammagroup="Backgrounds"/>
<bitmap id="wasabi.groupbox.bottom.left" file="window/window-elements.png" x="116" y="26" h="3" w="3" gammagroup="Backgrounds"/>
<bitmap id="wasabi.groupbox.bottom" file="window/window-elements.png" x="120" y="26" h="3" w="8" gammagroup="Backgrounds"/>
<bitmap id="wasabi.groupbox.bottom.right" file="window/window-elements.png" x="129" y="26" h="3" w="3" gammagroup="Backgrounds"/>
</elements>

View File

@ -0,0 +1,87 @@
<!--
system-colors.xml
this file contains all the static color definitions for Wasabi. An objects that does not rely on a group will use
one of these elements to decide what color to use.
Just like in system-elements.xml, the elements beginning with "studio." and "common." have
been moved to system-element-aliases.xml for backwards compatibility. If you are building a
skin for Winamp3 (Wasabi Build 488), you should override these element IDs and include the
aliases file in your own skin.
-->
<elements>
<!-- Generic Trees -->
<color id="wasabi.tree.text" value="196,255,196" gammagroup="Text"/> <!-- Item text color -->
<color id="wasabi.tree.selected" value="0,0,128" gammagroup="Text Backgrounds"/> <!-- Select item text background color -->
<color id="wasabi.tree.hiliteddrop" value="0,64,128"/> <!-- Drop marker color -->
<!-- Generic Lists -->
<color id="wasabi.list.text" value="196,255,196" gammagroup="Text"/> <!-- List item text color -->
<color id="wasabi.list.item.selected" value="0,0,128" gammagroup="Text Backgrounds"/> <!-- Selected item text background color -->
<color id="wasabi.list.item.focused" value="0,0,128" gammagroup="Text Backgrounds"/> <!-- Focused item text background color -->
<color id="wasabi.list.column.background" value="102,102,102" gammagroup="Text Backgrounds"/> <!-- Columns background color -->
<color id="wasabi.list.column.text" value="255,255,255" gammagroup="Text"/> <!-- Columns text color -->
<color id="wasabi.list.item.selected.fg" value="255,255,255" gammagroup="Text"/> <!-- Selected item text foreground color -->
<color id="wasabi.list.column.separator" value="128,128,128" gammagroup="Backgrounds"/> <!-- Color of line between columns -->
<!-- Haven't changed listwnd.cpp yet!!! -->
<!-- Item Lists, Lists with playable items -->
<color id="wasabi.itemlist.outline.current" value="255,255,0"/> <!-- Currently playing outline color -->
<color id="wasabi.itemlist.outline.focus" value="0,128,128"/> <!-- Focused item dashed outline color -->
<color id="wasabi.itemlist.selborder" value="64,64,196"/>
<!-- Message box -->
<color id="wasabi.msgBox.background" value="32,32,32" gammagroup="Backgrounds"/> <!-- Messagebox background color -->
<color id="wasabi.textBar.text" value="248,248,248" gammagroup="Text"/> <!-- Text object & message box text color -->
<color id="wasabi.textBar.background" value="32,32,32" gammagroup="Text Backgrounds"/> <!-- Text object & message box text background color -->
<!-- Buttons -->
<color id="wasabi.button.text" value="0,0,0" gammagroup="Text"/> <!-- Buttons text color -->
<color id="wasabi.button.hiliteText" value="0,240,0" gammagroup="Text"/> <!-- Buttons hilite text color, used by tab windows-->
<color id="wasabi.button.dimmedText" value="64,64,64" gammagroup="Text"/> <!-- Buttons dimmed text color, when disabled -->
<!-- Popup menus -->
<color id="wasabi.popup.text" value="0,0,0" gammagroup="Text"/> <!-- Menu items text color -->
<color id="wasabi.popup.hiliteText" value="255,255,255" gammagroup="Text"/> <!-- Hilited item text color -->
<color id="wasabi.popup.dimmedText" value="64,64,64" gammagroup="Text"/> <!-- Disabled item text color -->
<!-- Components -->
<color id="wasabi.component.title.foreground" value="255,255,255" gammagroup="Text"/> <!-- Old title bar text color when using TTF -->
<color id="wasabi.component.title.border" value="1,1,1" gammagroup="Text Backgrounds"/> <!-- Old title bar text outline when using TTF -->
<!-- labeled windows -->
<color id="wasabi.labelwnd.foreground" value="220,220,220" gammagroup="Text"/> <!-- Text foreground color -->
<color id="wasabi.labelwnd.background" value="0,0,0" gammagroup="Text Backgrounds"/> <!-- Text drop shadow color -->
<!-- edit wnds -->
<color id="wasabi.edit.selection" value="127,127,127" gammagroup="Text Backgrounds"/> <!-- Selected text -->
<color id="wasabi.edit.text" value="196,255,196" gammagroup="Text"/> <!--Text -->
<color id="wasabi.edit.background" value="0,0,0" gammagroup="Text Backgrounds"/> <!--Text background -->
</elements>
<elements>
<color id="wasabi.text.color" value="255,255,255" gammagroup="Text"/>
<color id="wasabi.text.color.inverse" value="0,0,0" gammagroup="Text Inverse"/>
</elements>
<include file="system-element-aliases.xml"/>
<!-- also included in system-elements.xml, but it doesnt hurt to be thorough. I think. :) -->

View File

@ -0,0 +1,226 @@
<!-- This file contains aliases to old ids for backward compatibility to 488 (winamp3.0) -->
<!-- ============== -->
<!-- BITMAP ALIASES -->
<!-- ============== -->
<elements>
<!-- Base Texture -->
<elementalias id="studio.basetexture" target="wasabi.basetexture" />
<!-- Frame windows -->
<elementalias id="studio.framewnd.verticaldivider" target="wasabi.framewnd.verticaldivider"/>
<elementalias id="studio.framewnd.verticalgrabber" target="wasabi.framewnd.verticalgrabber"/>
<elementalias id="studio.framewnd.horizontaldivider" target="wasabi.framewnd.horizontaldivider"/>
<elementalias id="studio.framewnd.horizontalgrabber" target="wasabi.framewnd.horizontalgrabber"/>
<elementalias id="studio.framewnd.windowshade" target="wasabi.framewnd.windowshade"/>
<!-- Generic Lists and Trees -->
<elementalias id="studio.list.background" target="wasabi.list.background"/>
<elementalias id="sutdio.list.background" target="wasabi.list.background"/> <!-- typos suck -->
<elementalias id="studio.tree.background" target="wasabi.tree.background"/>
<elementalias id="studio.tree.tab.closed" target="wasabi.tree.tab.closed"/>
<elementalias id="studio.tree.tab.open" target="wasabi.tree.tab.open"/>
<elementalias id="studio.tree.link.top.bottom" target="wasabi.tree.link.top.bottom"/>
<elementalias id="studio.tree.link.top.right" target="wasabi.tree.link.top.right"/>
<elementalias id="studio.tree.link.top.rightBottom" target="wasabi.tree.link.top.rightBottom"/>
<elementalias id="studio.tree.link.tab.top.bottom" target="wasabi.tree.link.tab.top.bottom"/>
<elementalias id="studio.tree.link.tab.top.right" target="wasabi.tree.link.tab.top.right"/>
<elementalias id="studio.tree.link.tab.top.rightBottom" target="wasabi.tree.link.tab.top.rightBottom"/>
<!-- Scrollbars (on List, Tree, etc...) -->
<elementalias id="studio.scrollbar.horizontal.left" target="wasabi.scrollbar.horizontal.left"/>
<elementalias id="studio.scrollbar.horizontal.left.hilite" target="wasabi.scrollbar.horizontal.left.hover"/>
<elementalias id="studio.scrollbar.horizontal.left.pressed" target="wasabi.scrollbar.horizontal.left.pressed"/>
<elementalias id="studio.scrollbar.horizontal.right" target="wasabi.scrollbar.horizontal.right"/>
<elementalias id="studio.scrollbar.horizontal.right.hilite" target="wasabi.scrollbar.horizontal.right.hover"/>
<elementalias id="studio.scrollbar.horizontal.right.pressed" target="wasabi.scrollbar.horizontal.right.pressed"/>
<elementalias id="studio.scrollbar.horizontal.button" target="wasabi.scrollbar.horizontal.button"/>
<elementalias id="studio.scrollbar.horizontal.button.hilite" target="wasabi.scrollbar.horizontal.button.hover"/>
<elementalias id="studio.scrollbar.horizontal.button.pressed" target="wasabi.scrollbar.horizontal.button.pressed"/>
<elementalias id="studio.scrollbar.vertical.left" target="wasabi.scrollbar.vertical.left"/>
<elementalias id="studio.scrollbar.vertical.left.hilite" target="wasabi.scrollbar.vertical.left.hover"/>
<elementalias id="studio.scrollbar.vertical.left.pressed" target="wasabi.scrollbar.vertical.left.pressed"/>
<elementalias id="studio.scrollbar.vertical.right" target="wasabi.scrollbar.vertical.right"/>
<elementalias id="studio.scrollbar.vertical.right.hilite" target="wasabi.scrollbar.vertical.right.hover"/>
<elementalias id="studio.scrollbar.vertical.right.pressed" target="wasabi.scrollbar.vertical.right.pressed"/>
<elementalias id="studio.scrollbar.vertical.button" target="wasabi.scrollbar.vertical.button"/>
<elementalias id="studio.scrollbar.vertical.button.hilite" target="wasabi.scrollbar.vertical.button.hover"/>
<elementalias id="studio.scrollbar.vertical.button.pressed" target="wasabi.scrollbar.vertical.button.pressed"/>
<!-- labelwnd titles -->
<elementalias id="studio.label.upperleft" target="wasabi.label.top.left"/>
<elementalias id="studio.label.top" target="wasabi.label.top"/>
<elementalias id="studio.label.upperright" target="wasabi.label.top.right"/>
<elementalias id="studio.label.left" target="wasabi.label.left"/>
<elementalias id="studio.label.middle" target="wasabi.label.middle"/>
<elementalias id="studio.label.right" target="wasabi.label.right"/>
<elementalias id="studio.label.lowerleft" target="wasabi.label.bottom.left"/>
<elementalias id="studio.label.bottom" target="wasabi.label.bottom"/>
<elementalias id="studio.label.lowerright" target="wasabi.label.bottom.right"/>
<!-- default button -->
<elementalias id="studio.button.upperLeft" target="wasabi.button.top.left"/>
<elementalias id="studio.button.top" target="wasabi.button.top"/>
<elementalias id="studio.button.upperRight" target="wasabi.button.top.right"/>
<elementalias id="studio.button.left" target="wasabi.button.left"/>
<elementalias id="studio.button.middle" target="wasabi.button.middle"/>
<elementalias id="studio.button.right" target="wasabi.button.right"/>
<elementalias id="studio.button.lowerLeft" target="wasabi.button.bottom.left"/>
<elementalias id="studio.button.bottom" target="wasabi.button.bottom"/>
<elementalias id="studio.button.lowerRight" target="wasabi.button.bottom.right"/>
<elementalias id="studio.button.pressed.upperLeft" target="wasabi.button.pressed.top.left"/>
<elementalias id="studio.button.pressed.top" target="wasabi.button.pressed.top"/>
<elementalias id="studio.button.pressed.upperRight" target="wasabi.button.pressed.top.right"/>
<elementalias id="studio.button.pressed.left" target="wasabi.button.pressed.left"/>
<elementalias id="studio.button.pressed.middle" target="wasabi.button.pressed.middle"/>
<elementalias id="studio.button.pressed.right" target="wasabi.button.pressed.right"/>
<elementalias id="studio.button.pressed.lowerLeft" target="wasabi.button.pressed.bottom.left"/>
<elementalias id="studio.button.pressed.bottom" target="wasabi.button.pressed.bottom"/>
<elementalias id="studio.button.pressed.lowerRight" target="wasabi.button.pressed.bottom.right"/>
<!-- Popup menus -->
<elementalias id="studio.button.checkmark" target="wasabi.popup.menu.check"/>
<elementalias id="studio.popup.submenuIcon" target="wasabi.popup.menu.submenu"/>
<elementalias id="studio.popup.seperator" target="wasabi.popup.menu.seperator"/>
<elementalias id="studio.popup.background" target="wasabi.popup.menu.background"/>
<elementalias id="studio.popup.border.topLeft" target="wasabi.popup.menu.border.topLeft"/>
<elementalias id="studio.popup.border.top" target="wasabi.popup.menu.border.top"/>
<elementalias id="studio.popup.border.topRight" target="wasabi.popup.menu.border.topRight"/>
<elementalias id="studio.popup.border.left" target="wasabi.popup.menu.border.left"/>
<elementalias id="studio.popup.border.right" target="wasabi.popup.menu.border.right"/>
<elementalias id="studio.popup.border.bottomLeft" target="wasabi.popup.menu.border.bottomLeft"/>
<elementalias id="studio.popup.border.bottom" target="wasabi.popup.menu.border.bottom"/>
<elementalias id="studio.popup.border.bottomRight" target="wasabi.popup.menu.border.bottomRight"/>
<elementalias id="studio.popup.selection.left" target="wasabi.popup.menu.selection.left"/>
<elementalias id="studio.popup.selection.right" target="wasabi.popup.menu.selection.right"/>
<elementalias id="studio.popup.selection.center" target="wasabi.popup.menu.selection.center"/>
<!-- Sliders -->
<elementalias id="studio.seekbar.left" target="wasabi.slider.horizontal.left"/>
<elementalias id="studio.seekbar.middle" target="wasabi.slider.horizontal.middle"/>
<elementalias id="studio.seekbar.right" target="wasabi.slider.horizontal.right"/>
<elementalias id="studio.seekbar.top" target="wasabi.slider.vertical.top"/>
<elementalias id="studio.seekbar.middle" target="wasabi.slider.horizontal.middle"/>
<elementalias id="studio.seekbar.bottom" target="wasabi.slider.vertical.bottom"/>
<elementalias id="studio.seekbar.button.nonpressed" target="wasabi.slider.horizontal.button"/>
<elementalias id="studio.seekbar.button.pressed" target="wasabi.slider.horizontal.button.pressed"/>
</elements>
<!-- ============= -->
<!-- COLOR ALIASES -->
<!-- ============= -->
<elements>
<!-- Generic Trees -->
<elementalias id="studio.tree.text" target="wasabi.tree.text"/>
<elementalias id="studio.tree.selected" target="wasabi.tree.selected"/>
<elementalias id="studio.tree.hiliteddrop" target="wasabi.tree.hiliteddrop"/>
<!-- Generic Lists -->
<elementalias id="studio.list.text" target="wasabi.list.text"/>
<elementalias id="studio.list.item.selected" target="wasabi.list.item.selected"/>
<elementalias id="studio.list.item.focused" target="wasabi.list.item.focused"/>
<elementalias id="studio.list.column.background" target="wasabi.list.column.background"/>
<elementalias id="studio.list.column.text" target="wasabi.list.column.text"/>
<elementalias id="studio.list.item.selected.fg" target="wasabi.list.item.selected.fg"/>
<elementalias id="studio.list.column.separator" target="wasabi.list.column.separator"/>
<!-- Item Lists, Lists with playable items -->
<elementalias id="common.itemlist.outline.current" target="wasabi.itemlist.outline.current"/>
<elementalias id="common.itemlist.outline.focus" target="wasabi.itemlist.outline.focus"/>
<elementalias id="common.itemlist.selborder" target="wasabi.itemlist.selborder"/>
<!-- Message box -->
<elementalias id="studio.msgBox.background" target="wasabi.msgBox.background"/>
<elementalias id="studio.textBar.text" target="wasabi.textBar.text"/>
<elementalias id="studio.textBar.background" target="wasabi.textBar.background"/>
<!-- Buttons -->
<elementalias id="studio.button.text" target="wasabi.button.text"/>
<elementalias id="studio.button.hiliteText" target="wasabi.button.hiliteText"/>
<elementalias id="studio.button.dimmedText" target="wasabi.button.dimmedText"/>
<!-- Popup menus -->
<elementalias id="studio.popup.text" target="wasabi.popup.text"/>
<elementalias id="studio.popup.hiliteText" target="wasabi.popup.hiliteText"/>
<elementalias id="studio.popup.dimmedText" target="wasabi.popup.dimmedText"/>
<!-- Components -->
<elementalias id="studio.component.title.foreground" target="wasabi.component.title.foreground"/>
<elementalias id="studio.component.title.border" target="wasabi.component.title.border"/>
<!-- labeled windows -->
<elementalias id="common.labelwnd.foreground" target="wasabi.labelwnd.foreground"/>
<elementalias id="common.labelwnd.background" target="wasabi.labelwnd.background"/>
</elements>
<!-- NOT USED. WISHFUL THINKING.
__NOBODY USES THESE.
<bitmap id="wasabi.frame.divider.arrow.left" file="window/window-elements.png" x="56" y="124" h="7" w="4"/>
<bitmap id="wasabi.frame.divider.arrow.right" file="window/window-elements.png" x="60" y="124" h="7" w="4"/>
<bitmap id="wasabi.frame.divider.top.left" file="window/window-elements.png" x="115" y="31" h="3" w="3"/>
<bitmap id="wasabi.frame.divider.top" file="window/window-elements.png" x="118" y="31" h="3" w="10"/>
<bitmap id="wasabi.frame.divider.top.right" file="window/window-elements.png" x="128" y="31" h="3" w="3"/>
<bitmap id="wasabi.frame.divider.left" file="window/window-elements.png" x="115" y="34" h="10" w="3"/>
<bitmap id="wasabi.frame.divider.center" file="window/window-elements.png" x="118" y="34" h="10" w="10"/>
<bitmap id="wasabi.frame.divider.right" file="window/window-elements.png" x="128" y="34" h="10" w="3"/>
<bitmap id="wasabi.frame.divider.bottom.left" file="window/window-elements.png" x="115" y="44" h="3" w="3"/>
<bitmap id="wasabi.frame.divider.bottom" file="window/window-elements.png" x="118" y="44" h="3" w="10"/>
<bitmap id="wasabi.frame.divider.bottom.right" file="window/window-elements.png" x="128" y="44" h="3" w="3"/>
__TREE DOES NOT USE SORT ICON.
<bitmap id="studio.tree.sort.icon" file="window/tree-sort-icon.png" gammagroup="Tree Color"/>
__SCROLLBARS DO NOT HAVE A BACKGROUND ELEMENT.
<bitmap id="studio.scrollbar.horizontal.background" file="window/window-elements.png" x="58" y="52" h="13" w="41" gammagroup="Scrollbar Backgrounds"/>
<bitmap id="wasabi.scrollbar.horizontal.background" file="window/window-elements.png" x="58" y="52" h="13" w="41" gammagroup="Scrollbar Backgrounds"/>
<bitmap id="studio.scrollbar.vertical.background" file="window/window-elements.png" x="39" y="55" h="41" w="13" gammagroup="Scrollbar Backgrounds"/>
<bitmap id="wasabi.scrollbar.vertical.background" file="window/window-elements.png" x="39" y="55" h="41" w="13" gammagroup="Scrollbar Backgrounds"/>
__BUTTONS ON THE SCROLLBARS ONLY HAVE ONE ELEMENT.
<bitmap id="wasabi.scrollbar.horizontal.button.left" file="window/window-elements.png" x="57" y="13" h="13" w="3" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.middle" file="window/window-elements.png" x="60" y="13" h="13" w="35" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.right" file="window/window-elements.png" x="95" y="13" h="13" w="3" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.left.hover" file="window/window-elements.png" x="57" y="26" h="13" w="3" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.middle.hover" file="window/window-elements.png" x="60" y="26" h="13" w="35" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.right.hover" file="window/window-elements.png" x="95" y="26" h="13" w="3" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.left.pressed" file="window/window-elements.png" x="57" y="39" h="13" w="3" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.middle.pressed" file="window/window-elements.png" x="60" y="39" h="13" w="35" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.right.pressed" file="window/window-elements.png" x="95" y="39" h="13" w="3" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.top" file="window/window-elements.png" x="0" y="55" h="3" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.middle" file="window/window-elements.png" x="0" y="58" h="35" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.bottom" file="window/window-elements.png" x="0" y="93" h="3" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.top.hover" file="window/window-elements.png" x="13" y="55" h="3" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.middle.hover" file="window/window-elements.png" x="13" y="58" h="35" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.bottom.hover" file="window/window-elements.png" x="13" y="93" h="3" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.top.pressed" file="window/window-elements.png" x="26" y="55" h="3" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.middle.pressed" file="window/window-elements.png" x="26" y="58" h="35" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.bottom.pressed" file="window/window-elements.png" x="26" y="93" h="3" w="13" gammagroup="Scrollbar Buttons"/>
__NOBODY USES THESE, EITHER.
<bitmap id="studio.statusbar.left" file="window/window-elements.png" x="94" y="0" h="12" w="12"/>
<bitmap id="studio.statusbar.middle" file="window/window-elements.png" x="107" y="0" h="12" w="12"/>
<bitmap id="studio.statusbar.right" file="window/window-elements.png" x="120" y="0" h="12" w="12"/>
__NOR THIS COLOR.
<color id="studio.tree.hilited" value="0,255,255"/>
-->

View File

@ -0,0 +1,292 @@
<!-- You are probably wondering "What happened to all the studio. elements?" because
that is how you implemented your Wasabi skins in the past. That's okay. All of
those element ids still work. They have been turned into aliases and now exist
in "system-element-aliases.xml" which allows us all to be backwards compatible.
-->
<include file="system-element-aliases.xml" />
<elements>
<!-- Fonts -->
<bitmapfont id="studio.component.title" file="fonts/titlebar-font.png" hspacing="-3" vspacing="0" charwidth="10" charheight="11" gammagroup="Titlebar Font"/>
<bitmapfont id="wasabi.font.button.small" file="fonts/button-font-small.png" hspacing="-1" vspacing="0" charwidth="5" charheight="5" gammagroup="Button Fonts"/>
<bitmapfont id="wasabi.font.button.normal" file="fonts/button-font-normal.png" charwidth="5" charheight="6" hspacing="0" vspacing="0" gammagroup="Button Fonts"/>
<bitmapfont id="wasabi.font.default" file="fonts/default-font.png" charwidth="5" charheight="6" hspacing="0" vspacing="0" gammagroup="Display Fonts"/>
<bitmapfont id="studio.component.statusbar" file="fonts/default-font.png" charwidth="5" charheight="6" hspacing="0" vspacing="0" gammagroup="Display Fonts"/>
<!-- Base Texture -->
<bitmap id="wasabi.basetexture" file="window/background.png" gammagroup="Backgrounds"/>
<!-- Frame windows -->
<bitmap id="wasabi.framewnd.verticaldivider" file="window/window-elements.png" x="124" y="53" h="65" w="8" gammagroup="Backgrounds"/>
<bitmap id="wasabi.framewnd.verticalgrabber" file="window/window-elements.png" x="115" y="53" h="65" w="8" gammagroup="Backgrounds"/>
<bitmap id="wasabi.framewnd.horizontaldivider" file="window/window-elements.png" x="40" y="97" h="8" w="65" gammagroup="Backgrounds"/>
<bitmap id="wasabi.framewnd.horizontalgrabber" file="window/window-elements.png" x="40" y="106" h="8" w="65" gammagroup="Backgrounds"/>
<bitmap id="wasabi.framewnd.windowshade" file="window/framewnd-windowshade.png" gammagroup="Backgrounds"/>
<bitmap id="wasabi.frame.divider.arrow.up" file="window/window-elements.png" x="64" y="124" h="4" w="7"/>
<bitmap id="wasabi.frame.divider.arrow.down" file="window/window-elements.png" x="64" y="128" h="4" w="7"/>
<!-- Generic Lists and Trees -->
<bitmap id="wasabi.list.background" file="window/window-elements.png" x="1" y="115" h="17" w="17" gammagroup="Display Backgrounds"/> <!-- List background bitmap (tile) -->
<bitmap id="wasabi.tree.background" file="window/window-elements.png" x="1" y="115" h="17" w="17" gammagroup="Display Backgrounds"/> <!-- Tree background bitmap (tile) -->
<bitmap id="wasabi.tree.tab.closed" file="window/window-elements.png" x="149" y="0" h="14" w="14" gammagroup="Tree Color"/>
<bitmap id="wasabi.tree.tab.open" file="window/window-elements.png" x="135" y="0" h="14" w="14" gammagroup="Tree Color"/>
<bitmap id="wasabi.tree.link.top.bottom" file="window/window-elements.png" x="135" y="14" h="14" w="14" gammagroup="Tree Color"/>
<bitmap id="wasabi.tree.link.top.right" file="window/window-elements.png" x="135" y="42" h="14" w="14" gammagroup="Tree Color"/>
<bitmap id="wasabi.tree.link.top.rightBottom" file="window/window-elements.png" x="135" y="28" h="14" w="14" gammagroup="Tree Color"/>
<bitmap id="wasabi.tree.link.tab.top.bottom" file="window/window-elements.png" x="149" y="14" h="14" w="14" gammagroup="Tree Color"/>
<bitmap id="wasabi.tree.link.tab.top.right" file="window/window-elements.png" x="149" y="42" h="14" w="14" gammagroup="Tree Color"/>
<bitmap id="wasabi.tree.link.tab.top.rightBottom" file="window/window-elements.png" x="149" y="28" h="14" w="14" gammagroup="Tree Color"/>
<!-- Scrollbars (on List, Tree, etc...) -->
<bitmap id="wasabi.scrollbar.horizontal.left" file="window/window-elements.png" x="40" y="13" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.left.hover" file="window/window-elements.png" x="40" y="26" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.left.pressed" file="window/window-elements.png" x="40" y="39" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.right" file="window/window-elements.png" x="98" y="13" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.right.hover" file="window/window-elements.png" x="98" y="26" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.right.pressed" file="window/window-elements.png" x="98" y="39" h="13" w="17" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button" file="window/window-elements.png" x="57" y="13" h="13" w="41" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.hover" file="window/window-elements.png" x="57" y="26" h="13" w="41" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.button.pressed" file="window/window-elements.png" x="57" y="39" h="13" w="41" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.left" file="window/window-elements.png" x="0" y="38" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.left.hover" file="window/window-elements.png" x="13" y="38" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.left.pressed" file="window/window-elements.png" x="26" y="38" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.right" file="window/window-elements.png" x="0" y="96" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.right.hover" file="window/window-elements.png" x="13" y="96" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.right.pressed" file="window/window-elements.png" x="26" y="96" h="17" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button" file="window/window-elements.png" x="0" y="55" h="41" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.hover" file="window/window-elements.png" x="13" y="55" h="41" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.button.pressed" file="window/window-elements.png" x="26" y="55" h="41" w="13" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.vertical.grip" file="window/scrollgrips.png" x="0" y="0" h="8" w="6" gammagroup="Scrollbar Buttons"/>
<bitmap id="wasabi.scrollbar.horizontal.grip" file="window/scrollgrips.png" x="7" y="0" h="6" w="8" gammagroup="Scrollbar Buttons"/>
<!-- labelwnd titles -->
<bitmap id="wasabi.label.top.left" file="window/window-elements.png" x="0" y="170" w="2" h="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.top" file="window/window-elements.png" x="2" y="170" w="101" h="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.top.right" file="window/window-elements.png" x="103" y="170" w="2" h="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.left" file="window/window-elements.png" x="0" y="172" w="2" h="7" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.middle" file="window/window-elements.png" x="2" y="172" w="101" h="7" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.right" file="window/window-elements.png" x="103" y="172" w="2" h="7" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.bottom.left" file="window/window-elements.png" x="0" y="179" w="2" h="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.bottom" file="window/window-elements.png" x="2" y="179" w="101" h="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.label.bottom.right" file="window/window-elements.png" x="103" y="179" w="2" h="2" gammagroup="Backgrounds"/>
<!-- default button -->
<bitmap id="wasabi.button.top.left" file="window/window-elements.png" x="1" y="135" h="2" w="2" gammagroup="Buttons"/>
<bitmap id="wasabi.button.top" file="window/window-elements.png" x="4" y="135" h="2" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.top.right" file="window/window-elements.png" x="30" y="135" h="2" w="2" gammagroup="Buttons"/>
<bitmap id="wasabi.button.left" file="window/window-elements.png" x="1" y="138" h="25" w="2" gammagroup="Buttons"/>
<bitmap id="wasabi.button.middle" file="window/window-elements.png" x="4" y="138" h="25" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.right" file="window/window-elements.png" x="30" y="138" h="25" w="2" gammagroup="Buttons"/>
<bitmap id="wasabi.button.bottom.left" file="window/window-elements.png" x="1" y="164" h="2" w="2" gammagroup="Buttons"/>
<bitmap id="wasabi.button.bottom" file="window/window-elements.png" x="4" y="164" h="2" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.bottom.right" file="window/window-elements.png" x="30" y="164 " h="2" w="2" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.top.left" file="window/window-elements.png" x="67" y="135" h="2" w="2" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.top" file="window/window-elements.png" x="70" y="135" h="2" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.top.right" file="window/window-elements.png" x="96" y="135" h="2" w="2" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.left" file="window/window-elements.png" x="67" y="138" h="25" w="2" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.middle" file="window/window-elements.png" x="70" y="138" h="25" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.right" file="window/window-elements.png" x="96" y="138" h="25" w="2" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.bottom.left" file="window/window-elements.png" x="67" y="164" h="2" w="2" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.bottom" file="window/window-elements.png" x="70" y="164" h="2" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.bottom.right" file="window/window-elements.png" x="96" y="164 " h="2" w="2" gammagroup="Buttons"/>
<!-- Checkboxes and Radiobuttons -->
<bitmap id="wasabi.button.checkbox" file="window/window-elements.png" x="79" y="77" h="7" w="7" gammagroup="Checkboxes and Radio Buttons"/>
<bitmap id="wasabi.button.checkbox.pressed" file="window/window-elements.png" x="58" y="77" h="7" w="7" gammagroup="Checkboxes and Radio Buttons"/>
<!-- "xbox" isnt used by default, but we offer the graphics so you can change your theme to use them -->
<bitmap id="wasabi.button.checkbox.xbox" file="window/window-elements.png" x="79" y="77" h="7" w="7" gammagroup="Checkboxes and Radio Buttons"/>
<bitmap id="wasabi.button.checkbox.xbox.pressed" file="window/window-elements.png" x="65" y="77" h="7" w="7" gammagroup="Checkboxes and Radio Buttons"/>
<bitmap id="wasabi.button.radio.background" file="window/window-elements.png" x="58" y="66" h="11" w="11" gammagroup="Backgrounds"/>
<bitmap id="wasabi.button.radio.background.display" file="window/window-elements.png" x="69" y="66" h="9" w="9" gammagroup="Display Backgrounds"/>
<bitmap id="wasabi.button.radio" file="window/window-elements.png" x="79" y="77" h="7" w="7" gammagroup="Checkboxes and Radio Buttons"/>
<bitmap id="wasabi.button.radio.pressed" file="window/window-elements.png" x="72" y="77" h="7" w="7" gammagroup="Checkboxes and Radio Buttons"/>
<!-- Popup menus -->
<bitmap id="wasabi.popup.menu.check" file="menu/window-elements.png" x="20" y="8" h="9" w="10"/>
<bitmap id="wasabi.popup.menu.submenu" file="menu/window-elements.png" x="22" y="17" h="9" w="10"/>
<bitmap id="wasabi.popup.menu.seperator" file="menu/window-elements.png" x="8" y="13" h="6" w="11" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.background" file="menu/background.png" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.topLeft" file="menu/window-elements.png" x="0" y="0" h="2" w="2" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.top" file="menu/window-elements.png" x="8" y="0" h="2" w="8" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.topRight" file="menu/window-elements.png" x="33" y="0" h="2" w="4" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.left" file="menu/window-elements.png" x="0" y="8" h="8" w="2" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.right" file="menu/window-elements.png" x="33" y="8" h="8" w="4" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.bottomLeft" file="menu/window-elements.png" x="0" y="35" h="2" w="2" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.bottom" file="menu/window-elements.png" x="8" y="35" h="2" w="8" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.border.bottomRight" file="menu/window-elements.png" x="33" y="35" h="2" w="4" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.selection.left" file="menu/selbar.png" x="0" y="0" w="5" h="10" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.selection.right" file="menu/selbar.png" x="6" y="0" w="5" h="10" gammagroup="Menus"/>
<bitmap id="wasabi.popup.menu.selection.center" file="menu/selbar.png" x="27" y="0" w="20" h="10" gammagroup="Menus"/>
<!-- Title objects -->
<bitmap id="wasabi.titlebar.left.active" file="window/window-elements.png" x="106" y="118" h="9" w="7" gammagroup="Titlebars"/>
<bitmap id="wasabi.titlebar.center.active" file="window/window-elements.png" x="114" y="118" h="9" w="7" gammagroup="Titlebars"/>
<bitmap id="wasabi.titlebar.right.active" file="window/window-elements.png" x="122" y="118" h="9" w="7" gammagroup="Titlebars"/>
<bitmap id="wasabi.titlebar.left.inactive" file="window/window-elements.png" x="106" y="127" h="9" w="7" gammagroup="Titlebars"/>
<bitmap id="wasabi.titlebar.center.inactive" file="window/window-elements.png" x="114" y="127" h="9" w="7" gammagroup="Titlebars"/>
<bitmap id="wasabi.titlebar.right.inactive" file="window/window-elements.png" x="122" y="127" h="9" w="7" gammagroup="Titlebars"/>
<!-- Window Controls -->
<bitmap id="wasabi.button.sysmenu" file="window/window-elements.png" x="170" y="56" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.sysmenu.pressed" file="window/window-elements.png" x="170" y="65" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.minimize" file="window/window-elements.png" x="146" y="56" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.minimize.pressed" file="window/window-elements.png" x="146" y="65" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.winshade" file="window/window-elements.png" x="132" y="56" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.winshade.pressed" file="window/window-elements.png" x="132" y="65" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.close" file="window/window-elements.png" x="184" y="56" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.close.pressed" file="window/window-elements.png" x="184" y="65" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.less" file="window/window-elements.png" x="184" y="74" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.less.pressed" file="window/window-elements.png" x="184" y="83" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.more" file="window/window-elements.png" x="170" y="74" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.more.pressed" file="window/window-elements.png" x="170" y="83" h="9" w="14" gammagroup="Buttons"/>
<bitmap id="wasabi.button.appmenu" file="window/window-elements.png" x="160" y="74" h="9" w="10" gammagroup="Buttons"/>
<bitmap id="wasabi.button.appmenu.pressed" file="window/window-elements.png" x="160" y="83" h="9" w="10" gammagroup="Buttons"/>
<bitmap id="wasabi.button.exit" file="window/window-elements.png" x="160" y="56" h="9" w="10" gammagroup="Buttons"/>
<bitmap id="wasabi.button.exit.pressed" file="window/window-elements.png" x="160" y="65" h="9" w="10" gammagroup="Buttons"/>
<bitmap id="wasabi.button.close.flat" file="window/window-elements.png" x="160" y="56" h="9" w="10" gammagroup="Buttons"/>
<bitmap id="wasabi.button.close.flat.pressed" file="window/window-elements.png" x="160" y="65" h="9" w="10" gammagroup="Buttons"/>
<!-- Panel Bevels -->
<bitmap id="wasabi.panel.top.left" file="window/window-elements.png" x="19" y="114" h="2" w="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.top" file="window/window-elements.png" x="21" y="114" h="2" w="16" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.top.right" file="window/window-elements.png" x="37" y="114" h="2" w="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.left" file="window/window-elements.png" x="19" y="116" h="16" w="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.right" file="window/window-elements.png" x="37" y="116" h="16" w="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.bottom.left" file="window/window-elements.png" x="19" y="132" h="2" w="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.bottom" file="window/window-elements.png" x="21" y="132" h="2" w="16" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.bottom.right" file="window/window-elements.png" x="37" y="132" h="2" w="2" gammagroup="Backgrounds"/>
<bitmap id="wasabi.panel.tint" file="window/window-elements.png" x="24" y="119" h="10" w="10" gammagroup="Backgrounds"/>
<!-- Object Frame-->
<bitmap id="wasabi.objectframe.top.left" file="window/window-elements.png" x="0" y="114" h="1" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.objectframe.top" file="window/window-elements.png" x="1" y="114" h="1" w="17" gammagroup="Backgrounds"/>
<bitmap id="wasabi.objectframe.top.right" file="window/window-elements.png" x="18" y="114" h="1" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.objectframe.left" file="window/window-elements.png" x="0" y="115" h="17" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.objectframe.center" file="window/window-elements.png" x="1" y="115" h="17" w="17" gammagroup="Display Backgrounds"/>
<bitmap id="wasabi.objectframe.right" file="window/window-elements.png" x="18" y="115" h="17" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.objectframe.bottom.left" file="window/window-elements.png" x="0" y="132" h="1" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.objectframe.bottom" file="window/window-elements.png" x="1" y="132" h="1" w="17" gammagroup="Backgrounds"/>
<bitmap id="wasabi.objectframe.bottom.right" file="window/window-elements.png" x="18" y="132" h="1" w="1" gammagroup="Backgrounds"/>
<!-- Combo Box List-->
<bitmap id="wasabi.dropdownlist.list.top.left" file="window/window-elements.png" x="40" y="124" h="1" w="1"/>
<bitmap id="wasabi.dropdownlist.list.top" file="window/window-elements.png" x="41" y="124" h="1" w="10"/>
<bitmap id="wasabi.dropdownlist.list.top.right" file="window/window-elements.png" x="51" y="124" h="1" w="1"/>
<bitmap id="wasabi.dropdownlist.list.left" file="window/window-elements.png" x="40" y="125" h="8" w="1"/>
<bitmap id="wasabi.dropdownlist.list.center" file="window/window-elements.png" x="41" y="125" h="8" w="10" gammagroup="Display Backgrounds"/>
<bitmap id="wasabi.dropdownlist.list.right" file="window/window-elements.png" x="51" y="125" h="8" w="1"/>
<bitmap id="wasabi.dropdownlist.list.bottom.left" file="window/window-elements.png" x="40" y="133" h="1" w="1"/>
<bitmap id="wasabi.dropdownlist.list.bottom" file="window/window-elements.png" x="41" y="133" h="1" w="10"/>
<bitmap id="wasabi.dropdownlist.list.bottom.right" file="window/window-elements.png" x="51" y="133" h="1" w="1"/>
<!-- Embedded Window -->
<bitmap id="wasabi.window.top.left" file="window/window-elements.png" x="0" y="114" h="1" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.window.top" file="window/window-elements.png" x="1" y="114" h="1" w="17" gammagroup="Backgrounds"/>
<bitmap id="wasabi.window.top.right" file="window/window-elements.png" x="18" y="114" h="1" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.window.left" file="window/window-elements.png" x="0" y="115" h="17" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.window.center" file="window/window-elements.png" x="1" y="115" h="17" w="17" gammagroup="Display Backgrounds"/>
<bitmap id="wasabi.window.right" file="window/window-elements.png" x="18" y="115" h="17" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.window.bottom.left" file="window/window-elements.png" x="0" y="132" h="1" w="1" gammagroup="Backgrounds"/>
<bitmap id="wasabi.window.bottom" file="window/window-elements.png" x="1" y="132" h="1" w="17" gammagroup="Backgrounds"/>
<bitmap id="wasabi.window.bottom.right" file="window/window-elements.png" x="18" y="132" h="1" w="1" gammagroup="Backgrounds"/>
<!-- Generic Button -->
<bitmap id="wasabi.button.label.arrow.up" file="window/window-elements.png" x="137" y="75" h="4" w="7" gammagroup="Button Fonts"/>
<bitmap id="wasabi.button.label.arrow.down" file="window/window-elements.png" x="137" y="86" h="4" w="7" gammagroup="Button Fonts"/>
<bitmap id="wasabi.button.label.arrow.left" file="window/window-elements.png" x="133" y="79" h="7" w="4" gammagroup="Button Fonts"/>
<bitmap id="wasabi.button.label.arrow.right" file="window/window-elements.png" x="144" y="79" h="7" w="4" gammagroup="Button Fonts"/>
<bitmap id="wasabi.button.label.ellipses" file="window/window-elements.png" x="138" y="92" h="1" w="5" gammagroup="Button Fonts"/>
<bitmap id="wasabi.button.top.left" file="window/window-elements.png" x="0" y="134" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.top" file="window/window-elements.png" x="4" y="134" h="4" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.top.right" file="window/window-elements.png" x="29" y="134" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.left" file="window/window-elements.png" x="0" y="138" h="25" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.center" file="window/window-elements.png" x="4" y="138" h="25" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.right" file="window/window-elements.png" x="29" y="138" h="25" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.bottom.left" file="window/window-elements.png" x="0" y="163" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.bottom" file="window/window-elements.png" x="4" y="163" h="4" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.bottom.right" file="window/window-elements.png" x="29" y="163" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.top.left" file="window/window-elements.png" x="33" y="134" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.top" file="window/window-elements.png" x="37" y="134" h="4" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.top.right" file="window/window-elements.png" x="62" y="134" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.left" file="window/window-elements.png" x="33" y="138" h="25" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.center" file="window/window-elements.png" x="37" y="138" h="25" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.right" file="window/window-elements.png" x="62" y="138" h="25" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.bottom.left" file="window/window-elements.png" x="33" y="163" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.bottom" file="window/window-elements.png" x="37" y="163" h="4" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.hover.bottom.right" file="window/window-elements.png" x="62" y="163" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.top.left" file="window/window-elements.png" x="66" y="134" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.top" file="window/window-elements.png" x="70" y="134" h="4" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.top.right" file="window/window-elements.png" x="95" y="134" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.left" file="window/window-elements.png" x="66" y="138" h="25" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.center" file="window/window-elements.png" x="70" y="138" h="25" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.right" file="window/window-elements.png" x="95" y="138" h="25" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.bottom.left" file="window/window-elements.png" x="66" y="163" h="4" w="4" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.bottom" file="window/window-elements.png" x="70" y="163" h="4" w="25" gammagroup="Buttons"/>
<bitmap id="wasabi.button.pressed.bottom.right" file="window/window-elements.png" x="95" y="163" h="4" w="4" gammagroup="Buttons"/>
<!-- Generic Sliders -->
<bitmap id="wasabi.slider.horizontal.left" file="window/window-elements.png" x="106" y="149" h="8" w="8" gammagroup="Sliders Backgrounds"/>
<bitmap id="wasabi.slider.horizontal.middle" file="window/window-elements.png" x="115" y="149" h="8" w="10" gammagroup="Sliders Backgrounds"/>
<bitmap id="wasabi.slider.horizontal.right" file="window/window-elements.png" x="126" y="149" h="8" w="8" gammagroup="Sliders Backgrounds"/>
<bitmap id="wasabi.slider.vertical.top" file="window/window-elements.png" x="138" y="136" h="8" w="8" gammagroup="Sliders Backgrounds"/>
<bitmap id="wasabi.slider.vertical.middle" file="window/window-elements.png" x="138" y="145" h="10" w="8" gammagroup="Sliders Backgrounds"/>
<bitmap id="wasabi.slider.vertical.bottom" file="window/window-elements.png" x="138" y="156" h="8" w="8" gammagroup="Sliders Backgrounds"/>
<bitmap id="wasabi.slider.horizontal.button" file="window/window-elements.png" x="106" y="136" h="13" w="15" gammagroup="Buttons"/>
<bitmap id="wasabi.slider.horizontal.button.pressed" file="window/window-elements.png" x="121" y="136" h="13" w="15" gammagroup="Buttons"/>
<bitmap id="wasabi.slider.vertical.button" file="window/window-elements.png" x="106" y="157" h="12" w="16" gammagroup="Buttons"/>
<bitmap id="wasabi.slider.vertical.button.pressed" file="window/window-elements.png" x="122" y="157" h="12" w="16" gammagroup="Buttons"/>
<!-- These are transparent by default for skins background compatibility -->
<bitmap id="wasabi.scrollbar.horizontal.background.left" file="window/window-elements.png" x="180" y="160" w="5" h="5" />
<bitmap id="wasabi.scrollbar.horizontal.background.middle" file="window/window-elements.png" x="185" y="160" w="5" h="5" />
<bitmap id="wasabi.scrollbar.horizontal.background.right" file="window/window-elements.png" x="190" y="160" w="5" h="5" />
<bitmap id="wasabi.scrollbar.vertical.background.top" file="window/window-elements.png" x="180" y="165" w="5" h="5" />
<bitmap id="wasabi.scrollbar.vertical.background.middle" file="window/window-elements.png" x="185" y="165" w="5" h="5" />
<bitmap id="wasabi.scrollbar.vertical.background.bottom" file="window/window-elements.png" x="190" y="165" w="5" h="5" />
<!-- Generic Group Box -->
<bitmap id="wasabi.groupbox.top.left" file="window/window-elements.png" x="116" y="13" h="3" w="3" gammagroup="Backgrounds"/>
<bitmap id="wasabi.groupbox.top" file="window/window-elements.png" x="120" y="13" h="3" w="8" gammagroup="Backgrounds"/>
<bitmap id="wasabi.groupbox.top.right" file="window/window-elements.png" x="129" y="13" h="3" w="3" gammagroup="Backgrounds"/>
<bitmap id="wasabi.groupbox.left" file="window/window-elements.png" x="116" y="17" h="8" w="3" gammagroup="Backgrounds"/>
<bitmap id="wasabi.groupbox.right" file="window/window-elements.png" x="129" y="17" h="8" w="3" gammagroup="Backgrounds"/>
<bitmap id="wasabi.groupbox.bottom.left" file="window/window-elements.png" x="116" y="26" h="3" w="3" gammagroup="Backgrounds"/>
<bitmap id="wasabi.groupbox.bottom" file="window/window-elements.png" x="120" y="26" h="3" w="8" gammagroup="Backgrounds"/>
<bitmap id="wasabi.groupbox.bottom.right" file="window/window-elements.png" x="129" y="26" h="3" w="3" gammagroup="Backgrounds"/>
</elements>
<include file="system-element-aliases.xml"/>

View File

@ -0,0 +1,100 @@
<include file="groups/buttonbar.xml" />
<include file="groups/objectframe.xml" />
<include file="groups/panel.xml" />
<include file="groups/window.xml" />
<include file="groups/window-embedded.xml" />
<!-- Unused for now, see system-elements.xml for overriding default button art -->
<!--
<groupdef id="wasabi.button.normal">
<grid
id="button.normal.grid"
x="0" y="0"
w="0" h="0"
relatw="1" relath="1"
topleft="wasabi.button.top.left"
top="wasabi.button.top"
topright="wasabi.button.top.right"
left="wasabi.button.left"
middle="wasabi.button.center"
right="wasabi.button.right"
bottomleft="wasabi.button.bottom.left"
bottom="wasabi.button.bottom"
bottomright="wasabi.button.bottom.right"
/>
<text
id="button.text"
x="6" y="4"
w="-13" h="11"
relatw="1"
default="Button"
align="center"
font="wasabi.font.button.normal"
/>
</groupdef>
<groupdef id="wasabi.button.pressed">
<grid
id="button.pressed.grid"
x="0" y="0"
w="0" h="0"
relatw="1" relath="1"
topleft="wasabi.button.pressed.top.left"
top="wasabi.button.pressed.top"
topright="wasabi.button.pressed.top.right"
left="wasabi.button.pressed.left"
middle="wasabi.button.pressed.center"
right="wasabi.button.pressed.right"
bottomleft="wasabi.button.pressed.bottom.left"
bottom="wasabi.button.pressed.bottom"
bottomright="wasabi.button.pressed.bottom.right"
/>
<text
id="button.text"
x="7" y="5"
w="-13" h="11"
relatw="1"
default="Button"
font="wasabi.font.button.normal"
/>
</groupdef>
<groupdef id="wasabi.button">
<group id="wasabi.button.normal"
x="0" y="0"
w="0" h="0"
relatw="1" relath="1"
/>
</groupdef>
-->
<!-- Unused for now, see system-elements.xml for overriding default divider art -->
<!--
<groupdef id="wasabi.frame.divider">
<grid
id="wasabi.frame.grid"
x="0" y="0"
w="0" h="0"
relatw="1" relath="1"
topleft="wasabi.frame.divider.top.left"
top="wasabi.frame.divider.top"
topright="wasabi.frame.divider.top.right"
left="wasabi.frame.divider.left"
middle="wasabi.frame.divider.center"
right="wasabi.frame.divider.right"
bottomleft="wasabi.frame.divider.bottom.left"
bottom="wasabi.frame.divider.bottom"
bottomright="wasabi.frame.divider.bottom.right"
/>
</groupdef>
-->

View File

@ -0,0 +1,141 @@
#include <lib/std.mi>
Function updateButton();
Function setIconState(int i);
Global Group XUIGroup;
Global Text myLabel;
Global Button myButton;
Global Layer myLayer;
Global Boolean smallsize, isMouseOver, busyWithClick, isGhost;
Global String savedLabel, iconId;
Global Int label_y , label_x;
System.onScriptLoaded(){
XUIGroup = getScriptGroup();
myLabel = XUIGroup.findObject("itb.text");
myButton = XUIGroup.findObject("itb.button");
myLayer = XUIGroup.findObject("itb.layer");
myButton.setXmlParam("translate",XUIGroup.getXmlParam("translate"));
myLabel.setXmlParam("translate",XUIGroup.getXmlParam("translate"));
myButton.setXmlParam("translate",XUIGroup.getXmlParam("translate"));
myButton.setXmlParam("tooltip",XUIGroup.getXmlParam("tooltip"));
myButton.setXmlParam("ghost",XUIGroup.getXmlParam("ghost"));
}
System.onSetXuiParam(String param, String value)
{
if (strlower(param) == "icon_id")
{
iconId = value;
setIconState(1);
}
else if (strlower(param) == "label")
{
savedLabel = value;
updateButton();
}
else if (strlower(param) == "label_translate")
{
myLabel.setXmlParam("translate", value);
}
else if (strlower(param) == "label_x")
{
label_x = stringToInteger(value);
myLabel.setXmlParam("x", value);
}
else if (strlower(param) == "label_y")
{
label_y = stringToInteger(value);
myLabel.setXmlParam("y", value);
}
else if (strlower(param) == "label_h")
{
myLabel.setXmlParam("h", value);
}
else if (strlower(param) == "label_color")
{
myLabel.setXmlParam("color", value);
}
else if (strlower(param) == "label_visible")
{
if (value == "0") smallsize=true;
else smallsize=false;
updateButton();
}
}
myButton.onLeftButtonDown (int x, int y)
{
myLabel.setXmlParam("y", integerToString(label_y+1));
setIconState(3);
busyWithClick=true;
}
myButton.onLeftButtonUp (int x, int y)
{
myLabel.setXmlParam("y", integerToString(label_y));
if (isMouseOver) setIconState(2);
else setIconState(1);
busyWithClick=false;
}
myButton.onRightButtonDown (int x, int y)
{
busyWithClick=false;
}
myButton.onEnterArea ()
{
if (busyWithClick)
{
setIconState(3);
myLabel.setXmlParam("y", integerToString(label_y+1));
}
else
{
setIconState(2);
}
isMouseOver = true;
}
myButton.onLeaveArea ()
{
setIconState(1);
isMouseOver = false;
myLabel.setXmlParam("y", integerToString(label_y));
}
updateButton ()
{
if (smallsize)
myLabel.setText(" ");
else
myLabel.setText(savedLabel);
}
setIconState (int i)
{
if (i == 1)
myLayer.setXmlParam("image", iconId+".normal");
else if (i == 2)
myLayer.setXmlParam("image", iconId+".hover");
else if (i ==3 )
myLayer.setXmlParam("image", iconId+".down");
}
XUIGroup.onAction (String action, String param, Int x, int y, int p1, int p2, GuiObject source)
{
if (strlower(action) == "getwidth")
{
int w = label_x + myLabel.getAutoWidth();
XUIGroup.setXmlParam("w", integerToString(w));
return w;
}
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -0,0 +1,349 @@
<!-- ==============================================================
<Winamp:Browser/>
@author: Martin Poehlmann
@version: 1.1
sendActions: openurl, search
usage: 1) include init_browser.m in your loadattribs.m
2) paste a <winamp:browser/> object somewhere in your skin
3) alter the default images if you like
note: Design and gammagroups are aligned to fit with
Bento. So overide the bitmaps in your skin in
order to change them.
=============================================================== -->
<elements>
<bitmap id="browser.editframe.left" file="xml/xui/browser/browser.png" x="0" y="78" h="22" w="4" gammagroup="ComponentFrame"/>
<bitmap id="browser.editframe.center" file="xml/xui/browser/browser.png" x="4" y="78" h="22" w="2" gammagroup="ComponentFrame"/>
<bitmap id="browser.editframe.right" file="xml/xui/browser/browser.png" x="6" y="78" h="22" w="4" gammagroup="ComponentFrame"/>
<bitmap id="browser.button.back.normal" file="xml/xui/browser/browser.png" x="8" y="0" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.back.hover" file="xml/xui/browser/browser.png" x="8" y="26" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.back.down" file="xml/xui/browser/browser.png" x="8" y="52" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.forth.normal" file="xml/xui/browser/browser.png" x="29" y="0" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.forth.hover" file="xml/xui/browser/browser.png" x="29" y="26" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.forth.down" file="xml/xui/browser/browser.png" x="29" y="52" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.reload.normal" file="xml/xui/browser/browser.png" x="50" y="0" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.reload.hover" file="xml/xui/browser/browser.png" x="50" y="26" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.reload.down" file="xml/xui/browser/browser.png" x="50" y="52" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.stop.normal" file="xml/xui/browser/browser.png" x="71" y="0" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.stop.hover" file="xml/xui/browser/browser.png" x="71" y="26" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.stop.down" file="xml/xui/browser/browser.png" x="71" y="52" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.home.normal" file="xml/xui/browser/browser.png" x="92" y="0" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.home.hover" file="xml/xui/browser/browser.png" x="92" y="26" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.home.down" file="xml/xui/browser/browser.png" x="92" y="52" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.links.normal" file="xml/xui/browser/browser.png" x="113" y="0" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.links.hover" file="xml/xui/browser/browser.png" x="113" y="26" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.links.down" file="xml/xui/browser/browser.png" x="113" y="52" h="26" w="21" gammagroup="WindowText"/>
<bitmap id="browser.button.search.winamp.normal" file="xml/xui/browser/browser.png" x="45" y="78" h="16" w="25" gammagroup="none"/>
<bitmap id="browser.button.search.google.normal" file="xml/xui/browser/browser.png" x="20" y="78" h="16" w="25" gammagroup="none"/>
<bitmap id="browser.button.search.aol.normal" file="xml/xui/browser/browser.png" x="70" y="78" h="16" w="25" gammagroup="none"/>
<bitmap id="browser.button.search.eventful.normal" file="xml/xui/browser/browser.png" x="95" y="78" h="16" w="25" gammagroup="none"/>
<bitmap id="browser.button.search.pollstar.normal" file="xml/xui/browser/browser.png" x="0" y="180" h="16" w="25" gammagroup="none"/>
<bitmap id="browser.button.search.wiki.normal" file="xml/xui/browser/browser.png" x="25" y="180" h="16" w="25" gammagroup="none"/>
<bitmap id="browser.button.search.bit.normal" file="xml/xui/browser/browser.png" x="50" y="180" h="16" w="25" gammagroup="none"/>
<bitmap id="browser.button.search.jambase.normal" file="xml/xui/browser/browser.png" x="75" y="180" h="16" w="25" gammagroup="none"/>
<bitmap id="browser.button.search.ln.normal" file="xml/xui/browser/browser.png" x="100" y="180" h="16" w="25" gammagroup="none"/>
<bitmap id="browser.button.search.ontour.normal" file="xml/xui/browser/browser.png" x="125" y="180" h="16" w="25" gammagroup="none"/>
<bitmap id="browser.button.search.truveo.normal" file="xml/xui/browser/browser.png" x="120" y="78" h="16" w="25" gammagroup="none"/>
<bitmap id="browser.button.scraper.hide.normal" file="xml/xui/browser/browser2.png" x="17" y="0" h="13" w="17" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.hide.hover" file="xml/xui/browser/browser2.png" x="17" y="13" h="13" w="17" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.hide.down" file="xml/xui/browser/browser2.png" x="17" y="26" h="13" w="17" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.show.normal" file="xml/xui/browser/browser2.png" x="0" y="0" h="13" w="17" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.show.hover" file="xml/xui/browser/browser2.png" x="0" y="13" h="13" w="17" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.show.down" file="xml/xui/browser/browser2.png" x="0" y="26" h="13" w="17" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.play.normal" file="xml/xui/browser/browser2.png" x="34" y="0" h="13" w="17" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.play.hover" file="xml/xui/browser/browser2.png" x="34" y="13" h="13" w="17" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.play.down" file="xml/xui/browser/browser2.png" x="34" y="26" h="13" w="17" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.download.normal" file="xml/xui/browser/browser2.png" x="51" y="0" h="13" w="17" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.download.hover" file="xml/xui/browser/browser2.png" x="51" y="13" h="13" w="17" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.download.down" file="xml/xui/browser/browser2.png" x="51" y="26" h="13" w="17" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.rescan.normal" file="xml/xui/browser/browser2.png" x="68" y="0" h="13" w="17" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.rescan.hover" file="xml/xui/browser/browser2.png" x="68" y="13" h="13" w="17" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.rescan.down" file="xml/xui/browser/browser2.png" x="68" y="26" h="13" w="17" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.normal" file="xml/xui/browser/browser2.png" x="0" y="39" h="18" w="20" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.hover" file="xml/xui/browser/browser2.png" x="0" y="57" h="18" w="20" gammagroup="WindowText"/>
<bitmap id="browser.button.scraper.down" file="xml/xui/browser/browser2.png" x="0" y="76" h="18" w="20" gammagroup="WindowText"/>
<bitmap id="browser.button.dlds.normal" file="xml/xui/browser/browser2.png" x="20" y="39" h="18" w="20" gammagroup="WindowText"/>
<bitmap id="browser.button.dlds.hover" file="xml/xui/browser/browser2.png" x="20" y="57" h="18" w="20" gammagroup="WindowText"/>
<bitmap id="browser.button.dlds.down" file="xml/xui/browser/browser2.png" x="20" y="76" h="18" w="20" gammagroup="WindowText"/>
<bitmap id="browser.button.settings.normal" file="xml/xui/browser/browser2.png" x="40" y="39" h="18" w="20" gammagroup="WindowText"/>
<bitmap id="browser.button.settings.hover" file="xml/xui/browser/browser2.png" x="40" y="57" h="18" w="20" gammagroup="WindowText"/>
<bitmap id="browser.button.settings.down" file="xml/xui/browser/browser2.png" x="40" y="76" h="18" w="20" gammagroup="WindowText"/>
<bitmap id="browser.list.label" file="xml/xui/browser/browser2.png" x="0" y="93" w="32" h="12" gammagroup="DisplayText"/>
<bitmap id="browser.list.label2" file="xml/xui/browser/browser2.png" x="0" y="93" w="16" h="12" gammagroup="DisplayText"/>
<color id="browser.text" value="172,172,172" gammagroup="WindowText" />
<color id="browser.text.active" value="238,238,238" gammagroup="WindowText" />
</elements>
<include file="stringtable.xml"/>
<include file="icontextbutton.xml"/>
<groupdef id="winamp.xui.browser" embed_xui="webbrowser" xuitag="Winamp:Browser">
<Button id="browser.back"
x="4" h="26" w="21" y="2" rectrgn="1"
image="browser.button.back.normal"
hoverImage="browser.button.back.hover"
downImage="browser.button.back.down"
tooltip="Go Back"
/>
<Button id="browser.fwd"
x="25" h="26" w="21" y="2" rectrgn="1"
image="browser.button.forth.normal"
hoverImage="browser.button.forth.hover"
downImage="browser.button.forth.down"
tooltip="Go Forward"
/>
<Button id="browser.refresh"
x="46" h="26" w="21" y="2" rectrgn="1"
image="browser.button.reload.normal"
hoverImage="browser.button.reload.hover"
downImage="browser.button.reload.down"
tooltip="Reload Page"
/>
<Button id="browser.stop"
x="67" h="26" w="21" y="2" rectrgn="1"
image="browser.button.stop.normal"
hoverImage="browser.button.stop.hover"
downImage="browser.button.stop.down"
tooltip="Cancel Loading"
/>
<Button id="browser.home"
x="88" h="26" w="21" y="2" rectrgn="1"
image="browser.button.home.normal"
hoverImage="browser.button.home.hover"
downImage="browser.button.home.down"
tooltip="Home"
/>
<Button id="browser.links"
x="109" h="26" w="21" y="2" rectrgn="1"
image="browser.button.links.normal"
hoverImage="browser.button.links.hover"
downImage="browser.button.links.down"
tooltip="Quick Links"
/>
<group id="browser.navurl" x="134" y="3" h="22" w="-303" relatw="1" />
<group id="browser.search" x="-167" y="3" h="22" w="163" relatx="1" />
<Wasabi:Frame id="browser.dualwnd" x="1" y="29" w="-2" relath="1" h="-28" from="bottom" relatw="1" orientation="h" maxheight="null" left="browser.itself" right="browser.scraper" minheight="55" height="100" jump="0"/>
<script file="xml/xui/browser/browser.maki" param="\"/>
</groupdef>
<groupdef id="browser.itself">
<browser id="webbrowser" fitparent="1" url="http://www.winamp.com" wantfocus="0"/>
</groupdef>
<groupdef id="browser.navurl">
<!-- kept for cPro1 backwards-compat -->
<button id="browser.navigate" x="0" h="0" w="0" y="0" visible="0" ghost="1" tooltip="Go to This URL"/>
<grid x="0" y="0" h="22" w="0" relatw="1"
left="browser.editframe.left"
middle="browser.editframe.center"
right="browser.editframe.right"
/>
<Wasabi:HistoryEditBox id="browser.hedit" x="5" h="18" w="-10" relatw="1" y="2" text="http://www.winamp.com" navbuttons="0" wantfocus="0" antialias="0"/>
</groupdef>
<groupdef id="browser.search">
<!-- kept for cPro1 backwards-compat -->
<button id="search.go" x="0" h="0" w="0" y="0" visible="0" ghost="1"
tooltip="Go Search"
action="search" param="go" action_target="webbrowser"
/>
<grid x="0" y="0" h="22" w="0" relatw="1"
left="browser.editframe.left"
middle="browser.editframe.center"
right="browser.editframe.right"
/>
<Wasabi:Button id="search.choose" x="5" y="2" w="31" h="18"
tooltip="Choose Your Search Engine"
image="browser.button.search.winamp.normal" center_image="1"
action="search" param="choose" action_target="webbrowser"
/>
<Wasabi:EditBox id="search.edit" x="36" y="2" relatw="1" w="-41" h="18" text=""/>
</groupdef>
<groupdef id="scraper.mode">
<Wasabi:IconButton id="browser.scraper.play" rectrgn="1"
x="-267" h="13" y="2" relatx="1"
icon_id="browser.button.scraper.play"
translate="2"
label="@nullsoft.browser#8"
label_y="-2"
label_x="18"
label_color="browser.text"
tooltip="@nullsoft.browser#9"
/>
<Wasabi:IconButton id="browser.scraper.download" rectrgn="1"
x="-218" h="13" y="2" relatx="1"
icon_id="browser.button.scraper.download"
translate="2"
label="@nullsoft.browser#6"
label_y="-2"
label_x="18"
label_color="browser.text"
tooltip="@nullsoft.browser#7"
/>
<Wasabi:IconButton id="browser.scraper.rescan" rectrgn="1"
x="-139" h="13" y="2" relatx="1"
icon_id="browser.button.scraper.rescan"
translate="2"
label="@nullsoft.browser#4"
label_y="-2"
label_x="18"
label_color="browser.text"
tooltip="@nullsoft.browser#5"
/>
<Wasabi:IconButton id="scraper.switch" x="7" y="0" rectrgn="1" ghost="1"
icon_id="browser.button.scraper"
translate="2"
label="@nullsoft.browser#10"
label_y="0"
label_x="20"
label_color="browser.text.active"
/>
<Wasabi:IconButton id="dlds.switch" x="110" y="0" rectrgn="1"
icon_id="browser.button.dlds"
translate="2"
label="@nullsoft.browser#12"
label_y="0"
label_x="20"
label_color="browser.text"
tooltip="@nullsoft.browser#13"
/>
<List x="0" w="0" y="19" h="-19" relatw="1" relath="1"
id="scraper.results"
multiselect="1" autodeselect="1" sort="0" focusonclick="1"
numcolumns="2" columnwidths="270;-1" wa5style="1"
visible="1"
/>
</groupdef>
<groupdef id="dlds.mode">
<Wasabi:IconButton id="scraper.switch" x="7" y="0" rectrgn="1"
icon_id="browser.button.scraper"
translate="2"
label="@nullsoft.browser#10"
label_y="0"
label_x="20"
label_color="browser.text"
tootip="@nullsoft.browser#11"
/>
<Wasabi:IconButton id="dlds.switch" x="110" y="0" rectrgn="1" ghost="1"
icon_id="browser.button.dlds"
translate="2"
label="@nullsoft.browser#12"
label_y="0"
label_x="20"
label_color="browser.text.active"
/>
<DownloadsList x="0" w="0" y="19" h="-19" relatw="1" relath="1"
id="scraper.downloads"
NOCOLHEADER="0"
/>
<Wasabi:IconButton id="browser.dlds.play" rectrgn="1"
x="-118" h="13" y="2" relatx="1"
icon_id="browser.button.scraper.play"
translate="2"
label="@nullsoft.browser#8"
label_y="-2"
label_x="18"
label_color="browser.text"
action="PLAY_SELECTED"
action_target="scraper.downloads"
tooltip="@nullsoft.browser#9"
/>
</groupdef>
<groupdef id="browser.scraper">
<rect x="0" y="18" w="0" relath="1" h="-18" relatw="1" filled="1" color="color.display.bg" />
<guiobject fitparent="1" wantfocus="1" />
<Wasabi:IconButton id="browser.dlds.settings" rectrgn="1"
x="196" y="0"
icon_id="browser.button.settings"
translate="2"
label="@nullsoft.browser#14"
label_y="0"
label_x="20"
label_color="browser.text"
tooltip="@nullsoft.browser#15"
/>
<Wasabi:IconButton id="browser.scraper.show" rectrgn="1"
x="-56" h="13" y="2" relatx="1"
icon_id="browser.button.scraper.show"
translate="2"
label="@nullsoft.browser#2"
label_y="-2"
label_x="18"
label_color="browser.text"
tooltip="@nullsoft.browser#3"
/>
<Wasabi:IconButton id="browser.scraper.hide" rectrgn="1"
x="-56" h="13" y="2" relatx="1"
icon_id="browser.button.scraper.hide"
translate="2"
label="@nullsoft.browser#0"
label_y="-2"
label_x="18"
label_color="browser.text"
tooltip="@nullsoft.browser#1"
/>
<group id="scraper.mode" fitparent="1"/>
<group id="dlds.mode" fitparent="1" visible="0"/>
</groupdef>

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

@ -0,0 +1,236 @@
/*---------------------------------------------------
-----------------------------------------------------
Filename: buttonpos.m
Version: 1.0
Type: maki
Date: 03. Jun. 2008 - 21:29
Author: Martin Poehlmann aka Deimos
E-Mail: martin@skinconsortium.com
Internet: www.skinconsortium.com
www.martin.deimos.de.vu
-----------------------------------------------------
Depending Files:
browser.maki
-----------------------------------------------------
---------------------------------------------------*/
#ifndef included
#error This script can only be compiled as a #include
#endif
#define MARGIN_RIGHT 2
#define HIDE_RESCAN_SPACER 16
#define BUTTON_SPACER 8
#define BIG_BUTTON_SPACER 10
Function int max (int a, int b);
Function setGuiX (GuiObject g, int x);
Global GuiObject scr_open_xui, scr_close_xui, scr_rescan_xui, scr_download_xui, scr_play_xui, dld_play_xui;
Global GuiObject switch_scr_xui, switch_scr2_xui, switch_dld_xui, switch_dld2_xui, settings_xui;
Global Int x_open_close, x_rescan, x_download, x_play, x_dld_play;
Global Int w_switch_scr, w_switch_dld, w_settings;
Global Int margin_left;
Global boolean done;
Function initButtonPos();
Function hideDownloads();
initButtonPos()
{
scr_open_xui = scr_open.getParent();
scr_close_xui = scr_close.getParent();
scr_rescan_xui = scr_rescan.getParent();
scr_download_xui = scr_download.getParent();
scr_play_xui = scr_play.getParent();
dld_play_xui = dld_play.getParent();
switch_scr_xui = switch_scr.getParent();
switch_scr2_xui = switch_scr2.getParent();
switch_dld_xui = switch_dld.getParent();
switch_dld2_xui = switch_dld2.getParent();
settings_xui = dld_settings.getParent();
}
/// HACK
normal.onsetvisible(boolean a)
{
if (done)
{
return;
}
if (!download)
{
hideDownloads();
done = 1;
return;
}
done = 1;
int i1 = scr_open_xui.onAction ("getwidth", "", 0,0,0,0,scr_open_xui);
int i2 = scr_close_xui.onAction ("getwidth", "", 0,0,0,0,scr_close_xui);
x_open_close = max(i1, i2) + MARGIN_RIGHT;
setGuiX(scr_open_xui, -x_open_close);
setGuiX(scr_close_xui, -x_open_close);
i1 = dld_play_xui.onAction ("getwidth", "", 0,0,0,0,dld_play_xui);
x_dld_play = i1 + x_open_close + HIDE_RESCAN_SPACER;
setGuiX(dld_play_xui, -x_dld_play);
i1 = scr_rescan_xui.onAction ("getwidth", "", 0,0,0,0,scr_rescan_xui);
x_rescan = i1 + x_open_close + HIDE_RESCAN_SPACER;
setGuiX(scr_rescan_xui, -x_rescan);
i1 = scr_download_xui.onAction ("getwidth", "", 0,0,0,0,scr_download_xui);
x_download = i1 + x_rescan + BUTTON_SPACER;
setGuiX(scr_download_xui, -x_download);
i1 = scr_play_xui.onAction ("getwidth", "", 0,0,0,0,scr_play_xui);
x_play = i1 + x_download + BUTTON_SPACER;
setGuiX(scr_play_xui, -x_play);
margin_left = switch_scr_xui.getGuiX();
w_switch_scr = switch_scr_xui.onAction ("getwidth", "", 0,0,0,0,switch_scr_xui) + margin_left + BIG_BUTTON_SPACER;
switch_scr2_xui.onAction ("getwidth", "", 0,0,0,0,switch_scr2_xui);
w_switch_dld = switch_dld_xui.onAction ("getwidth", "", 0,0,0,0,switch_dld_xui) + w_switch_scr + BIG_BUTTON_SPACER;
switch_dld2_xui.onAction ("getwidth", "", 0,0,0,0,switch_dld2_xui);
setGuiX(switch_dld_xui, w_switch_scr);
setGuiX(switch_dld2_xui, w_switch_scr);
w_settings = settings_xui.onAction ("getwidth", "", 0,0,0,0,settings_xui) + w_switch_dld + BIG_BUTTON_SPACER;
setGuiX(settings_xui, w_switch_dld);
}
hideDownloads ()
{
if (download)
{
return;
}
int i1 = scr_open_xui.onAction ("getwidth", "", 0,0,0,0,scr_open_xui);
int i2 = scr_close_xui.onAction ("getwidth", "", 0,0,0,0,scr_close_xui);
x_open_close = max(i1, i2) + MARGIN_RIGHT;
setGuiX(scr_open_xui, -x_open_close);
setGuiX(scr_close_xui, -x_open_close);
i1 = scr_rescan_xui.onAction ("getwidth", "", 0,0,0,0,scr_rescan_xui);
x_rescan = i1 + x_open_close + HIDE_RESCAN_SPACER;
setGuiX(scr_rescan_xui, -x_rescan);
i1 = scr_play_xui.onAction ("getwidth", "", 0,0,0,0,scr_play_xui);
x_play = i1 + x_rescan + BUTTON_SPACER;
setGuiX(scr_play_xui, -x_play);
margin_left = switch_scr_xui.getGuiX();
w_switch_scr = switch_scr_xui.onAction ("getwidth", "", 0,0,0,0,switch_scr_xui) + margin_left + BIG_BUTTON_SPACER;
switch_scr2_xui.onAction ("getwidth", "", 0,0,0,0,switch_scr2_xui);
settings_xui.hide();
switch_dld2_xui.hide();
switch_dld_xui.hide();
dld_play.hide();
scr_download_xui.hide();
}
scr_mode.onResize (int x, int y, int w, int h)
{
boolean isOpen = browser_scr_show_attrib.getData() == "1";
if (w > w_settings + x_play && isOpen)
{
scr_play_xui.show();
if (download) scr_download_xui.show();
scr_rescan_xui.show();
if (download) settings_xui.show();
scr_open_xui.setAlpha(255);
scr_close_xui.setAlpha(255);
}
else if (w > w_settings + x_download && isOpen)
{
scr_play_xui.hide();
if (download) scr_download_xui.show();
scr_rescan.show();
if (download) settings_xui.show();
scr_open_xui.setAlpha(255);
scr_close_xui.setAlpha(255);
}
else if (w > w_settings + x_rescan && isOpen)
{
scr_play_xui.hide();
if (download) scr_download_xui.hide();
scr_rescan_xui.show();
if (download) settings_xui.show();
scr_open_xui.setAlpha(255);
scr_close_xui.setAlpha(255);
}
else if (w > w_settings + x_open_close)
{
scr_play_xui.hide();
if (download) scr_download_xui.hide();
scr_rescan_xui.hide();
if (download) settings_xui.show();
scr_open_xui.setAlpha(255);
scr_close_xui.setAlpha(255);
}
else if (w > w_switch_dld + x_open_close)
{
scr_play_xui.hide();
if (download) scr_download_xui.hide();
scr_rescan_xui.hide();
if (download) settings_xui.hide();
scr_open_xui.setAlpha(255);
scr_close_xui.setAlpha(255);
}
else
{
scr_play_xui.hide();
if (download) scr_download_xui.hide();
scr_rescan_xui.hide();
if (download) settings_xui.hide();
scr_open_xui.setAlpha(0);
scr_close_xui.setAlpha(0);
}
}
dld_mode.onResize (int x, int y, int w, int h)
{
if (!download)
{
return;
}
if (browser_scr_show_attrib.getData() == "0")
return;
if (w > w_settings + x_dld_play)
{
dld_play_xui.show();
}
else
{
dld_play_xui.hide();
}
}
int max (int a, int b)
{
if (a > b)
{
return a;
}
else
{
return b;
}
}
setGuiX (GuiObject g, int x)
{
g.setXmlParam("x", integerToString(x));
}

View File

@ -0,0 +1,106 @@
/*---------------------------------------------------
-----------------------------------------------------
Filename: gen_pageguids.m
Version: 1.0
Type: maki/page guid definitions
Date: 03. Jul. 2006 - 18:29
Author: Martin Poehlmann aka Deimos
E-Mail: martin@skinconsortium.com
Internet: www.skinconsortium.com
www.martin.deimos.de.vu
-----------------------------------------------------
---------------------------------------------------*/
#ifndef included
#error This script can only be compiled as a #include
#endif
#ifndef __GEN_PAGEGUIDS_M
#define __GEN_PAGEGUIDS_M
#include <lib/config.mi>
Function initPages();
/*--NON CHANGEABLE GUIDS:--------------------------*/
// this is the page that maps its items to the options menu, you can add attribs or more pages (submenus)
#define CUSTOM_OPTIONSMENU_ITEMS "{1828D28F-78DD-4647-8532-EBA504B8FC04}"
Global ConfigItem optionsmenu_page;
// this is the page that maps its items to the windows menu (aka View), you can add attribs or more pages (submenus)
#define CUSTOM_WINDOWSMENU_ITEMS "{6559CA61-7EB2-4415-A8A9-A2AEEF762B7F}"
Global ConfigItem custom_windows_page;
// non exposed attribs page
#define CUSTOM_PAGE_NONEXPOSED "{E9C2D926-53CA-400f-9A4D-85E31755A4CF}"
Global ConfigItem custom_page_nonexposed;
/*--DECLARE PAGES HERE:----------------------------*/
initPages()
{
#ifndef __PAGES
#define __PAGES
custom_page_nonexposed = Config.newItem("Hidden", CUSTOM_PAGE_NONEXPOSED);
// load up the cfgpage in which we'll insert our custom page
optionsmenu_page = Config.getItem(CUSTOM_OPTIONSMENU_ITEMS);
custom_windows_page = Config.getItem(CUSTOM_WINDOWSMENU_ITEMS);
#endif
}
/*--GLOBAL DEFINITIONS:----------------------------*/
#define NOOFF if (getData()=="0") { setData("1"); return; }
Global Int attribs_mychange, attribs_mychange2;
Global ConfigAttribute sep;
Global Int sep_count = 0;
Function addMenuSeparator(ConfigItem cfgmenupage);
addMenuSeparator(ConfigItem cfgmenupage)
{
#ifdef MAIN_ATTRIBS_LOADER
sep_count = sep_count + 1;
sep = cfgmenupage.newAttribute(getSkinName() + "seperator" + integerToString(sep_count), "");
sep.setData("-");
#endif
}
Function ConfigItem addConfigSubMenu(configitem parent, string name, string guid);
ConfigItem addConfigSubMenu(configitem parent, string name, string guid)
{
ConfigItem __ret = Config.newItem(name, guid);
ConfigAttribute __dret = parent.newAttribute(name, "");
__dret.setData(guid);
return __ret;
}
Function toggleAttrib(ConfigAttribute attrib);
toggleAttrib(ConfigAttribute attrib)
{
if (attrib.getData() == "0")
{
attrib.setData("1");
}
else
{
attrib.setData("0");
}
}
#endif

View File

@ -0,0 +1,12 @@
<groupdef id="wasabi.itb.xui" xuitag="Wasabi:IconButton" embed_xui="itb.button" autowidthsource="itb.text" autoheightsource="itb.layer">
<layer id="itb.layer" x="0" y="0"/>
<text id="itb.text" x="20" y="0" move="0" antialias="0" color="255,255,255" relath="1" valign="top"/>
<button id="itb.button" rectrgn="1"
x="0" y="0" w="0" h="0" relatw="1" relath="1"
/>
<script file="xml/xui/browser/IconTextButton.maki"/>
</groupdef>

View File

@ -0,0 +1,133 @@
/*---------------------------------------------------
-----------------------------------------------------
Filename: init_browser.m
Version: 1.1
Type: maki/attrib definitions
Date: 27. Jul. 2007 - 13:36
Author: Martin Poehlmann aka Deimos
E-Mail: martin@skinconsortium.com
Internet: www.skinconsortium.com
www.martin.deimos.de.vu
-----------------------------------------------------
Depending Files:
scripts/browser.maki
-----------------------------------------------------
---------------------------------------------------*/
#ifndef included
#error This script can only be compiled as a #include
#endif
#include "gen_pageguids.m"
#define CUSTOM_PAGE_BROWSER "{0E17DBEA-9398-49e6-AE6F-3AB17D001DF3}"
#define CUSTOM_PAGE_BROWSER_WASEARCH "{180E87DF-C482-41fe-A570-8575C673E1BA}"
#define CUSTOM_PAGE_BROWSER_CONCERTSEARCH "{B8171DB3-ECF6-40c6-9332-DDEA57A8F13E}"
Function initAttribs_browser();
Class ConfigAttribute SearchAttribute;
Function check (string unknown, SearchAttribute compare);
#ifdef BROWSER_SCRIPT
Global list SearchAttributeList;
#endif
#ifndef BROWSER_SCRIPT
#define SearchAttributeList //
#endif
Global ConfigAttribute browser_scr_show_attrib, browser_search_attrib;
Global SearchAttribute browser_search_winamp_mskins_attrib, browser_search_winamp_cskins_attrib, browser_search_winamp_plugins_attrib,
browser_search_winamp_web_attrib, browser_search_wiki_attrib, browser_c_pollstar_attrib, browser_c_bit_attrib,
browser_c_jambase_attrib;
initAttribs_browser()
{
initPages();
ConfigItem custom_page_browser = addConfigSubMenu(optionsmenu_page, "Browser", CUSTOM_PAGE_BROWSER);
browser_search_attrib = custom_page_nonexposed.newAttribute("Onesie browser Quicksearch", "Web Search");
SearchAttributeList = new List;
SearchAttributeList.addItem (custom_page_browser);
browser_search_winamp_web_attrib = custom_page_browser.newAttribute("Web Search", "1");
SearchAttributeList.addItem (browser_search_winamp_web_attrib);
browser_search_wiki_attrib = custom_page_browser.newAttribute("Wikipedia Search", "0");
SearchAttributeList.addItem (browser_search_wiki_attrib);
ConfigItem custom_page_browser_concertsearch = addConfigSubMenu(custom_page_browser, "Concert Search", CUSTOM_PAGE_BROWSER_CONCERTSEARCH);
browser_c_jambase_attrib = custom_page_browser_concertsearch.newAttribute("JamBase", "0");
SearchAttributeList.addItem (browser_c_jambase_attrib);
browser_c_pollstar_attrib = custom_page_browser_concertsearch.newAttribute("Pollstar", "0");
SearchAttributeList.addItem (browser_c_pollstar_attrib);
browser_c_bit_attrib = custom_page_browser_concertsearch.newAttribute("Bandsintown", "0");
SearchAttributeList.addItem (browser_c_bit_attrib);
ConfigItem custom_page_browser_winampsearch = addConfigSubMenu(custom_page_browser, "Winamp Search", CUSTOM_PAGE_BROWSER_WASEARCH);
browser_search_winamp_mskins_attrib = custom_page_browser_winampsearch.newAttribute("Modern Skins", "0");
SearchAttributeList.addItem (browser_search_winamp_mskins_attrib);
browser_search_winamp_cskins_attrib = custom_page_browser_winampsearch.newAttribute("Classic Skins", "0");
SearchAttributeList.addItem (browser_search_winamp_cskins_attrib);
browser_search_winamp_plugins_attrib = custom_page_browser_winampsearch.newAttribute("Plug-ins", "0");
SearchAttributeList.addItem (browser_search_winamp_plugins_attrib);
addMenuSeparator(custom_page_browser);
browser_scr_show_attrib = custom_page_browser.newAttribute("Show Media Monitor", "1");
}
#ifdef MAIN_ATTRIBS_MGR
browser_search_attrib.onDataChanged ()
{
if (attribs_mychange) return;
string dta = getData();
if (dta == "Modern Skins") browser_search_winamp_mskins_attrib.setData("1");
else if (dta == "Classic Skins") browser_search_winamp_plugins_attrib.setData("1");
else if (dta == "Plug-ins") browser_search_winamp_plugins_attrib.setData("1");
else if (dta == "Web Search with Google") browser_search_winamp_web_attrib.setData("1");
else if (dta == "Pollstar") browser_c_pollstar_attrib.setData("1");
else if (dta == "Bands in Town") browser_c_bit_attrib.setData("1");
else if (dta == "JamBase") browser_c_jambase_attrib.setData("1");
else if (dta == "Wikipedia Search") browser_search_wiki_attrib.setData("1");
}
SearchAttribute.onDataChanged()
{
if (attribs_mychange) return;
NOOFF
attribs_mychange = 1;
String s = SearchAttribute.getAttributeName();
check (s, browser_search_winamp_mskins_attrib);
check (s, browser_search_winamp_cskins_attrib);
check (s, browser_search_winamp_plugins_attrib);
check (s, browser_search_winamp_web_attrib);
check (s, browser_c_jambase_attrib);
check (s, browser_c_bit_attrib);
check (s, browser_c_pollstar_attrib);
check (s, browser_search_wiki_attrib);
attribs_mychange = 0;
}
check (String unknown, SearchAttribute compare)
{
if (unknown == compare.getAttributeName())
{
browser_search_attrib.setData(compare.getAttributeName());
}
else
{
compare.setData("0");
}
}
#endif

View File

@ -0,0 +1,31 @@
<!-- Browser String Table -->
<StringTable id="nullsoft.browser">
<!-- Monitor Buttons -->
<StringEntry id="0" string="Hide"/>
<StringEntry id="1" string="Hide Media Monitor"/>
<StringEntry id="2" string="Show"/>
<StringEntry id="3" string="Show Media Monitor"/>
<StringEntry id="4" string="Rescan"/>
<StringEntry id="5" string="Rescan Document"/>
<StringEntry id="6" string="Download"/>
<StringEntry id="7" string="Download selected Items"/>
<StringEntry id="8" string="Play"/>
<StringEntry id="9" string="Play selected Items"/>
<StringEntry id="10" string="Media Monitor"/>
<StringEntry id="11" string="Switch to Media Monitor"/>
<StringEntry id="12" string="Downloads"/>
<StringEntry id="13" string="Switch to Active Downloads"/>
<StringEntry id="14" string="Settings"/>
<StringEntry id="15" string="Download Settings"/>
<StringEntry id="16" string="Media From"/>
<StringEntry id="17" string="Location"/>
<StringEntry id="18" string="Transferred Data"/>
<StringEntry id="19" string="Status"/>
<StringEntry id="20" string="Title"/>
<StringEntry id="21" string="Autoopen Media Monitor on media results"/>
</StringTable>

View File

@ -0,0 +1,36 @@
<!-- =======================================================================================================
<Wasabi:Button /> implementation
Available parameters :
- Everything from Group class
- Everything from Button class
Required objects :
- Button id="wasabi.button"
======================================================================================================== -->
<groupdef id="wasabi.button.group" xuitag="Wasabi:Button" embed_xui="wasabi.button" h="21" autowidthsource="wasabi.button">
<button
id="wasabi.button"
x="0" y="0"
w="0" h="0"
relatw="1" relath="1"
borders="1"
wantfocus="1"
/>
</groupdef>
<groupdef id="wasabi.togglebutton.group" xuitag="Wasabi:ToggleButton" embed_xui="wasabi.button" h="21" autowidthsource="wasabi.button">
<Togglebutton
id="wasabi.button"
x="0" y="0"
w="0" h="0"
relatw="1" relath="1"
borders="1"
wantfocus="1"
/>
</groupdef>

View File

@ -0,0 +1,43 @@
<!-- =======================================================================================================
<Wasabi:EditBox /> implementation
======================================================================================================== -->
<groupdef id="wasabi.edit" inherit_group="wasabi.objectframe.group" xuitag="Wasabi:EditBox" embed_xui="wasabi.edit.box" h="20">
<edit
id="wasabi.edit.box"
x="1" y="1"
w="-2" h="-2"
relatw="1" relath="1"
autoselect="1"
/>
</groupdef>
<groupdef id="wasabi.multiline.edit" inherit_group="wasabi.objectframe.group" xuitag="Wasabi:Editor" embed_xui="wasabi.edit.box" h="60">
<edit
id="wasabi.edit.box"
x="1" y="1"
w="-2" h="-2"
relatw="1" relath="1"
multiline="1"
vscroll="1" autohscroll="1"
/>
</groupdef>
<!-- This group is unused for now -->
<!--
<groupdef id="wasabi.edit.disabled" inherit_group="wasabi.objectframe.group" hideobject="wasabi.objectframe.center">
<text
id="wasabi.edit.box"
x="1" y="1"
w="-2" h="-2"
relatw="1" relath="1"
/>
</groupdef>
-->

View File

@ -0,0 +1,80 @@
<!-- =======================================================================================================
<Wasabi:HSlider/> implementation
======================================================================================================== -->
<groupdef id="wasabi.slider.horizontal" embed_xui="slider.button" xuitag="Wasabi:HSlider" h="15" >
<layer
id="slider.background"
x="0" y="1"
image="wasabi.slider.horizontal.left"
/>
<layer
id="slider.background"
x="8" y="1"
w="-16"
relatw="1"
image="wasabi.slider.horizontal.middle"
/>
<layer
id="slider.background"
x="-8" y="1"
relatx="1"
image="wasabi.slider.horizontal.right"
/>
<slider
id="slider.button"
x="0" y="0"
w="0" h="13"
relatw="1"
thumb="wasabi.slider.horizontal.button"
downThumb="wasabi.slider.horizontal.button.pressed"
wantfocus="1"
/>
</groupdef>
<!-- =======================================================================================================
<Wasabi:VSlider/> implementation
======================================================================================================== -->
<groupdef id="wasabi.slider.vertical" embed_xui="slider.button" xuitag="Wasabi:VSlider" w="16"> <!-- default_h="100" -->
<layer
id="slider.background"
x="4" y="0"
image="wasabi.slider.vertical.top"
/>
<layer
id="slider.background"
x="4" y="8"
h="-17"
relath="1"
image="wasabi.slider.vertical.middle"
/>
<layer
id="slider.background"
x="4" y="-9"
relaty="1"
image="wasabi.slider.vertical.bottom"
/>
<slider
id="slider.button"
x="0" y="0"
w="16" h="0"
relath="1"
thumb="wasabi.slider.vertical.button"
downThumb="wasabi.slider.vertical.button.pressed"
orientation="v"
wantfocus="1"
/>
</groupdef>

View File

@ -0,0 +1,33 @@
<elements>
<bitmap id="wasabi.frame.basetexture" file="window/background.png" gammagroup="Backgrounds" />
<elementalias id="component.basetexture" target="wasabi.frame.basetexture" />
<bitmap id="wasabi.frame.top.left" file="window/window-elements.png" x="0" y="0" h="15" w="15" gammagroup="Backgrounds"/>
<bitmap id="wasabi.frame.top" file="window/window-elements.png" x="11" y="0" h="15" w="15" gammagroup="Backgrounds"/>
<bitmap id="wasabi.frame.top.right" file="window/window-elements.png" x="21" y="0" h="15" w="15" gammagroup="Backgrounds"/>
<bitmap id="wasabi.frame.left" file="window/window-elements.png" x="0" y="15" h="15" w="5" gammagroup="Backgrounds"/>
<bitmap id="wasabi.frame.right" file="window/window-elements.png" x="31" y="15" h="15" w="5" gammagroup="Backgrounds"/>
<!--
The bottom of the window is broken up into three levels, top, middle, and bottom. The reason for this
is because the same graphics are used to create a window with a status bar and resizer symbol and one
without.
-->
<bitmap id="wasabi.frame.bottom.left.top" file="window/window-elements.png" x="0" y="32" h="2" w="15" gammagroup="Backgrounds"/>
<bitmap id="wasabi.frame.bottom.left" file="window/window-elements.png" x="0" y="34" h="1" w="15" gammagroup="Backgrounds"/>
<bitmap id="wasabi.frame.bottom.left.bottom" file="window/window-elements.png" x="0" y="35" h="2" w="15" gammagroup="Backgrounds"/>
<bitmap id="wasabi.frame.bottom.top" file="window/window-elements.png" x="11" y="32" h="2" w="15" gammagroup="Backgrounds"/>
<bitmap id="wasabi.frame.bottom" file="window/window-elements.png" x="11" y="34" h="1" w="15" gammagroup="Backgrounds"/>
<bitmap id="wasabi.frame.bottom.bottom" file="window/window-elements.png" x="11" y="35" h="2" w="15" gammagroup="Backgrounds"/>
<bitmap id="wasabi.frame.bottom.right.top" file="window/window-elements.png" x="21" y="32" h="2" w="15" gammagroup="Backgrounds"/>
<bitmap id="wasabi.frame.bottom.right" file="window/window-elements.png" x="21" y="34" h="1" w="15" gammagroup="Backgrounds"/>
<bitmap id="wasabi.frame.bottom.right.bottom" file="window/window-elements.png" x="21" y="35" h="2" w="15" gammagroup="Backgrounds"/>
<bitmap id="wasabi.frame.status.left" file="window/window-elements.png" x="94" y="0" h="12" w="12"/>
<bitmap id="wasabi.frame.status" file="window/window-elements.png" x="107" y="0" h="12" w="12"/>
<bitmap id="wasabi.frame.status.right" file="window/window-elements.png" x="120" y="0" h="12" w="12"/>
<bitmap id="wasabi.frame.resizer" file="window/window-elements.png" x="93" y="84" h="12" w="12"/>
</elements>

View File

@ -0,0 +1,335 @@
<!-- =======================================================================================================
This file implements the following objects :
- Wasabi:StandardFrame:Status
- Wasabi:StandardFrame:NoStatus
- Wasabi:StandardFrame:Modal
- Wasabi:StandardFrame:Static
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" />
<!-- =======================================================================================================
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"
/>
<layer
id="window.top"
x="15" y="0"
w="-30"
relatw="1"
image="wasabi.frame.top"
resize="top"
/>
<layer
id="window.top.right"
x="-15" y="0"
relatx="1"
image="wasabi.frame.top.right"
resize="topright"
/>
<layer
id="window.left"
x="0" y="15"
h="0"
relath="1"
image="wasabi.frame.left"
resize="left"
/>
<layer
id="window.right"
x="-5" y="15"
h="0"
relatx="1" relath="1"
image="wasabi.frame.right"
resize="right"
/>
<layer id="window.resize.disabler" x="5" y="5" w="-10" h="-10" relatw="1" relath="1"/>
<LayoutStatus id="sysmenu.status" bg="0" x="5" y="3" w="14" h="9" includeonly="{system}" />
<hideobject target="sysmenu.status"/>
<button
id="controlmenu.inactive"
action="controlmenu"
x="5" y="3"
image="wasabi.button.sysmenu.pressed"
downImage="wasabi.button.sysmenu"
tooltip="Control Menu"
activeAlpha="0"
/>
<button
id="controlmenu"
action="controlmenu"
x="5" y="3"
image="wasabi.button.sysmenu"
downImage="wasabi.button.sysmenu.pressed"
tooltip="Control Menu"
inactiveAlpha="0"
/>
<button
id="Close.inactive"
action="CLOSE"
x="-18" y="3"
relatx="1"
image="wasabi.button.close.pressed"
downImage="wasabi.button.close"
tooltip="Close Window"
activeAlpha="0"
/>
<button
id="Close"
action="CLOSE"
x="-18" y="3"
relatx="1"
image="wasabi.button.close"
downImage="wasabi.button.close.pressed"
tooltip="Close Window"
inactiveAlpha="0"
/>
<Wasabi:TitleBar
id="wasabi.titlebar"
x="22" y="2"
w="-42" h="11"
relatw="1"
/>
</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="-19" relath="1"/>
<layer
id="window.bottom.left.top"
x="0" y="-19"
relaty="1"
image="wasabi.frame.bottom.left.top"
resize="bottomleft"
/>
<layer
id="window.bottom.left"
x="0" y="-17"
h="15"
relaty="1"
image="wasabi.frame.bottom.left"
resize="bottomleft"
/>
<layer
id="window.bottom.left.bottom"
x="0" y="-2"
relaty="1"
image="wasabi.frame.bottom.left.bottom"
resize="bottomleft"
/>
<layer
id="window.bottom.top"
x="15" y="-19"
w="-30"
relatw="1" relaty="1"
image="wasabi.frame.bottom.top"
/>
<layer
id="window.bottom"
x="15" y="-17"
w="-30" h="15"
relatw="1" relaty="1"
image="wasabi.frame.bottom"
resize="bottom"
/>
<layer
id="window.bottom.bottom"
x="15" y="-2"
w="-30"
relatw="1" relaty="1"
image="wasabi.frame.bottom.bottom"
resize="bottom"
/>
<layer
id="window.bottom.right.top"
x="-15" y="-19"
relatx="1" relaty="1"
image="wasabi.frame.bottom.right.top"
resize="bottomright"
/>
<layer
id="window.bottom.right"
x="-15" y="-17"
h="15"
relatx="1" relaty="1"
image="wasabi.frame.bottom.right"
resize="bottomright"
/>
<layer
id="window.bottom.right.bottom"
x="-15" y="-2"
relatx="1" relaty="1"
image="wasabi.frame.bottom.right.bottom"
resize="bottomright"
/>
<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="4" y="-17" relaty="1" w="-23" relatw="1" h="15" exclude="{system}" />
<script id="standardframe.script" file="scripts/standardframe.maki" param="5,15,-10,-34,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="-5" relatw="1" relath="1"/>
<layer
id="window.bottom.left.top"
x="0" y="-5"
relaty="1"
image="wasabi.frame.bottom.left.top"
resize="bottomleft"
/>
<layer
id="window.bottom.left"
x="0" y="-3"
h="1"
relaty="1"
image="wasabi.frame.bottom.left"
resize="bottomleft"
/>
<layer
id="window.bottom.left.bottom"
x="0" y="-2"
relaty="1"
image="wasabi.frame.bottom.left.bottom"
resize="bottomleft"
/>
<layer
id="window.bottom.top"
x="15" y="-5"
w="-30"
relatw="1" relaty="1"
image="wasabi.frame.bottom.top"
/>
<layer
id="window.bottom"
x="15" y="-3"
w="-30" h="1"
relatw="1" relaty="1"
image="wasabi.frame.bottom"
resize="bottom"
/>
<layer
id="window.bottom.bottom"
x="15" y="-2"
w="-30"
relatw="1" relaty="1"
image="wasabi.frame.bottom.bottom"
resize="bottom"
/>
<layer
id="window.bottom.right.top"
x="-15" y="-5"
relatx="1" relaty="1"
image="wasabi.frame.bottom.right.top"
resize="bottomright"
/>
<layer
id="window.bottom.right"
x="-15" y="-3"
h="1"
relatx="1" relaty="1"
image="wasabi.frame.bottom.right"
resize="bottomright"
/>
<layer
id="window.bottom.right.bottom"
x="-15" y="-2"
relatx="1" relaty="1"
image="wasabi.frame.bottom.right.bottom"
resize="bottomright"
/>
<script id="standardframe.script" file="scripts/standardframe.maki" param="5,15,-10,-20,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">
<group
id="wasabi.panel"
x="5" y="15"
w="-10" h="-20"
relatw="1" relath="1"
/>
<hideobject target="controlmenu;controlmenu.inactive"/>
<sendparams target="wasabi.titlebar" x="4" w="-24" relatw="1" />
<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">
<group
id="wasabi.panel"
x="5" y="15"
w="-10" h="-20"
relatw="1" relath="1"
/>
<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" />
<!-- <hideobject target="controlmenu;controlmenu.inactive"/> -->
</groupdef>

View File

@ -0,0 +1,26 @@
<!-- =======================================================================================================
<Wasabi:Text /> implementation
Available parameters :
- Everything from Group class
- Everything from Text class
Required objects :
- Text id="wasabi.text"
======================================================================================================== -->
<groupdef id="wasabi.text.group" xuitag="Wasabi:Text" embed_xui="wasabi.text" h="12">
<text
x="0" y="0"
w="0" h="0"
relatw="1" relath="1"
id="wasabi.text" font="tahoma"
color="white" fontsize="14"
display="ERROR" wrap="1" valign="top"
/>
</groupdef>

View File

@ -0,0 +1,108 @@
<!-- =======================================================================================================
<Wasabi:TitleBar /> implmentation
Available parameters :
- All params for Group
- All params for Text
Required objects : (these objects are manipulated by the script, so overriding with script content inheritance
will require you to have these objects. Otherwise, you should be fine)
- Group id="wasabi.titlebar.streak.left"
- Group id="wasabi.titlebar.streak.right"
- Layer id="mousetrap" (this object shoud cover the content of the group)
======================================================================================================== -->
<groupdef id="wasabi.titlebar" xuitag="Wasabi:TitleBar" embed_xui="window.titlebar.title">
<group
id="wasabi.titlebar.streak"
instanceid="wasabi.titlebar.streak.left"
x="0" y="0"
w="95" h="11"
/>
<sendparams group="wasabi.titlebar.streak.left" target="titlebar.center.active" w="-16"/>
<sendparams group="wasabi.titlebar.streak.left" target="titlebar.center.inactive" w="-16"/>
<sendparams group="wasabi.titlebar.streak.left" target="titlebar.right.active" x="-9"/>
<sendparams group="wasabi.titlebar.streak.left" target="titlebar.right.inactive" x="-9"/>
<text
id="window.titlebar.title"
x="100" y="0"
w="50" h="11"
default=":componentname"
font="studio.component.title"
inactiveAlpha="128"
/>
<group
id="wasabi.titlebar.streak"
instanceid="wasabi.titlebar.streak.right"
x="155" y="0"
w="-155" relatw="1" h="11"
/>
<sendparams group="wasabi.titlebar.streak.right" target="titlebar.center.active" x="9" w="-16"/>
<sendparams group="wasabi.titlebar.streak.right" target="titlebar.center.inactive" x="9" w="-16"/>
<sendparams group="wasabi.titlebar.streak.right" target="titlebar.left.active" x="2"/>
<sendparams group="wasabi.titlebar.streak.right" target="titlebar.left.inactive" x="2"/>
<layer id="mousetrap" x="0" y="0" w="0" h="0" relatw="1" relath="1" move="1"/>
<script id="titlebar" file="scripts/titlebar.maki" param="wasabi.titlebar.streak.left;window.titlebar.title;wasabi.titlebar.streak.right" />
</groupdef>
<!-- =======================================================================================================
This implements a title streak bar. Dependencies are limited to the wasabi.titlebar group, in other words, if you remove
the sendparams in the above group, none of these objects are required.
======================================================================================================== -->
<groupdef id="wasabi.titlebar.streak">
<layer
id="titlebar.left.active"
x="0" y="1"
image="wasabi.titlebar.left.active"
inactiveAlpha="0"
/>
<layer
id="titlebar.center.active"
x="7" y="1" w="-14"
relatw="1"
image="wasabi.titlebar.center.active"
inactiveAlpha="0"
/>
<layer
id="titlebar.right.active"
x="-7" y="1"
relatx="1"
image="wasabi.titlebar.right.active"
inactiveAlpha="0"
/>
<layer
id="titlebar.left.inactive"
x="0" y="1"
image="wasabi.titlebar.left.inactive"
activeAlpha="0"
/>
<layer
id="titlebar.center.inactive"
x="7" y="1" w="-14"
relatw="1"
image="wasabi.titlebar.center.inactive"
activeAlpha="0"
/>
<layer
id="titlebar.right.inactive"
x="-7" relatx="1" y="1"
image="wasabi.titlebar.right.inactive"
activeAlpha="0"
/>
</groupdef>

View File

@ -0,0 +1,7 @@
<include file="editbox/editbox.xml" />
<include file="slider/slider.xml" />
<include file="titlebar/titlebar.xml" />
<include file="standardframe/standardframe.xml" />
<include file="text/text.xml" />
<include file="button/button.xml" />
<include file="browser/browser.xml" />