home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 September
/
PCWorld_2006-09_cd.bin
/
audio-video
/
sonique
/
s2beta_103_install.exe
/
a5_file
/
index.mml
< prev
next >
Wrap
Text File
|
2004-03-02
|
568KB
|
9,990 lines
<!--
Sonique2 Default Skin
Credits:
Juan - Design and Graphics
John - Hacks and Kludges
Bits - redid :(
-->
<?mml version="0.6"?>
<mml>
<interface cosmetic_name="Sonique2 Default"
unique_name="teamsonique/default_interface/Sonique2Default"
author="Team Sonique/bits"
url="http://www.sonique.com/" url_title="Sonique.com"
comments="Designed by Juan Melano" >
<exports>
<sonique2_frame name="Default Skin" window="main" thumb_120="color.psd|120" thumb_60="color.psd|60"/>
</exports>
<fontstyle name="tracktime_font" type="raster" source="grayscale.psd|tracktime_font" monochrome="false">
<glyphlist>0123456789:.e001;e000;e002;e003;</glyphlist>
</fontstyle>
<color name="transparent">0x00000000</color>
<color name="color_todo_1">0xFFFFFF00</color>
<color name="color_todo_2">0xFF18EE07</color>
<!-- Default Skin Theme Colors (for use by the ID3, Settings, Interface Browser popups) -->
<!-- default colors -->
<color name="color1">0xFF303030</color> <!-- dark grey -->
<color name="color2">0xFFBBBBBB</color> <!-- grey -->
<color name="color3">0xFFFFFFFF</color> <!-- white 100% -->
<color name="color3_25">0x44FFFFFF</color> <!-- white 25% -->
<color name="color3_50">0x88FFFFFF</color> <!-- white 50% -->
<!-- desert -->
<color name="theme10_color1">0xFF303030</color>
<color name="theme10_color2">0xFFCBD64D</color>
<color name="theme10_color3">0xFFFFFFFF</color>
<color name="theme10_color3_25">0xFFFF0000</color>
<color name="theme10_color3_50">0xFFFF0000</color>
<!-- scrollbar defs -->
<!-- todo scrollbar not ready for transparent buttons. which is odd, since transparent bars work -->
<imagestyle name="horizontal_lines">
<color_line color = "color3" alignment = "0,0,1,0" offset="0,0,0,0" opacity="0.5"/>
<color_line color = "color3" alignment = "0,1,1,1" offset="0,-1,0,-1" opacity="0.5"/>
</imagestyle>
<imagestyle name="scrollbar_background_horizontal">
<color_fill color="transparent" blendmode="ps_normal" opacity="1.0"/>
<raster fillmode="tile" tile_size="7,8" blendmode="ps_normal" source="grayscale.psd|scrollbar_background" opacity="1.0" />
<include source="horizontal_lines" />
</imagestyle>
<imagestyle name="scrollbar_foreground_horizontal">
<color_fill color="transparent" blendmode="ps_normal" opacity="1.0"/>
<raster fillmode="tile" tile_size="7,8" blendmode="ps_normal" source="grayscale.psd|scrollbar_foreground" opacity="1.0" />
<include source="horizontal_lines" />
</imagestyle>
<imagestyle name="scrollbar_leftbutton">
<color_fill color="color1" blendmode="ps_normal" opacity="1.0"/>
<raster source="grayscale.psd|scrollbar_left" opacity="1.0" alignment=".5,.5,.5,.5" offset="-3,-4,3,3" blendmode = "ps_normal" />
<include source="horizontal_lines" />
<color_line color = "color3" alignment = "0,0,0,1" offset="0,1,0,-2" opacity="0.5"/>
</imagestyle>
<imagestyle name="scrollbar_rightbutton" >
<color_fill color="color1" blendmode="ps_normal" opacity="1.0"/>
<raster alignment=".5,.5,.5,.5" offset="-3,-4,3,3" source="grayscale.psd|scrollbar_right" opacity="1.0" blendmode = "ps_normal" />
<include source="horizontal_lines" />
<color_line color = "color3" alignment = "1,0,1,1" offset="-1,1,-1,-2" opacity="0.5"/>
</imagestyle>
<imagestyle name="vertical_lines">
<color_line color = "color3" alignment = "0,0,0,1" offset="0,0,0,0" opacity="0.5"/>
<color_line color = "color3" alignment = "1,0,1,1" offset="-1,0,-1,0" opacity="0.5"/>
</imagestyle>
<imagestyle name="scrollbar_background_vertical">
<color_fill color="transparent" blendmode="ps_normal" opacity="1.0"/>
<raster fillmode="tile" tile_size="8,7" blendmode="ps_normal" source="grayscale.psd|scrollbar_background" opacity="1.0" />
<include source="vertical_lines" />
</imagestyle>
<imagestyle name="scrollbar_foreground_vertical">
<color_fill color="transparent" blendmode="ps_normal" opacity="1.0"/>
<raster fillmode="tile" tile_size="8,7" blendmode="ps_normal" source="grayscale.psd|scrollbar_foreground" opacity="1.0" />
<include source="vertical_lines" />
</imagestyle>
<imagestyle name="scrollbar_upbutton">
<color_fill color="color1" blendmode="ps_normal" opacity="1.0"/>
<color_line color = "color3" alignment = "0,0,1,0" offset="1,0,-2,0" opacity="0.5"/>
<raster source="grayscale.psd|scrollbar_up" opacity="1.0" alignment=".5,.5,.5,.5" offset="-3,-3,3,3" blendmode = "ps_normal" />
<include source="vertical_lines" />
</imagestyle>
<imagestyle name="scrollbar_downbutton">
<color_fill color="color1" blendmode="ps_normal" opacity="1.0"/>
<raster source="grayscale.psd|scrollbar_down" opacity="1.0" alignment=".5,.5,.5,.5" offset="-3,-3,3,3" blendmode = "ps_normal" />
<color_line color = "color3" alignment = "0,1,1,1" offset="1,-1,-2,-1" opacity="0.5"/>
<include source="vertical_lines" />
</imagestyle>
<property name="MML_Scrollbar"
img_upbutton="scrollbar_upbutton"
img_downbutton="scrollbar_downbutton"
img_leftbutton="scrollbar_leftbutton"
img_rightbutton="scrollbar_rightbutton"
pixel_scrollbarthickness="10"
pixel_minscrollbarsize="10"
img_bar_vertical="scrollbar_foreground_vertical"
img_bar_horizontal="scrollbar_foreground_horizontal"
img_background_vertical="scrollbar_background_vertical"
img_background_horizontal="scrollbar_background_horizontal"
/>
<!-- playlist defs -->
<imagestyle name="transparent" transparent="true" />
<imagestyle name="playlist_header_imagestyle" transparent="true" >
<color_fill color="color3_25" alignment="0,0,1,1" blendmode="COPY|RGB|ALPHA_SRCALPHA"/>
<color_rect color="color1" alignment="0,0,1,1" />
</imagestyle>
<imagestyle name="playlist_row_imagestyle" transparent="true" >
<color_line color = "color1" alignment = "0,0,1,0" offset="0,0,0,0" />
</imagestyle>
<imagestyle name="playlist_column_imagestyle" transparent="true">
<color_rect color="color1" alignment="0,0,1,1" />
</imagestyle>
<imagestyle name="playlist_itemdrophint_imagestyle" transparent="false">
<color_fill color = "color1" blendmode = "COPY|RGB" />
</imagestyle>
<imagestyle name="uparrow_imagestyle" transparent="true">
<color_line color = "color3" alignment = "1,0,1,0" offset = "-5,1,-9,5" antialiased = "true" />
<color_line color = "color3" alignment = "1,0,1,0" offset = "-5,1,-1,5" antialiased = "true"/>
<color_line color = "color3" alignment = "1,0,1,0" offset = "-5,1,-5,9" antialiased = "true"/>
</imagestyle>
<imagestyle name="downarrow_imagestyle" transparent="true">
<color_line color= "color3" alignment = "1,0,1,0" offset = "-5,9,-9,5" antialiased = "true" />
<color_line color= "color3" alignment = "1,0,1,0" offset = "-5,9,-1,5" antialiased = "true" />
<color_line color= "color3" alignment = "1,0,1,0" offset = "-5,9,-5,1" antialiased = "true" />
</imagestyle>
<imagestyle name="playlist_selectedrow_imagestyle" transparent="true">
<color_fill color = "color1" opacity="0.5" alignment= "0,0,1,1" blendmode= "COPY|RGB|ALPHA_SRCALPHA" />
</imagestyle>
<imagestyle name="playlist_headerdrophint_imagestyle" transparent="true">
<color_fill color = "color1" alignment= "0,0,1,1" blendmode= "SUBDST" />
</imagestyle>
<property name="SQ2_PlaylistWindow"
img_content_background ="playlist_row_imagestyle"
_img_background ="playlist_background_imagestyle"
img_column ="playlist_column_imagestyle"
_img_selectcolumn ="playlist_selectcolumn_imagestyle"
img_selectcolumn ="playlist_column_imagestyle"
_img_header_background ="playlist_header_background_imagestyle"
img_header ="playlist_header_imagestyle"
_img_sortheader ="playlist_sortheader_imagestyle"
_img_sortheader ="transparent_imagestyle"
_img_currentsongrow =""
img_row ="playlist_row_imagestyle"
item_height ="16"
header_height ="18"
font_item ="my_font_10"
font_currentselecteditem_color="color3"
font_selecteditem_color ="color3"
font_currentitem_color ="color3"
font_playingitem_color ="0xFFFFFF00"
font_currentsongitem_color="color3"
font_header_color ="color3"
font_header_justification="h_center|v_center"
font_header ="my_font_12"
font_headersort_color ="color1"
font_headersort_justification="right"
font_headersort ="my_font_12_bold"
rect_headertext_offsets ="3,1,-3,-1"
rect_headersorttext_offsets="3,1,-10,-1"
rect_cell_offsets ="3,1,-3,-1"
rect_row_offsets ="3,1,-3,-1"
rect_itemtext_offsets ="5,1,-5,-1"
img_headerdrophintstyle ="playlist_headerdrophint_imagestyle"
img_itemdrophintstyle ="playlist_itemdrophint_imagestyle"
img_sortheader_sortforwardimage="downarrow_imagestyle"
img_sortheader_sortreverseimage="uparrow_imagestyle"
img_searchhighlightstyle ="playlist_headerdrophint_imagestyle"
rect_borderoffset ="3,1,-3,-1"
img_selectedrow ="playlist_selectedrow_imagestyle"
img_currentselectedrow ="playlist_selectedrow_imagestyle"
/>
<!-- menu defs -->
<!-- todo - move the generic ones into sq2.rez (SQ2_PopupMenu) -->
<imagestyle name="menu_background">
<color_fill color="color1"/>
<color_rect color="color3" />
</imagestyle>
<imagestyle name="theme1_menu_background">
<color_fill color="0xFF303030"/>
<color_rect color="0xFFFFFFFF" />
</imagestyle>
<imagestyle name="theme2_menu_background">
<color_fill color="0xFFFF9900"/>
<color_rect color="0xFFFFFFFF" />
</imagestyle>
<imagestyle name="theme3_menu_background">
<color_fill color="0xFF28497F"/>
<color_rect color="0xFFFFFFFF" />
</imagestyle>
<imagestyle name="theme4_menu_background">
<color_fill color="0xFF000000"/>
<color_rect color="0xFFFFFFFF" />
</imagestyle>
<imagestyle name="theme5_menu_background">
<color_fill color="0xFF888888"/>
<color_rect color="0xFFFFFFFF" />
</imagestyle>
<imagestyle name="theme6_menu_background">
<color_fill color="0xFF303030"/>
<color_rect color="0xFFFFFFFF" />
</imagestyle>
<imagestyle name="theme7_menu_background">
<color_fill color="0xFF606060"/>
<color_rect color="0xFFFFFFFF" />
</imagestyle>
<imagestyle name="theme8_menu_background">
<color_fill color="0xFF143B14"/>
<color_rect color="0xFFFFFFFF" />
</imagestyle>
<imagestyle name="theme9_menu_background">
<color_fill color="0xFF303030"/>
<color_rect color="0xFFFFFFFF" />
</imagestyle>
<imagestyle name="theme10_menu_background">
<color_fill color="theme10_color1"/>
<color_rect color="theme10_color3" />
</imagestyle>
<imagestyle name="menu_item_imagestyle" transparent="true">
<color_fill color="color2" state="normal" alignment="0,0,1,1" opacity="0.50" />
<color_fill color="color2" state="hover" alignment="0,0,1,1" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme1_menu_item_imagestyle" transparent="true" >
<color_fill color="0xFF99EE00" state="normal" alignment="0,0,1,1" opacity="0.50" />
<color_fill color="0xFF99EE00" state="hover" alignment="0,0,1,1" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme2_menu_item_imagestyle" transparent="true">
<color_fill color="0xFFB83F3F" state="normal" alignment="0,0,1,1" opacity="0.50" />
<color_fill color="0xFFB83F3F" state="hover" alignment="0,0,1,1" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme3_menu_item_imagestyle" transparent="true">
<color_fill color="0xFFCBFF66" state="normal" alignment="0,0,1,1" opacity="0.50" />
<color_fill color="0xFFCBFF66" state="hover" alignment="0,0,1,1" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme4_menu_item_imagestyle" transparent="true" >
<color_fill color="0xFFFF0000" state="normal" alignment="0,0,1,1" opacity="0.50" />
<color_fill color="0xFFFF0000" state="hover" alignment="0,0,1,1" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme5_menu_item_imagestyle" transparent="true" >
<color_fill color="0xFFBBBBBB" state="normal" alignment="0,0,1,1" opacity="0.50" />
<color_fill color="0xFFBBBBBB" state="hover" alignment="0,0,1,1" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme6_menu_item_imagestyle" transparent="true" >
<color_fill color="0xFF00CCFF" state="normal" alignment="0,0,1,1" opacity="0.50" />
<color_fill color="0xFF00CCFF" state="hover" alignment="0,0,1,1" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme7_menu_item_imagestyle" transparent="true">
<color_fill color="0xFFFF0000" state="normal" alignment="0,0,1,1" opacity="0.50" />
<color_fill color="0xFFFF0000" state="hover" alignment="0,0,1,1" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme8_menu_item_imagestyle" transparent="true" >
<color_fill color="0xFF00B200" state="normal" alignment="0,0,1,1" opacity="0.50" />
<color_fill color="0xFF00B200" state="hover" alignment="0,0,1,1" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme9_menu_item_imagestyle" transparent="true" >
<color_fill color="0xFF588FBA" state="normal" alignment="0,0,1,1" opacity="0.50" />
<color_fill color="0xFF588FBA" state="hover" alignment="0,0,1,1" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme10_menu_item_imagestyle" transparent="true" >
<color_fill color="theme10_color2" state="normal" alignment="0,0,1,1" opacity="0.50" />
<color_fill color="theme10_color2" state="hover" alignment="0,0,1,1" opacity="0.25"/>
</imagestyle>
<!--<imagestyle name ="not_selected_icon" >
</imagestyle>-->
<imagestyle name ="selected_icon" >
<color_fill offset="3,3,-3,-3" alignment="0,0,1,1" state="normal" color="color_todo_1" />
<color_fill offset="3,3,-3,-3" alignment="0,0,1,1" state="hover" color="color_todo_2" />
</imagestyle>
<property name ="SQ2_PopupMenu"
img_drop_background="menu_background"
img_drop_item_first="menu_item_imagestyle"
img_drop_item_middle="menu_item_imagestyle"
img_drop_item_last="menu_item_imagestyle"
textshadow ="false"
drop_fade_duration="0"
drop_font_color1="color3"
drop_font_color2="color3"
drop_font_justification="left"
text_offset_drop="0,0,0,0"
text_alignment_drop="0,0,1,1"
rect_borderoffset="25,0,-25,-5"
img_checkoff ="MML_Mood_DlgCheckBoxState0"
img_checkon ="MML_Mood_DlgCheckBoxState1"
text_offset_toggle="0,0,-16,0"
text_alignment_toggle="0,0,1,1"
checkbox_offset="-11,-5,-2,4"
checkbox_alignment="1,0.5,1,0.5"
_img_notselected="not_selected_icon"
img_selected ="selected_icon"
text_offset_select="0,0,-16,0"
text_alignment_select="0,0,1,1"
selecticon_offset="-15,-6,-2,7"
selecticon_alignment="1,0.5,1,0.5"
/>
<property name="theme1_popupmenu" rect_borderoffset="25,0,-25,-5" textshadow="false"
text_offset_drop="0,0,0,0" text_alignment_drop="0,0,1,1"
img_drop_background="theme1_menu_background"
img_drop_item_first="theme1_menu_item_imagestyle"
img_drop_item_middle="theme1_menu_item_imagestyle"
img_drop_item_last="theme1_menu_item_imagestyle"
drop_fade_duration="0"
drop_font_color1="0xFFFFFFFF"
drop_font_color2="0xFFFFFFFF"
drop_font_justification="left"
img_checkoff="MML_Mood_DlgCheckBoxState0" img_checkon="MML_Mood_DlgCheckBoxState1"
text_offset_toggle="0,0,-16,0" text_alignment_toggle="0,0,1,1"
checkbox_offset="-11,-5,-2,4" checkbox_alignment="1,0.5,1,0.5"
img_selected="selected_icon"
text_offset_select="0,0,-16,0" text_alignment_select="0,0,1,1"
selecticon_offset="-15,-6,-2,7" selecticon_alignment="1,0.5,1,0.5"
/>
<property name="theme2_popupmenu" rect_borderoffset="25,0,-25,-5" textshadow="false"
text_offset_drop="0,0,0,0" text_alignment_drop="0,0,1,1"
img_drop_background="theme2_menu_background"
img_drop_item_first="theme2_menu_item_imagestyle"
img_drop_item_middle="theme2_menu_item_imagestyle"
img_drop_item_last="theme2_menu_item_imagestyle"
drop_fade_duration="0"
drop_font_color1="0xFFFFFFFF"
drop_font_color2="0xFFFFFFFF"
drop_font_justification="left"
img_checkoff="MML_Mood_DlgCheckBoxState0" img_checkon="MML_Mood_DlgCheckBoxState1"
text_offset_toggle="0,0,-16,0" text_alignment_toggle="0,0,1,1"
checkbox_offset="-11,-5,-2,4" checkbox_alignment="1,0.5,1,0.5"
img_selected="selected_icon"
text_offset_select="0,0,-16,0" text_alignment_select="0,0,1,1"
selecticon_offset="-15,-6,-2,7" selecticon_alignment="1,0.5,1,0.5"
/>
<property name="theme3_popupmenu" rect_borderoffset="25,0,-25,-5" textshadow="false"
text_offset_drop="0,0,0,0" text_alignment_drop="0,0,1,1"
img_drop_background="theme3_menu_background"
img_drop_item_first="theme3_menu_item_imagestyle"
img_drop_item_middle="theme3_menu_item_imagestyle"
img_drop_item_last="theme3_menu_item_imagestyle"
drop_fade_duration="0"
drop_font_color1="0xFFFFFFFF"
drop_font_color2="0xFFFFFFFF"
drop_font_justification="left"
img_checkoff="MML_Mood_DlgCheckBoxState0" img_checkon="MML_Mood_DlgCheckBoxState1"
text_offset_toggle="0,0,-16,0" text_alignment_toggle="0,0,1,1"
checkbox_offset="-11,-5,-2,4" checkbox_alignment="1,0.5,1,0.5"
img_selected="selected_icon"
text_offset_select="0,0,-16,0" text_alignment_select="0,0,1,1"
selecticon_offset="-15,-6,-2,7" selecticon_alignment="1,0.5,1,0.5"
/>
<property name="theme4_popupmenu" rect_borderoffset="25,0,-25,-5" textshadow="false"
text_offset_drop="0,0,0,0" text_alignment_drop="0,0,1,1"
img_drop_background="theme4_menu_background"
img_drop_item_first="theme4_menu_item_imagestyle"
img_drop_item_middle="theme4_menu_item_imagestyle"
img_drop_item_last="theme4_menu_item_imagestyle"
drop_fade_duration="0"
drop_font_color1="0xFFFFFFFF"
drop_font_color2="0xFFFFFFFF"
drop_font_justification="left"
img_checkoff="MML_Mood_DlgCheckBoxState0" img_checkon="MML_Mood_DlgCheckBoxState1"
text_offset_toggle="0,0,-16,0" text_alignment_toggle="0,0,1,1"
checkbox_offset="-11,-5,-2,4" checkbox_alignment="1,0.5,1,0.5"
img_selected="selected_icon"
text_offset_select="0,0,-16,0" text_alignment_select="0,0,1,1"
selecticon_offset="-15,-6,-2,7" selecticon_alignment="1,0.5,1,0.5"
/>
<property name="theme5_popupmenu" rect_borderoffset="25,0,-25,-5" textshadow="false"
text_offset_drop="0,0,0,0" text_alignment_drop="0,0,1,1"
img_drop_background="theme5_menu_background"
img_drop_item_first="theme5_menu_item_imagestyle"
img_drop_item_middle="theme5_menu_item_imagestyle"
img_drop_item_last="theme5_menu_item_imagestyle"
drop_fade_duration="0"
drop_font_color1="0xFFFFFFFF"
drop_font_color2="0xFFFFFFFF"
drop_font_justification="left"
img_checkoff="MML_Mood_DlgCheckBoxState0" img_checkon="MML_Mood_DlgCheckBoxState1"
text_offset_toggle="0,0,-16,0" text_alignment_toggle="0,0,1,1"
checkbox_offset="-11,-5,-2,4" checkbox_alignment="1,0.5,1,0.5"
img_selected="selected_icon"
text_offset_select="0,0,-16,0" text_alignment_select="0,0,1,1"
selecticon_offset="-15,-6,-2,7" selecticon_alignment="1,0.5,1,0.5"
/>
<property name="theme6_popupmenu" rect_borderoffset="25,0,-25,-5" textshadow="false"
text_offset_drop="0,0,0,0" text_alignment_drop="0,0,1,1"
img_drop_background="theme6_menu_background"
img_drop_item_first="theme6_menu_item_imagestyle"
img_drop_item_middle="theme6_menu_item_imagestyle"
img_drop_item_last="theme6_menu_item_imagestyle"
drop_fade_duration="0"
drop_font_color1="0xFFFFFFFF"
drop_font_color2="0xFFFFFFFF"
drop_font_justification="left"
img_checkoff="MML_Mood_DlgCheckBoxState0" img_checkon="MML_Mood_DlgCheckBoxState1"
text_offset_toggle="0,0,-16,0" text_alignment_toggle="0,0,1,1"
checkbox_offset="-11,-5,-2,4" checkbox_alignment="1,0.5,1,0.5"
img_selected="selected_icon"
text_offset_select="0,0,-16,0" text_alignment_select="0,0,1,1"
selecticon_offset="-15,-6,-2,7" selecticon_alignment="1,0.5,1,0.5"
/>
<property name="theme7_popupmenu" rect_borderoffset="25,0,-25,-5" textshadow="false"
text_offset_drop="0,0,0,0" text_alignment_drop="0,0,1,1"
img_drop_background="theme7_menu_background"
img_drop_item_first="theme7_menu_item_imagestyle"
img_drop_item_middle="theme7_menu_item_imagestyle"
img_drop_item_last="theme7_menu_item_imagestyle"
drop_fade_duration="0"
drop_font_color1="0xFFFFFFFF"
drop_font_color2="0xFFFFFFFF"
drop_font_justification="left"
img_checkoff="MML_Mood_DlgCheckBoxState0" img_checkon="MML_Mood_DlgCheckBoxState1"
text_offset_toggle="0,0,-16,0" text_alignment_toggle="0,0,1,1"
checkbox_offset="-11,-5,-2,4" checkbox_alignment="1,0.5,1,0.5"
img_selected="selected_icon"
text_offset_select="0,0,-16,0" text_alignment_select="0,0,1,1"
selecticon_offset="-15,-6,-2,7" selecticon_alignment="1,0.5,1,0.5"
/>
<property name="theme8_popupmenu" rect_borderoffset="25,0,-25,-5" textshadow="false"
text_offset_drop="0,0,0,0" text_alignment_drop="0,0,1,1"
img_drop_background="theme8_menu_background"
img_drop_item_first="theme8_menu_item_imagestyle"
img_drop_item_middle="theme8_menu_item_imagestyle"
img_drop_item_last="theme8_menu_item_imagestyle"
drop_fade_duration="0"
drop_font_color1="0xFFFFFFFF"
drop_font_color2="0xFFFFFFFF"
drop_font_justification="left"
img_checkoff="MML_Mood_DlgCheckBoxState0" img_checkon="MML_Mood_DlgCheckBoxState1"
text_offset_toggle="0,0,-16,0" text_alignment_toggle="0,0,1,1"
checkbox_offset="-11,-5,-2,4" checkbox_alignment="1,0.5,1,0.5"
img_selected="selected_icon"
text_offset_select="0,0,-16,0" text_alignment_select="0,0,1,1"
selecticon_offset="-15,-6,-2,7" selecticon_alignment="1,0.5,1,0.5"
/>
<property name="theme9_popupmenu" rect_borderoffset="25,0,-25,-5" textshadow="false"
text_offset_drop="0,0,0,0" text_alignment_drop="0,0,1,1"
img_drop_background="theme9_menu_background"
img_drop_item_first="theme9_menu_item_imagestyle"
img_drop_item_middle="theme9_menu_item_imagestyle"
img_drop_item_last="theme9_menu_item_imagestyle"
drop_fade_duration="0"
drop_font_color1="0xFFFFFFFF"
drop_font_color2="0xFFFFFFFF"
drop_font_justification="left"
img_checkoff="MML_Mood_DlgCheckBoxState0" img_checkon="MML_Mood_DlgCheckBoxState1"
text_offset_toggle="0,0,-16,0" text_alignment_toggle="0,0,1,1"
checkbox_offset="-11,-5,-2,4" checkbox_alignment="1,0.5,1,0.5"
img_selected="selected_icon"
text_offset_select="0,0,-16,0" text_alignment_select="0,0,1,1"
selecticon_offset="-15,-6,-2,7" selecticon_alignment="1,0.5,1,0.5"
/>
<property name="theme10_popupmenu" rect_borderoffset="25,0,-25,-5" textshadow="false"
text_offset_drop="0,0,0,0" text_alignment_drop="0,0,1,1"
img_drop_background="theme10_menu_background"
img_drop_item_first="theme10_menu_item_imagestyle"
img_drop_item_middle="theme10_menu_item_imagestyle"
img_drop_item_last="theme10_menu_item_imagestyle"
drop_fade_duration="0"
drop_font_color1="theme10_color3"
drop_font_color2="theme10_color3"
drop_font_justification="left"
img_checkoff="MML_Mood_DlgCheckBoxState0" img_checkon="MML_Mood_DlgCheckBoxState1"
text_offset_toggle="0,0,-16,0" text_alignment_toggle="0,0,1,1"
checkbox_offset="-11,-5,-2,4" checkbox_alignment="1,0.5,1,0.5"
img_selected="selected_icon"
text_offset_select="0,0,-16,0" text_alignment_select="0,0,1,1"
selecticon_offset="-15,-6,-2,7" selecticon_alignment="1,0.5,1,0.5"
/>
<!-- interface browser -->
<imagestyle name="img_no_thumb" transparent="true">
<color_rect color="color3" opacity="0.75" cornerradius="5.0" alignment="0,0,1,1" />
</imagestyle>
<imagestyle name="img_tab" transparent="true">
<color_rect color="color2" antialiased="true" filled="true" opacity="0.50" cornerradius="4.0" alignment="0,0,1,1" offset="2,1,-2,-1"/>
</imagestyle>
<imagestyle name="img_tab_selected" transparent="true">
<color_rect color="color2" antialiased="true" filled="true" opacity="0.75" cornerradius="4.0" alignment="0,0,1,1" offset="2,1,-2,-1"/>
</imagestyle>
<imagestyle name="img_skin_header" transparent="true">
<color_rect color="color2" antialiased="true" filled="true" opacity="0.75" cornerradius="4.0" alignment="0,0,1,1" offset="0,3,0,-1"/>
</imagestyle>
<imagestyle name="img_remote_header" transparent="true">
<color_rect color="color2" antialiased="true" filled="true" opacity="0.50" cornerradius="4.0" alignment="0,0,1,1" offset="0,3,0,-1"/>
</imagestyle>
<imagestyle name="img_mid_column" transparent="true">
<color_line color = "color3" alignment="0,0,0,1" offset="1,0,1,0" />
<color_line color = "color3" alignment="1,0,1,1" offset="-2,0,-2,0" />
</imagestyle>
<imagestyle name="img_bottom_column" transparent="true">
<color_rect color="color3" antialiased="true" opacity="1.0" cornerradius="4.0" alignment="0,0,1,1" offset="1,-5,-1,0"/>
</imagestyle>
<imagestyle name="img_top_column" transparent="true">
<color_rect color="color3" antialiased="true" opacity="1.0" cornerradius="4.0" alignment="0,0,1,1" offset="1,1,-1,5"/>
</imagestyle>
<property name ="SQ2_InterfacesWindow"
img_background ="transparent"
rect_borderoffset ="3,1,-3,-1"
img_content_background ="transparent"
interface_spacer_width="10"
min_tab_height ="10"
font_tab ="my_font_10"
font_tab_justification ="h_center|v_center|single_line_only|trim_chars_w_ellipses"
rect_tabtext_offsets ="2,2,-2,-2"
min_all_tab_width="20"
_img_all_tab ="img_all_tab"
img_all_tab ="img_tab"
img_tab
font_all_tab_color ="color3"
_img_all_tab_selected ="img_all_tab_selected"
img_all_tab_selected ="img_tab_selected"
font_all_tab_color_selected="color3"
min_skins_tab_width="20"
_img_skins_tab ="img_skins_tab"
img_skins_tab ="img_tab"
font_skins_tab_color ="color3"
_img_skins_tab_selected ="img_skins_tab_selected"
img_skins_tab_selected ="img_tab_selected"
font_skins_tab_color_selected="color3"
min_remotes_tab_width="20"
_img_remotes_tab ="img_remotes_tab"
img_remotes_tab ="img_tab"
font_remotes_tab_color ="color3"
_img_remotes_tab_selected="img_remotes_tab_selected"
img_remotes_tab_selected ="img_tab_selected"
font_remotes_tab_color_selected="color3"
header_height ="19"
font_header ="my_font_10"
font_header_justification="h_center|v_center|single_line_only|trim_chars_w_ellipses"
rect_headertext_offsets ="1,1,-1,-1"
font_skin_header_color ="color1"
img_skin_header ="img_skin_header"
font_remote_header_color ="color3"
img_remote_header ="img_remote_header"
title_height ="14"
rect_titletext_offsets ="1,2,-1,0"
font_title ="my_font_10"
font_title_justification ="h_center|v_center|single_line_only|trim_chars_w_ellipses"
font_skin_title_color ="color3"
img_skin_title ="img_top_column"
font_remote_title_color ="color3"
img_remote_title ="img_top_column"
thumb_height ="60"
thumb_border_height ="10"
thumb_border_width ="30"
img_skin_thumb_border = "img_mid_column"
img_remote_thumb_border = "img_mid_column"
launch_height ="14"
rect_launchtext_offsets ="1,1,-1,-1"
font_launch ="my_font_10"
font_launch_justification="h_center|v_center|single_line_only|trim_chars_w_ellipses"
font_skin_launch_color ="color3"
img_skin_launch ="img_mid_column"
font_remote_launch_color ="color3"
img_remote_launch ="img_mid_column"
author_height ="12"
rect_authortext_offsets ="1,1,-1,-1"
font_author ="my_font_8"
font_author_justification="h_center|v_center|single_line_only|trim_chars_w_ellipses"
font_skin_author_color ="color3"
img_skin_author ="img_mid_column"
font_remote_author_color ="color3"
img_remote_author ="img_mid_column"
url_height ="12"
rect_urltext_offsets ="1,1,-1,-2"
font_url_justification ="h_center|v_center|single_line_only|trim_chars_w_ellipses"
font_url ="my_font_8"
font_skin_url_color ="color3"
img_skin_url ="img_bottom_column"
font_remote_url_color ="color3"
img_remote_url ="img_bottom_column"
rect_nothumb_text_offsets="1,1,-1,-1"
font_nothumb_justification="h_center|v_center"
font_nothumb ="my_font_8"
font_skin_nothumb_color ="color3"
img_skin_nothumb ="img_no_thumb"
font_remote_nothumb_color="color3"
img_remote_nothumb ="img_no_thumb"
>
</property>
<!-- **************** SQ2_SettingsWindow - start - ***************** -->
<imagestyle name="settings_menu_background">
<color_fill color="color1"/>
</imagestyle>
<imagestyle name="settings_menu_item_imagestyle" >
<color_fill state="normal" alignment="0,0,1,1" color="color1" opacity="0.50" />
<color_fill state="hover" alignment="0,0,1,1" color="color1" opacity="0.25"/>
<color_rect offset="0,0,0,1" alignment="0,0,1,1" color="color3" />
</imagestyle>
<imagestyle name="settings_menu_item_imagestyle" transparent="true">
<include source="settings_menu_item_imagestyle" />
</imagestyle>
<imagestyle name="settings_menu_bottom_imagestyle" transparent="true">
<include source="settings_menu_item_imagestyle" />
<color_rect offset="0,-1,0,1" alignment="0,1,1,1" color="color3" />
</imagestyle>
<imagestyle name="img_top_bar" transparent="false">
<include source="settings_menu_background" />
<color_rect color="color3" alignment="0,0,1,1" offset="0,0,0,1" blendmode="COPY|RGB" />
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,1,1,1" offset="-10,-10,-3,-3" />
</imagestyle>
<property name ="SQ2_SettingsWindow"
img_background="transparent"
rect_borderoffset="3,1,-3,-1"
img_top_background= "transparent"
img_top_empty_left= "transparent"
img_top_empty_right= "transparent"
img_top_item_first= "img_top_bar"
img_top_item_middle= "img_top_bar"
img_top_item_last= "img_top_bar"
img_drop_background= "settings_menu_background"
img_drop_item_first= "settings_menu_item_imagestyle"
img_drop_item_middle= "settings_menu_item_imagestyle"
img_drop_item_last= "settings_menu_bottom_imagestyle"
textshadow = "false"
top_font_color1= "color3"
top_font_color2= "color3_50"
top_font_justification= "left"
top_fade_duration= "300"
drop_fade_duration= "300"
drop_font_color1= "color3"
drop_font_color2= "color3_50"
drop_font_justification= "left"
text_offset_top= "3,1,-30,-1"
text_alignment_top= "0,0,1,1"
text_offset_drop= "0,0,0,0"
text_alignment_drop= "0,0,1,1"
/>
<window name="main" default_size="444,367" min_size="415,221" hitstyle="frame_hitstyle" transparent="false" shape="chassis_shape">
<shape name="chassis_shape">
<shape_raster
source ="grayscale.psd|chassis"
alignment ="0,0,1,1"
fillmode ="resize"
inner_rect ="40,45,100,100"
outer_rect ="grayscale.psd|chassis"
/>
</shape>
<imagestyle name="background">
<raster
source ="grayscale.psd|chassis"
alignment ="0,0,1,1"
fillmode ="resize"
inner_rect ="40,45,100,100"
outer_rect ="grayscale.psd|chassis"
blendmode ="ps_normal"
/>
</imagestyle>
<hitstyle name="frame_hitstyle" default_hitcode="DRAG" >
<hitcode type="LEFT">
<shape>
<shape_rect alignment="0,0,0,1" offset="0,0,5,0" />
</shape>
</hitcode>
<hitcode type="BOTTOM">
<shape>
<shape_rect alignment="0,1,1,1" offset="0,-5,0,0" />
</shape>
</hitcode>
<hitcode type="TOP">
<shape>
<shape_rect alignment="0,0,1,0" offset="0,0,0,5" />
</shape>
</hitcode>
<hitcode type="RIGHT">
<shape>
<shape_rect alignment="1,0,1,1" offset="-5,0,0,0" />
</shape>
</hitcode>
<hitcode type="BOTTOMRIGHT">
<shape>
<shape_rect alignment="1,1,1,1" offset="-20,-20,0,0" />
</shape>
</hitcode>
</hitstyle>
<hitstyle name="info_window_hitstyle" default_hitcode="DRAG" >
<hitcode type="RIGHT">
<shape>
<shape_rect alignment="1,0,1,1" offset="-5,0,0,0" />
</shape>
</hitcode>
</hitstyle>
<!-- monitor dock points -->
<dock_point type="slave" name="MonitorUL" alignment="0,0,0,0" />
<dock_point type="slave" name="MonitorTC" alignment="0.5,0,0.5,0" />
<dock_point type="slave" name="MonitorUR" alignment="1,0,1,0" />
<dock_point type="slave" name="MonitorLL" alignment="0,1,0,1" />
<dock_point type="slave" name="MonitorBC" alignment="0.5,1,0.5,1" />
<dock_point type="slave" name="MonitorLR" alignment="1,1,1,1" />
<dock_point type="slave" name="MonitorRC" alignment="1,0.5,1,0.5" />
<dock_point type="slave" name="MonitorLC" alignment="0,0.5,0,0.5" />
<!-- master dock points -->
<dock_point type="master" name="Main_UL" alignment="0,0,0,0" />
<dock_point type="master" name="Main_TC" alignment="0.5,0,0.5,0" />
<dock_point type="master" name="Main_UR" alignment="1,0,1,0" />
<dock_point type="master" name="Main_LL" alignment="0,1,0,1" />
<dock_point type="master" name="Main_BC" alignment="0.5,1,0.5,1" />
<dock_point type="master" name="Main_LR" alignment="1,1,1,1" />
<dock_point type="master" name="Main_RC" alignment="1,0.5,1,0.5" />
<dock_point type="master" name="Main_LC" alignment="0,0.5,0,0.5" />
<script name="OnInit">
// todo
SetDesiredFPS(45);
:sonique.InterfacePrefsCreateSection("main");
:sonique.prefs.PrepString("misc", "theme", 1);
:sonique.InterfacePrefsPrepString("main", "full_vis", "0");
:sonique.InterfacePrefsPrepString("main", "mini_vis", "1");
:sonique.InterfacePrefsPrepString("main", "death_mode", "1");
:sonique.InterfacePrefsCreateSection("song_popup");
:sonique.InterfacePrefsPrepString("song_popup", "enabled", "0");
:sonique.InterfacePrefsPrepString("song_popup", "offset", "87");
:sonique.InterfacePrefsPrepString("main", "currentwindow", "main_online_window");
done=0;
background_window.right_quadrant_window.position = -1;
introReady = 0;
theme = :sonique.prefs.GetString("misc", "theme");
// duped in OnSkinChange
popupNameArray={"eq_popup", "playlist_popup","online_popup","vis_popup","settings_popup","SQ2_SettingsPopup","SQ2_InterfaceBrowserPopup","SQ2_ID3EditPopup","console_popup"};
currentwindows={:sonique.InterfacePrefsGetString("main", "currentwindow")};
// screen smartness
$size=:sonique.InterfacePrefsGetStringArray("main", "size");
if ($size.IsArray()) {
if ( $size[0] gt 0 and $size[1] gt 0 ) {
SetSize($size,0,0,"linear_accel");
}
}
$location=:sonique.InterfacePrefsGetStringArray("main", "location");
if ($location.IsArray()) {
$dim=:app.GetScreenDimensions();
if ( ($location[0] gte $dim[0]["left"]) and ($location[1] gte $dim[0]["top"]) ) {
if ( ($location[0] lt $dim[0]["right"]) and ($location[1] lt $dim[0]["bottom"]) ) {
SetLocation($location,0,0,"linear_accel");
}
}
}
main_settings_window.skin_settings_window.SelectTheme();
:system.timer.SetTimer("more", 500, "MoreOnInit();", this, false);
</script>
<script name="MoreOnInit">
introReady = 1;
SetWindowTitle("Default - Stopped", true);
if(:sonique.players.default.IsPlaying()){
SetWindowTitle("Default - " | :sonique.player.GetTitleString(), true);
}
:sonique.players.default.RegisterCallback("CurrentIDChanged", "SetWindowTitle(\"Default - \" | :sonique.player.GetTitleString(), true);", this);
:sonique.players.default.RegisterCallback("Stopping", "SetWindowTitle(\"Default - Stopped \", true);", this);
:sonique.players.default.RegisterCallback("SongStarted","SongStarted();",this);
if( :sonique.InterfacePrefsGetString("main", "alwaysontop") ) { SetAlwaysOnTop( 1 ); }
$section="sonique/gui/slate/hotkeys";
:sonique.prefs.CreateSection($section);
alwaysontop=:sonique.prefs.GetString($section, "alwaysontop");
if (alwaysontop) { :app.RegisterWindowKeyScript( alwaysontop, "SetAlwaysOnTop(!GetAlwaysOnTop());", this ); }
// override togglefullscreenvis
:app.RegisterGlobalKeyScript( :sonique.prefs.GetString($section, "togglefullscreenvis"), "LaunchFullScreenVis();", this );
background_window.display_lines_window.SetOffset({0,0,0,0},0,1000,"linear_accel");
if (:sonique.InterfacePrefsGetString("main", "full_vis") == 1) {
main_vis_window.vis_window.SetAlignment({1,1,1,1});
main_vis_window.vis_window.Hide();
background_window.full_vis_window.Show();
:sonique.CompactMem(); // todo ?
}
if(currentwindows){
:system.timer.SetTimer("intro", 1000, "$script=currentwindows[0]|\".ViewWindow();\"; $script2=$script();", this, false);
}
else{
// save people that are lost somehow!!
currentwindows={"main_online_window"};
:system.timer.SetTimer("intro", 1000, "main_online_window.ViewWindow();", this, false);
}
StartIntro();
:system.timer.UnsetTimer("more", this);
</script>
<script name="OnSkinChange">
<!-- fuck it, causes crashes and slowdowns which aint worth it right now -->
// popupNameArray={"eq_popup", "playlist_popup","online_popup","vis_popup","settings_popup","SQ2_SettingsPopup","SQ2_InterfaceBrowserPopup","SQ2_ID3EditPopup","console_popup"};
// foreach ($popup in popupNameArray ) {
// foreach ($window in :app.interfaces["teamsonique/default_interface/Sonique2Default"].windows ) {
// if ($window.Name() == $popup) {
// $window.DestroyWindow();
// }
// }
// }
</script>
<script name="OnDestroy">
:sonique.playlists.default.UnregisterCallback("ItemsAdded", this);
:sonique.players.default.UnregisterCallback("CurrentIDChanged", this);
:sonique.players.default.UnregisterCallback("Stopping", this);
:sonique.players.default.UnregisterCallback("SongStarted", this);
if (alwaysontop) { :app.UnregisterWindowKeyScript( alwaysontop, "SetAlwaysOnTop(!GetAlwaysOnTop());", this ); }
// screen smartness
$size=GetSize();
:sonique.InterfacePrefsSetStringArray("main", "size", $size);
$location=GetLocation();
:sonique.InterfacePrefsSetStringArray("main", "location", $location );
:sonique.InterfacePrefsSetString("main", "alwaysontop", GetAlwaysOnTop());
:sonique.InterfacePrefsSetString("main", "currentwindow", currentwindows[currentwindows.ArraySize()-1]);
// undo override F11 since s2 isn't smart enough to not paint vis windows that are hidden (minimized, behind another app, behind fullscreen vis, etc)
$section = "sonique/gui/slate/hotkeys";
:app.RegisterGlobalKeyScript( :sonique.prefs.GetString($section, "togglefullscreenvis"), ":sonique.visuals.LaunchFullScreenVis(1);" );
</script>
<script name="OnActivate">
if (introReady == 1) {
background_window.right_quadrant_window.MoveSomething();
background_window.left_quadrant_window.SetOffset({12,32,20,-110},0,1000,"linear_accel");
window_controls_window.help_button_window.SetOpacity(1.0);
window_controls_window.always_on_top_button_window.SetOpacity(1.0);
window_controls_window.minimize_button_window.SetOpacity(1.0);
window_controls_window.close_button_window.SetOpacity(1.0);
vis_button_window.mini_vis_window_alt.Animate();
}
</script>
<script name="OnDeactivate">
if (introReady == 1) {
background_window.right_quadrant_window.MoveSomething();
$leftOffset = background_window.left_quadrant_window.GetOffset();
$size = GetSize();
background_window.left_quadrant_window.SetOffset({$leftOffset[0],$leftOffset[1]+$size[1],$leftOffset[2],$leftOffset[1]},0,1000,"linear_accel");
window_controls_window.help_button_window.SetOpacity(0.5);
window_controls_window.always_on_top_button_window.SetOpacity(0.5);
window_controls_window.minimize_button_window.SetOpacity(0.5);
window_controls_window.close_button_window.SetOpacity(0.5);
}
</script>
<script name="SetTheme">
SetMenuProperty("theme" | theme | "_popupmenu");
background_window.SetImageStyle("background","theme" | theme);
background_window.outside_frame_window.SetImageStyle("background","theme" | theme);
status_display_window.SetImageStyle("background", "theme" | theme);
advanced_icons_window.SetImageStyle("background", "theme" | theme);
death_star_window.SetImageStyle("background", "theme" | theme);
righthand_bar_window.SetImageStyle("background", "theme" | theme);
outer_circle_window.SetImageStyle("background", "theme" | theme);
inner_circle_window.SetImageStyle("background", "theme" | theme);
progress_window.SetImageStyle("background", "theme" | theme);
online_button_window.SetImageStyle("state0", "theme" | theme | "_state0");
online_button_window.SetImageStyle("state1", "theme" | theme | "_state1");
vis_button_window.vis_button.SetImageStyle("state0", "theme" | theme | "_state0");
vis_button_window.vis_button.SetImageStyle("state1", "theme" | theme | "_state1");
eq_button_window.mini_eq_button.SetImageStyle("state0", "theme" | theme | "_state0");
eq_button_window.mini_eq_button.SetImageStyle("state1", "theme" | theme | "_state1");
interfaces_button_window.SetImageStyle("state0", "theme" | theme | "_state0");
interfaces_button_window.SetImageStyle("state1", "theme" | theme | "_state1");
settings_button_window.SetImageStyle("state0", "theme" | theme | "_state0");
settings_button_window.SetImageStyle("state1", "theme" | theme | "_state1");
playlist_button_window.SetImageStyle("state0", "theme" | theme | "_state0");
playlist_button_window.SetImageStyle("state1", "theme" | theme | "_state1");
info_window.SetImageStyle("background", "theme" | theme);
copyright_window.SetImageStyle("background", "theme" | theme);
main_settings_window.app_settings_tab_window.SetImageStyle("state0", "theme" | theme | "_state0");
main_settings_window.app_settings_tab_window.SetImageStyle("state1", "theme" | theme | "_state1");
main_settings_window.skin_settings_tab_window.SetImageStyle("state0", "theme" | theme | "_state0");
main_settings_window.skin_settings_tab_window.SetImageStyle("state1", "theme" | theme | "_state1");
main_playlist_window.playlist_window.SetImageStyle("background", "theme" | theme);
main_playlist_window.playlist_progressbar_window.SetImageStyle("barempty", "theme" | theme | "_barempty");
main_playlist_window.playlist_progressbar_window.SetImageStyle("barfilled", "theme" | theme | "_barfilled");
main_eq_window.eq_presets_window.SetImageStyle("background", "theme" | theme);
main_eq_window.eq_presets_window.preset_picker.SetImageStyle("img_picker_background", "theme" | theme | "_img_picker_background");
main_eq_window.eq_presets_window.preset_picker.SetImageStyle("img_menu_background", "theme" | theme | "_img_menu_background");
main_eq_window.eq_presets_window.preset_picker.SetImageStyle("img_item", "theme" | theme | "_img_item");
main_eq_window.eq_pab_window.SetImageStyle("background", "theme" | theme);
main_vis_window.vis_info_container.visual_info_window.SetImageStyle("background", "theme" | theme);
foreach ($popup in popupNameArray ) {
foreach ($window in :app.interfaces["teamsonique/default_interface/Sonique2Default"].windows ) {
if ($window.Name() == $popup) {
$window.theme = theme;
if($popup == "settings_popup"){
$window.main.skin_settings_window.careful=0;
$window.main.skin_settings_window.SelectTheme();
}
else{
$window.SetTheme();
}
}
}
}
</script>
<script name="OnSizeChange">
$ysize=GetSize()[1];
if ($ysize lt 365 and done lt 4) {
if(done lt 1){
mini_icon_holder.Show();
settings_button_window.Hide();
mini_settings_shadow.Hide();
done=1;
}
if ($ysize lt 333) {
if(done lt 2){
mini_icon_holder.interfaces_icon_button.Show();
interfaces_button_window.Hide();
mini_interfaces_shadow.Hide();
done=2;
}
if ($ysize lt 295) {
if(done lt 3){
mini_icon_holder.eq_icon_button.Show();
eq_button_window.Hide();
mini_eq_shadow.Hide();
done=3;
}
if ($ysize lt 257){
mini_icon_holder.vis_icon_button.Show();
vis_button_window.Hide();
mini_vis_shadow.Hide();
done=4;
}
}
}
}
if ($ysize gte 257 and done gt 0) {
if (done gt 3) {
vis_button_window.Show();
mini_vis_shadow.Show();
mini_icon_holder.vis_icon_button.Hide();
done=3;
}
if ($ysize gte 295) {
if (done gt 2) {
eq_button_window.Show();
mini_eq_shadow.Show();
mini_icon_holder.eq_icon_button.Hide();
done=2;
}
if ($ysize gte 333) {
if (done gt 1) {
interfaces_button_window.Show();
mini_interfaces_shadow.Show();
mini_icon_holder.interfaces_icon_button.Hide();
done=1;
}
if($ysize gte 365){
settings_button_window.Show();
mini_settings_shadow.Show();
mini_icon_holder.Hide();
done=0;
}
}
}
}
</script>
<script name="OnAlwaysOnTopChange">
if (introReady == 1) {
window_controls_window.always_on_top_button_window.UpdateAlwaysOnTopState($params[0]);
}
</script>
<script name="ToggleFullWindowVis">
if (:sonique.InterfacePrefsGetString("main", "full_vis") == 0) {
main_vis_window.vis_window.SetAlignment({1,1,1,1});
main_vis_window.vis_window.Hide();
background_window.full_vis_window.SetAlignment({0,0,1,1});
background_window.full_vis_window.Show();
:sonique.CompactMem(); // todo ?
:sonique.InterfacePrefsSetString("main", "full_vis", 1);
} else {
background_window.full_vis_window.SetAlignment({1,1,1,1});
background_window.full_vis_window.Hide();
main_vis_window.vis_window.Show();
main_vis_window.vis_window.SetAlignment({0,0,1,1});
:sonique.InterfacePrefsSetString("main", "full_vis", 0);
}
vis_button_window.enable_mini_vis_button.SmartVis();
</script>
<script name="LaunchFullScreenVis">
:sonique.CompactMem(); // todo
// todo - get rid of dimension logic when full screen vis is more user preference sensitive
$x = 800;
$y = 600;
$dim = :app.GetScreenDimensions();
if ($dim.ArraySize() == 1) {
$x = $dim[0]["right"]-$dim[0]["left"];
$y = $dim[0]["bottom"]-$dim[0]["top"];
}
:sonique.visuals.LaunchFullScreenVis( main_vis_window.vis_window.GetVisual(), "default", {$x,$y} );
</script>
<script name="MoveWindows">
background_window.right_quadrant_window.MoveSomething();
$arrsize=currentwindows.ArraySize();
$temparr="";
if($params[0] == currentwindows[$arrsize-1]){
if($arrsize gt 1){
hidescript=$params[0]|".HideWindow();";
viewscript=currentwindows[$arrsize-2]|".ViewWindow();";
for($i in 0 to $arrsize-2){
$temparr=$temparr|{currentwindows[$i]};
}
}
}
if($params[0] != currentwindows[$arrsize-1]){
hidescript=currentwindows[$arrsize-1]|".HideWindow();";
viewscript=$params[0]|".ViewWindow();";
for($i in 0 to $arrsize-1){
if(currentwindows[$i] != $params[0]){
$temparr=$temparr|{currentwindows[$i]};
}
}
$temparr=$temparr|{$params[0]};
}
if($temparr){
hidescript2=hidescript();
viewscript2=viewscript();
hidescript2();
viewscript2();
currentwindows=$temparr;
vis_button_window.enable_mini_vis_button.SmartVis();
}
</script>
<script name="AttachPopup">
if ($params[0] == "playlist_popup") {
MoveWindows("main_playlist_window");
} else {
if ($params[0] == "eq_popup") {
MoveWindows("main_eq_window");
} else {
if ($params[0] == "vis_popup") {
MoveWindows("main_vis_window");
} else {
if ($params[0] == "online_popup") {
MoveWindows("main_online_window");
} else {
if ($params[0] == "settings_popup") {
MoveWindows("main_settings_window");
} else {
if ($params[0] == "console_popup") {
MoveWindows("main_console_window");
}
}
}
}
}
}
</script>
<script name="IsOpen">
$thing=0;
foreach ($window in :app.interfaces["teamsonique/default_interface/Sonique2Default"].windows ) {
if ($window.Name() == $params[0]) {
$thing=1;
}
}
return( $thing );
</script>
<script name="SongStarted">
$bFound=0;
foreach ($window in :app.interfaces["teamsonique/default_interface/Sonique2Default"].windows ) {
if ($window.Name() == "song_popup") {
$bFound=1;
$window.Update();
}
}
if($bFound == 0 and :sonique.InterfacePrefsGetString("song_popup", "enabled")){
:sonique.LaunchLocalWindow("song_popup");
}
</script>
<window name="background_window" transparent="true" shape="background_shape">
<shape name="background_shape">
<shape_raster
source ="grayscale.psd|backgound_color_region"
source_offset ="grayscale.psd|backgound_color_region @ grayscale.psd|chassis"
alignment ="0,0,1,1"
fillmode ="resize"
inner_rect ="40,45,100,100"
outer_rect ="grayscale.psd|chassis"
/>
</shape>
<imagestyle name="background"><color_fill color="color1" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme1"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme2"><color_fill color="0xFFFF9900" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme3"><color_fill color="0xFF28497F" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme4"><color_fill color="0xFF000000" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme5"><color_fill color="0xFF888888" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme6"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme7"><color_fill color="0xFF606060" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme8"><color_fill color="0xFF143B14" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme9"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme10"><color_fill color="theme10_color1" alignment="0,0,1,1"/></imagestyle>
<window name="full_vis_window" type="Sonique2_Visual" hidden="true" >
<property blendmode="COPY|RGB" />
<imagestyle name="background"><color_fill color="0xFF000000" alignment="0,0,1,1"/></imagestyle>
<script name="OnInit">:sonique.visuals.GroupEnablePostEffect("default","10B82A0E-1B28-4F4E-AF53-145248A73AB5",false);
:sonique.visuals.GroupEnablePostEffect("default","10B82A0E-1B28-4F4E-AF53-145248A73AB5",true);</script>
</window>
<window name="main_background_grid" transparent="true" hidden="true">
<imagestyle name="background" transparent="true">
<raster source="grayscale.psd|background_tile_grid" opacity="0.1" fillmode="tile" blendmode="ps_normal" />
</imagestyle>
<script name="OnIntro"> SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
<window name="outside_frame_window" shape="my_shape" hidden="true" transparent="true" >
<shape name="my_shape">
<shape_raster
source ="grayscale.psd|outside_frame_shape"
source_offset ="grayscale.psd|outside_frame_shape @ grayscale.psd|chassis"
alignment ="0,0,1,1"
inner_rect ="40,45,100,100"
outer_rect ="grayscale.psd|chassis"
fillmode ="resize"
/>
</shape>
<imagestyle name="background"><color_fill color="color2" blendmode="ps_normal" opacity="0.35"/></imagestyle>
<imagestyle name="theme1"><color_fill color="0xFF99EE00" blendmode="ps_normal" opacity="0.35"/></imagestyle>
<imagestyle name="theme2"><color_fill color="0xFFB83F3F" blendmode="ps_normal" opacity="0.35"/></imagestyle>
<imagestyle name="theme3"><color_fill color="0xFFCBFF66" blendmode="ps_normal" opacity="0.35"/></imagestyle>
<imagestyle name="theme4"><color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.35"/></imagestyle>
<imagestyle name="theme5"><color_fill color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.35"/></imagestyle>
<imagestyle name="theme6"><color_fill color="0xFF00CCFF" blendmode="ps_normal" opacity="0.35"/></imagestyle>
<imagestyle name="theme7"><color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.35"/></imagestyle>
<imagestyle name="theme8"><color_fill color="0xFF00B200" blendmode="ps_normal" opacity="0.35"/></imagestyle>
<imagestyle name="theme9"><color_fill color="0xFF588FBA" blendmode="ps_normal" opacity="0.35"/></imagestyle>
<imagestyle name="theme10"><color_fill color="theme10_color2" blendmode="ps_normal" opacity="0.35"/></imagestyle>
<script name="OnIntro"> SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
<window name="outside_frame_shadow" transparent="true" hidden="true" alignment="0,0,1,1" >
<imagestyle name="background">
<raster
source ="grayscale.psd|outside_frame_shadow"
source_offset ="grayscale.psd|outside_frame_shadow @ grayscale.psd|chassis"
alignment ="0,0,1,1"
inner_rect ="40,45,100,100"
outer_rect ="grayscale.psd|chassis"
fillmode ="resize"
blendmode ="ps_normal"
/>
</imagestyle>
<script name="OnIntro"> SetOpacity(0.0); Show(); SetOpacity(1.0, 0,1500,"linear_accel"); </script>
</window>
<window name="top_right_shadow" transparent="true" hidden="true" alignment="1,0,1,0" offset="-255,6,-8,25" >
<imagestyle name="background">
<raster source="grayscale.psd|top_right_shadow" blendmode="ps_normal" />
</imagestyle>
<script name="OnIntro"> SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
<window name="display_lines_window" transparent="true" alignment="0,0,1,1" offset="-100,-100,100,100">
<imagestyle name="background">
<raster source="grayscale.psd|display_vertical_left_line" offset="grayscale.psd|display_vertical_left_line @ grayscale.psd|chassis" alignment="0,1,0,1" blendmode="ps_normal" opacity="0.45" />
<raster source="grayscale.psd|display_corner_top_left" offset="grayscale.psd|display_corner_top_left @ grayscale.psd|chassis" alignment="0,0,0,0" blendmode="ps_normal" opacity="0.45" />
<raster source="grayscale.psd|display_corner_top_right" offset="grayscale.psd|display_corner_top_right @ grayscale.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source="grayscale.psd|display_corner_bottom_right" offset="grayscale.psd|display_corner_bottom_right @ grayscale.psd|chassis" alignment="1,1,1,1" blendmode="ps_normal" opacity="0.45" />
<raster source="grayscale.psd|display_line_over_mini_windows" offset="grayscale.psd|display_line_over_mini_windows @ grayscale.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source="grayscale.psd|display_top_line_level_1" offset="grayscale.psd|display_top_line_level_1 @ grayscale.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source="grayscale.psd|bottom_line_with_circle" alignment="1,1,1,1" opacity="0.5" blendmode="ps_normal" offset ="grayscale.psd|bottom_line_with_circle @ grayscale.psd|chassis" />
<raster source="grayscale.psd|volume_circle_stroke" alignment="1,1,1,1" opacity="0.5" blendmode="ps_normal" offset="grayscale.psd|volume_circle_stroke @ grayscale.psd|chassis" />
<raster source="grayscale.psd|inner_circle_stroke" alignment="1,1,1,1" opacity="0.2" blendmode="ps_normal" offset="grayscale.psd|inner_circle_stroke @ grayscale.psd|chassis"/>
<!-- left and right vertical lines -->
<color_line color="color3" alignment="1,0,1,1" offset="-9,41,-9,-108" opacity="0.45" />
<color_line color="color3" alignment="0,0,0,1" offset="7,33,7,-127" opacity="0.45" />
<!-- top lines -->
<color_line color="color3" alignment="1,0,1,0" offset="-105,26,-87,26" opacity="0.45" />
<!-- righthand tiny vert line-->
<color_line color="color3" alignment="1,0,1,0" offset="-106,21,-106,25" opacity="0.45" />
<!-- lefthand tiny vert line-->
<color_line color="color3" alignment="0,0,0,0" offset="122,17,122,20" opacity="0.45" />
<!-- first long horizontal line -->
<color_line color="color3" alignment="0,0,1,0" offset="90,16,-13,16" opacity="0.45" />
<!-- second long horizontal line -->
<color_line color="color3" alignment="0,0,1,0" offset="123,20,-107,20" opacity="0.45" />
<!-- top_right_lines -->
<color_line color="color3" alignment="1,0,1,0" offset="-247,6,-8,6" opacity="0.45" />
<!-- lower hor. -->
<color_line color="color3" alignment="1,0,1,0" offset="-251,10,-88,10" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-16,10,-9,10" opacity="0.45" />
<!-- righthand mini vert -->
<color_line color="color3" alignment="1,0,1,0" offset="-8,7,-8,10" opacity="0.45" />
<!-- center mini verts -->
<color_line color="color3" alignment="1,0,1,0" offset="-144,7,-144,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-172,7,-172,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-122,7,-110,10" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-100,7,-88,10" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-207,7,-195,10" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-229,7,-217,10" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-250,9,-248,7" opacity="0.45" />
<!-- bottom lines -->
<!-- horizontals -->
<color_line color="color3" alignment="1,1,1,1" offset="-63,-17,-33,-17" opacity="0.45" />
<color_line color="color3" alignment="0,1,1,1" offset="4,-25,-236,-25" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-313,-21,-192,-21" opacity="0.45" />
<!-- verts -->
<color_line color="color3" alignment="1,1,1,1" offset="-313,-24,-313,-22" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-236,-24,-236,-22" opacity="0.45" />
<!-- rects -->
<color_fill color="color3" alignment="1,1,1,1" offset="-291,-24,-279,-21" opacity="0.45" />
<color_fill color="color3" alignment="1,1,1,1" offset="-269,-24,-257,-21" opacity="0.45" />
<!-- vertical_bottom_lines -->
<!-- right-->
<color_line color="color3" alignment="1,1,1,1" offset="-55,-39,-55,-9" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-192,-23,-192,-14" opacity="0.45" />
<!-- left -->
<color_line color="color3" alignment="0,1,0,1" offset="8,-101,8,-26" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="13,-46,13,-16" opacity="0.45" />
</imagestyle>
</window>
<window name="left_quadrant_window" alignment="0,0,0,1" offset="12,1112,20,20" transparent="true" >
<imagestyle name="background"> <raster source="grayscale.psd|left_quad" fillmode="tile" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<script name="OnIntro"> SetOffset({12,32,20,-110},0,1500,"linear_accel"); </script>
</window>
<window name="right_quadrant_window" transparent="true" hidden="true" alignment="1,0,1,1" offset="-95,-200,-87,0" >
<imagestyle name="background"> <raster source="grayscale.psd|right_quad" fillmode="tile" blendmode="ps_normal" opacity="0.45" /> </imagestyle>
<script name="OnIntro">
SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel");
MoveSomething();
</script>
<script name="MoveSomething">
if ( position == -1 ) {
SetOffset({-95,0,-87,400},0,1000,"linear_accel");
position = 1;
} else {
SetOffset({-95,-400,-87,0},0,1000,"linear_accel");
position = -1;
}
</script>
</window>
</window> //background_window
<window name="sonique_logo_window" type="button" hidden="true" alignment="0,0,0,0" offset="27,12,82,22" transparent="true" hitstyle="ACTIVE">
<property hover="true" />
<imagestyle name="background">
<raster
source ="grayscale.psd|sonique_logo"
blendmode ="ps_normal" opacity="1.0"
/>
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.viewcopywindow")); </script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick">
if (copyright_window.visible == 0) {
copyright_window.visible = 1;
copyright_window.Show();
SetHoverHint(:language.Translate("defaultskin/hint.hidecopywindow"));
} else {
copyright_window.visible = 0;
copyright_window.Hide();
SetHoverHint(:language.Translate("defaultskin/hint.viewcopywindow"));
}
</script>
</window>
<window name="main_vis_window" offset="0,0,0,0" hidden="true" alignment="1,1,1,1" transparent="true" hitstyle="ACTIVE">
<script name="ViewWindow">
:system.timer.UnsetTimer("hideVis",this);
vis_button_window.vis_button.SetButtonState(1);
vis_button_window.vis_button.SetHoverHint(:language.Translate("defaultskin/hint.hidevis"));
mini_icon_holder.vis_icon_button.SetButtonState(1);
mini_icon_holder.vis_icon_button.SetHoverHint(:language.Translate("defaultskin/hint.hidevis"));
vis_button_window.mini_vis_window_alt.Show();
vis_button_window.mini_vis_window_alt.Animate();
vis_button_window.mini_vis_window.Hide();
vis_controls_window.ViewWindow();
Show();
SetOffset({22,30,-103,-130},0,0,"linear_accel");
SetAlignment({1,0,2,1},0,0,"linear_accel");
SetAlignment({0,0,1,1},0,500,"linear_accel");
</script>
<script name="HideWindow">
vis_button_window.vis_button.SetButtonState(0);
vis_button_window.vis_button.SetHoverHint(:language.Translate("defaultskin/hint.viewvis"));
mini_icon_holder.vis_icon_button.SetButtonState(0);
mini_icon_holder.vis_icon_button.SetHoverHint(:language.Translate("defaultskin/hint.viewvis"));
vis_controls_window.HideWindow();
SetAlignment({1,0,2,1},0,500,"linear_accel");
:system.timer.SetTimer("hideVis",500,"SetAlignment({1,1,1,1}); SetOffset({0,0,0,0});",this);
// do this to let sonique not worry about getting vis data at this size.
//:system.timer.SetTimer("hideVis",1000,"Hide();",this);
vis_button_window.enable_mini_vis_button.SmartVis();
:sonique.CompactMem(); // todo ?
</script>
<script name="DetachWindow">
if(!IsOpen("vis_popup")){
// hide full window vis and mini vis - for now at least, try and have only one vis going at a time.
if (:sonique.InterfacePrefsGetString("main", "full_vis")) {
ToggleFullWindowVis();
}
if (currentwindows[currentwindows.ArraySize()-1] == "main_vis_window") {
main.MoveWindows("main_vis_window");
}
if (vis_button_window.enable_mini_vis_button.GetButtonState() == 1) {
vis_button_window.enable_mini_vis_button.OnClick();
}
:sonique.LaunchLocalWindow("vis_popup");
}
</script>
<script name="OnMouseOver">vis_info_container.SetOffset({0,0,250,100},0,500,"linear_decel");</script>
<script name="OnMouseExit">vis_info_container.SetOffset({-250,0,0,100},0,500,"linear_decel");</script>
<window name="vis_window" type="Sonique2_Visual" hitstyle="ACTIVE" >
<imagestyle name="background"><color_fill color="0xFF000000" alignment="0,0,1,1"/></imagestyle>
<property blendmode="RGB"/>
<script name="OnInit">:sonique.visuals.GroupEnablePostEffect("default","10B82A0E-1B28-4F4E-AF53-145248A73AB5",false);
:sonique.visuals.GroupEnablePostEffect("default","10B82A0E-1B28-4F4E-AF53-145248A73AB5",true);</script>
<script name="OnVisualChanged">vis_info_container.visual_info_window.UpdateBar();</script>
<script name="OnMouseOver">main_vis_window.vis_info_container.SetOffset({0,0,250,100},0,500,"linear_decel");</script>
<script name="OnMouseExit">main_vis_window.vis_info_container.SetOffset({-250,0,0,100},0,500,"linear_decel");</script>
</window>
<window name="vis_info_container" transparent="true" alignment="0,0,0,0" offset="-250,0,0,100">
<shape name="my_shape">
<shape_raster source="grayscale.psd|select_visual_button_background" />
</shape>
<window name="visual_info_shadow_window" transparent="true" alignment="0,0,0,0" offset="12,9,237,58" >
<imagestyle name="background">
<raster source="grayscale.psd|vis_info_shadow" blendmode="ps_normal" />
</imagestyle>
</window>
<window name="visual_prev_background" transparent="true" alignment="0,0,0,0" shape="my_shape" offset="140,39,149,48" >
<imagestyle name="background">
<color_fill color="color1" blendmode="ps_normal" opacity="0.25"/>
</imagestyle>
</window>
<window name="visual_next_background" transparent="true" alignment="0,0,0,0" shape="my_shape" offset="159,39,168,48" >
<imagestyle name="background">
<color_fill color="color1" blendmode="ps_normal" opacity="0.25"/>
</imagestyle>
</window>
<window name="visual_info_window" type="textdisplay" transparent="true" alignment="0,0,0,0" shape="my_shape" offset="12,9,231,50" >
<property
font_color ="color3"
font_style ="my_font_10"
font_justification ="left|v_center|trim_chars|single_line_only"
whitespace ="20"
scroll_mode ="horizontal"
scroll_speed ="25"
edge_offset_rect ="5,5,-5,-25"
/>
<shape name="my_shape">
<shape_raster source="grayscale.psd|vis_info_background" />
</shape>
<imagestyle name="background"><color_fill color="color1" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme1"><color_fill color="0xFF99EE00" blendmode="ps_normal" opacity="0.45"/></imagestyle>
<imagestyle name="theme2"><color_fill color="0xFFFF9900" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme3"><color_fill color="0xFF28497F" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme4"><color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme5"><color_fill color="0xFF888888" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme6"><color_fill color="0xFF303030" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme7"><color_fill color="0xFF606060" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme8"><color_fill color="0xFF00B200" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme9"><color_fill color="0xFF303030" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme10"><color_fill color="theme10_color1" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<script name="OnInit"> UpdateBar(); </script>
<script name="UpdateBar" >
$cur=vis_window.GetVisual();
if( $cur ) { SetText( :sonique.visuals.GetVisualInfo( $cur )["name"] ); }
</script>
</window>
<window name="select_prev_visual_button_window" type="button" transparent="true" hitstyle="ACTIVE" offset="138,36,150,51" alignment="0,0,0,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|select_prev_visual_button" source_offset="4,4,-4,-4" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|select_prev_visual_button" source_offset="4,4,-4,-4" blendmode="ps_normal"/>
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("viswindow/hint.prevvis")); </script>
<script name="OnClick"> :sonique.visuals.GroupPrevVisual("default"); </script>
</window>
<window name="select_next_visual_button_window" type="button" transparent="true" hitstyle="ACTIVE" offset="158,36,170,51" alignment="0,0,0,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|select_next_visual_button" source_offset="4,4,-4,-4" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|select_next_visual_button" source_offset="4,4,-4,-4" blendmode="ps_normal"/>
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("viswindow/hint.nextvis")); </script>
<script name="OnClick"> :sonique.visuals.GroupNextVisual("default");</script>
</window>
</window> //vis_info_container
</window> //main_vis_window
<window name="vis_controls_window" transparent="true">
<script name="ViewWindow">
detach_window_icon_window.SetOffset({-84,33,-73,43},0,1000,"linear_accel");
full_window_icon_window.SetOffset({-82,50,-74,57},0,1000,"linear_accel");
full_screen_icon_window.SetOffset({-82,64,-74,71},0,1000,"linear_accel");
</script>
<script name="HideWindow">
detach_window_icon_window.SetOffset({-84,-33,-73,-43},0,1000,"linear_accel");
full_window_icon_window.SetOffset({-82,-50,-74,-57},0,1000,"linear_accel");
full_screen_icon_window.SetOffset({-82,-64,-74,-71},0,1000,"linear_accel");
</script>
<window name="detach_window_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-84,-33,-73,-43" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|detach_window_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.detachwindow")); </script>
<script name="OnClick"> main_vis_window.DetachWindow(); </script>
</window>
<window name="full_window_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-82,-53,-74,-60" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.fullviswindow")); </script>
<script name="OnClick"> main.ToggleFullWindowVis();</script>
</window>
<window name="full_screen_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-82,-67,-74,-74" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|full_screen_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|full_screen_visual_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|full_screen_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|full_screen_visual_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("viswindow/hint.fullscreen"));</script>
<script name="OnClick">
main.LaunchFullScreenVis();
</script>
</window>
</window>
<window name="main_console_window" offset="22,30,-92,-130" alignment="1,0,2,1" transparent="true" >
<imagestyle name="background" transparent="true" />
<script name="ViewWindow">
advanced_icons_window.console_button_window.SetHoverHint(:language.Translate("defaultskin/hint.hideconsole"));
console_controls_window.ViewWindow();
SetAlignment({0,0,1,1},0,500,"linear_accel");
</script>
<script name="HideWindow">
advanced_icons_window.console_button_window.SetHoverHint(:language.Translate("defaultskin/hint.viewconsole"));
console_controls_window.HideWindow();
SetAlignment({1,0,2,1},0,500,"linear_accel");
</script>
<script name="DetachWindow">
if(!IsOpen("console_popup")){
if (currentwindows[currentwindows.ArraySize()-1] == "main_console_window") {
MoveWindows("main_console_window");
}
:sonique.LaunchLocalWindow("console_popup");
}
</script>
<window name="console_window" type="console" transparent="true" alignment="0,0,1,1" offset="0,0,0,0">
<imagestyle name="background"> <color_fill color="0x00000000"/> </imagestyle>
</window>
</window>
<window name="console_controls_window" transparent="true">
<script name="ViewWindow">
detach_window_icon_window.SetOffset({-84,33,-73,43},0,1000,"linear_accel");
full_window_icon_window.SetOffset({-82,50,-74,57},0,1000,"linear_accel");
</script>
<script name="HideWindow">
detach_window_icon_window.SetOffset({-84,-33,-73,-43},0,1000,"linear_accel");
full_window_icon_window.SetOffset({-82,-50,-74,-57},0,1000,"linear_accel");
</script>
<window name="detach_window_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-82,-53,-74,-60" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|detach_window_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.detachwindow")); </script>
<script name="OnClick"> main_console_window.DetachWindow(); </script>
</window>
<window name="full_window_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-84,-33,-73,-43" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.fullviswindow")); </script>
<script name="OnClick"> main.ToggleFullWindowVis();</script>
</window>
</window>
<window name="main_interfaces_window" alignment="1,0,2,1" transparent="true" offset="22,30,-92,-130" >
<script name="ViewWindow">
interfaces_button_window.SetButtonState(1);
interfaces_button_window.SetHoverHint(:language.Translate("defaultskin/hint.hideinterfaces"));
mini_icon_holder.interfaces_icon_button.SetButtonState(1);
mini_icon_holder.interfaces_icon_button.SetHoverHint(:language.Translate("defaultskin/hint.hideinterfaces"));
interfaces_controls_window.ViewWindow();
SetAlignment({0,0,1,1},0,500,"linear_accel");
</script>
<script name="HideWindow">
interfaces_button_window.SetButtonState(0);
interfaces_button_window.SetHoverHint(:language.Translate("defaultskin/hint.viewinterfaces"));
mini_icon_holder.interfaces_icon_button.SetButtonState(0);
mini_icon_holder.interfaces_icon_button.SetHoverHint(:language.Translate("defaultskin/hint.viewinterfaces"));
interfaces_controls_window.HideWindow();
SetAlignment({1,0,2,1},0,500,"linear_accel");
</script>
<script name="DetachWindow">
if(!IsOpen("SQ2_InterfaceBrowserPopup")){
if (currentwindows[currentwindows.ArraySize()-1] == "main_interfaces_window") {
MoveWindows("main_interfaces_window");
}
:sonique.LaunchInterfaceBrowserPopup();
}
</script>
<window name="interfaces_window" type="Sonique2_Interfaces" transparent="true" hitstyle="NONE" />
</window>
<window name="interfaces_controls_window" transparent="true" >
<script name="ViewWindow">
detach_window_icon_window.SetOffset({-84,33,-73,43},0,1000,"linear_accel");
full_window_icon_window.SetOffset({-82,50,-74,57},0,1000,"linear_accel");
</script>
<script name="HideWindow">
detach_window_icon_window.SetOffset({-84,-33,-73,-43},0,1000,"linear_accel");
full_window_icon_window.SetOffset({-82,-50,-74,-57},0,1000,"linear_accel");
</script>
<window name="detach_window_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-82,-53,-74,-60" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|detach_window_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.detachwindow")); </script>
<script name="OnClick"> main_interfaces_window.DetachWindow(); </script>
</window>
<window name="full_window_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-84,-33,-73,-43" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.fullviswindow")); </script>
<script name="OnClick"> main.ToggleFullWindowVis();</script>
</window>
</window>
<window name="main_settings_window" offset="22,30,-92,-130" alignment="1,0,2,1" transparent="true" >
<imagestyle name="background" transparent="true" />
<script name="ViewWindow">
settings_window.StartIntro();
settings_button_window.SetButtonState(1);
settings_button_window.SetHoverHint(:language.Translate("defaultskin/hint.hidesettings"));
mini_icon_holder.settings_icon_button.SetButtonState(1);
mini_icon_holder.settings_icon_button.SetHoverHint(:language.Translate("defaultskin/hint.hidesettings"));
settings_controls_window.ViewWindow();
SetAlignment({0,0,1,1},0,500,"linear_accel");
</script>
<script name="HideWindow">
settings_window.StartExtro();
settings_button_window.SetButtonState(0);
settings_button_window.SetHoverHint(:language.Translate("defaultskin/hint.viewsettings"));
mini_icon_holder.settings_icon_button.SetButtonState(0);
mini_icon_holder.settings_icon_button.SetHoverHint(:language.Translate("defaultskin/hint.viewsettings"));
settings_controls_window.HideWindow();
SetAlignment({1,0,2,1},0,500,"linear_accel");
</script>
<script name="DetachWindow">
if(!IsOpen("settings_popup")){
if (currentwindows[currentwindows.ArraySize()-1] == "main_settings_window") {
MoveWindows("main_settings_window");
}
:sonique.LaunchLocalWindow("settings_popup");
}
</script>
<window name="app_settings_tab_window" shape="MyShape" type="button" transparent="true" alignment="0,0,0,0" offset="26,2,171,21" hitstyle="ACTIVE">
<property hover="true" default_delay = "150" font_color= "color3" font_style = "my_font_10" />
<shape name="MyShape"><shape_roundrect corner_size="4,4" /> </shape>
<imagestyle name="state0"><color_rect filled="true" cornerradius="4.0" color="color2" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="state1"><color_rect filled="true" cornerradius="4.0" color="color2" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme1_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme1_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme2_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme2_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme3_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme3_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme4_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme4_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme5_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme5_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme6_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme6_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme7_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme7_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme8_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme8_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme9_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme9_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme10_state0"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme10_state1"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<script name="OnInit">
SetButtonState(1);
SetText("Sonique");
SetHoverHint(:language.Translate("defaultskin/hint.appsettings"));
</script>
<script name="OnClick">
SetButtonState(1);
skin_settings_tab_window.SetButtonState(0);
tabs_foreground_window.SetImageStyle("background", "left_tab_selected");
skin_settings_window.Hide();
settings_window.Show();
</script>
</window>
<window name="skin_settings_tab_window" shape="MyShape" type="button" transparent="true" alignment="0,0,0,0"
offset="180,2,325,21" hitstyle="ACTIVE">
<property hover="true" default_delay = "150" font_color= "color3" font_style = "my_font_10" />
<shape name="MyShape"><shape_roundrect corner_size="4,4" /></shape>
<imagestyle name="state0"><color_rect filled="true" cornerradius="4.0" color="color2" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="state1"><color_rect filled="true" cornerradius="4.0" color="color2" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme1_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme1_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme2_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme2_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme3_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme3_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme4_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme4_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme5_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme5_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme6_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme6_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme7_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme7_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme8_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme8_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme9_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme9_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme10_state0"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme10_state1"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<script name="OnInit">
SetText(:language.Translate("defaultskin/label.skinsettings"));
SetHoverHint(:language.Translate("defaultskin/hint.skinsettings"));
</script>
<script name="OnClick">
SetButtonState(1);
app_settings_tab_window.SetButtonState(0);
tabs_foreground_window.SetImageStyle("background", "right_tab_selected");
settings_window.Hide();
skin_settings_window.Show();
</script>
</window>
<window name="tabs_foreground_window" alignment="0,0,1,0" offset="0,0,0,34" transparent="true">
<imagestyle name="background" transparent="true" >
<raster source="grayscale.psd|tabs_front_left" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<imagestyle name="right_tab_selected" transparent="true" >
<raster source="grayscale.psd|tabs_front_right" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<imagestyle name="left_tab_selected" transparent="true" >
<raster source="grayscale.psd|tabs_front_left" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
</window>
<window name="settings_window" type="Sonique2_Settings" transparent="true" alignment="0,0,1,1" offset="0,33,0,0">
<imagestyle name="background" transparent="true" ><color_rect color="color3"/></imagestyle>
</window>
<window name="skin_settings_window" type="textdisplay" hidden="true" transparent="true" alignment="0,0,1,1" offset="0,33,0,0">
<imagestyle name="background" transparent="true" ><color_rect color="color3"/></imagestyle>
<script name="SelectTheme">
if (theme == "1") {
theme_highlight.SetOffset({17,27,42,98},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Mamboreta");
}
if (theme == "2") {
theme_highlight.SetOffset({57,27,82,98},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Earth");
}
if (theme == "3") {
theme_highlight.SetOffset({97,27,122,98},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Sea");
}
if (theme == "4") {
theme_highlight.SetOffset({137,27,162,98},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Metropolitan");
}
if (theme == "5") {
theme_highlight.SetOffset({177,27,202,98},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Absence");
}
if (theme == "6") {
theme_highlight.SetOffset({17,107,42,178},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Lagoon");
}
if (theme == "7") {
theme_highlight.SetOffset({57,107,82,178},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "red");
}
if (theme == "8") {
theme_highlight.SetOffset({97,107,122,178},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Grass");
}
if (theme == "9") {
theme_highlight.SetOffset({137,107,162,178},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Metal");
}
if (theme == "10") {
theme_highlight.SetOffset({177,107,202,178},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Desert");
}
:sonique.prefs.SetString("misc", "theme", theme);
main.SetTheme();
</script>
<window name="themes_label_window" type="textdisplay" alignment="0,0,1,0" offset="5,5,-5,20" transparent="true">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center" />
<script name="OnInit"> SetText(:language.Translate("defaultskin/label.choosetheme")); </script>
</window>
<window name="theme_1_button" type="button" alignment="0,0,0,0" offset="20,30,40,95" hitstyle="ACTIVE">
<imagestyle name="background" >
<color_fill color="0xFF303030" />
<color_fill color="0xFF99EE00" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Mamboreta");</script>
<script name="OnClick">theme=1; SelectTheme();</script>
</window>
<window name="theme_2_button" type="button" alignment="0,0,0,0" offset="60,30,80,95" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFFFF9900" />
<color_fill color="0xFFB83F3F" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Earth");</script>
<script name="OnClick">theme=2; SelectTheme();</script>
</window>
<window name="theme_3_button" type="button" alignment="0,0,0,0" offset="100,30,120,95" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFF28497F"/>
<color_fill color="0xFFCBFF66" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Sea");</script>
<script name="OnClick">theme=3; SelectTheme();</script>
</window>
<window name="theme_4_button" type="button" alignment="0,0,0,0" offset="140,30,160,95" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFF000000"/>
<color_fill color="0xFFFF0000" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Metropolitan");</script>
<script name="OnClick">theme=4; SelectTheme();</script>
</window>
<window name="theme_5_button" type="button" alignment="0,0,0,0" offset="180,30,200,95" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFF888888"/>
<color_fill color="0xFFBBBBBB" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Absence");</script>
<script name="OnClick">theme=5; SelectTheme();</script>
</window>
<window name="theme_6_button" type="button" alignment="0,0,0,0" offset="20,110,40,175" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFF303030"/>
<color_fill color="0xFF00CCFF" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Lagoon");</script>
<script name="OnClick">theme=6; SelectTheme();</script>
</window>
<window name="theme_7_button" type="button" alignment="0,0,0,0" offset="60,110,80,175" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFF606060"/>
<color_fill color="0xFFFF0000" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("red");</script>
<script name="OnClick">theme=7; SelectTheme();</script>
</window>
<window name="theme_8_button" type="button" alignment="0,0,0,0" offset="100,110,120,175" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFF143B14"/>
<color_fill color="0xFF00B200" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Grass");</script>
<script name="OnClick">theme=8; SelectTheme();</script>
</window>
<window name="theme_9_button" type="button" alignment="0,0,0,0" offset="140,110,160,175" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFF303030"/>
<color_fill color="0xFF588FBA" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Metal");</script>
<script name="OnClick">theme=9; SelectTheme();</script>
</window>
<window name="theme_10_button" type="button" alignment="0,0,0,0" offset="180,110,200,175" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="theme10_color1"/>
<color_fill color="theme10_color2" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Desert");</script>
<script name="OnClick">theme=10; SelectTheme();</script>
</window>
<window name="theme_highlight" alignment="0,0,0,0" offset="17,27,42,98" hitstyle="none" transparent="true">
<imagestyle name="background" transparent="true" >
<color_rect color="color3" cornerradius="3.0" />
</imagestyle>
</window>
<window name="current_label_window" type="textdisplay" alignment="0,0,1,0" offset="5,190,-5,200" transparent="true">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center" />
</window>
<window name="song_popup_button" type="button" alignment="0,0,0,0" offset="20,200,40,220" transparent="true" hitstyle="ACTIVE">
<property hover="true" />
<imagestyle name="state0">
<include source="MML_Mood_DlgCheckBoxState0" />
</imagestyle>
<imagestyle name="state1">
<include source="MML_Mood_DlgCheckBoxState1" />
</imagestyle>
<script name="OnInit">
SetToggle(true);
if(:sonique.InterfacePrefsGetString("song_popup", "enabled")){
SetButtonState(1);
}
</script>
<script name="OnClick">
if(GetButtonState()){
:sonique.InterfacePrefsSetString("song_popup", "enabled", 1);
}
else{
:sonique.InterfacePrefsSetString("song_popup", "enabled", 0);
}
</script>
</window>
<window name="song_popup_label_window" type="textdisplay" alignment="0,0,0,0" offset="50,200,160,220" transparent="true">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center" />
<script name="OnInit"> SetText("Song Tooltips"); </script>
</window>
<window name="song_popup_fillbar_label_window" type="textdisplay" alignment="0,0,0,0" offset="40,224,80,234" transparent="true">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center" />
<script name="OnInit"> SetText("Offset"); </script>
</window>
<window name="song_popup_fillbar" type="fillbar" transparent="true" hitstyle="ACTIVE" offset="90,224,200,234" alignment="0,0,0,0" >
<property orientation="left_to_right"/>
<imagestyle name="barempty"> <color_fill color="0xFF8080FF" alignment="entire"/> </imagestyle>
<imagestyle name="barfilled"> <color_fill color="0xFF0000FF" alignment="entire"/> </imagestyle>
<script name="OnInit">
SetHoverHint("song popup offset");
SetMin(0);
SetMax(400);
UpdateDisplay();
</script>
<script name="OnPosChange">
$offset=GetIntPos();
:sonique.Status("song popup offset " | $offset);
song_popup_fillbar_number_label_window.SetText($offset);
</script>
<script name="OnPosFinalized">
:sonique.InterfacePrefsSetString("song_popup", "offset", GetIntPos());
$bFound=0;
foreach ($window in :app.interfaces["teamsonique/default_interface/Sonique2Default"].windows ) {
if ($window.Name() =="main") {
$window.main_settings_window.skin_settings_window.song_popup_fillbar.UpdateDisplay();
}
if ($window.Name() == "song_popup") {
$bFound=1;
$window.Update();
}
}
if($bFound == 0 and :sonique.InterfacePrefsGetString("song_popup", "enabled")){
:sonique.LaunchLocalWindow("song_popup");
}
</script>
<script name="UpdateDisplay">
$offset=:sonique.InterfacePrefsGetString("song_popup", "offset");
SetIntPos($offset);
song_popup_fillbar_number_label_window.SetText($offset);
</script>
</window>
<window name="song_popup_fillbar_number_label_window" type="textdisplay" alignment="0,0,0,0" offset="210,224,260,234" transparent="true">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center" />
</window>
</window>
</window> // main settings window
<window name="settings_controls_window" transparent="true">
<script name="ViewWindow">
detach_window_icon_window.SetOffset({-84,33,-73,43},0,1000,"linear_accel");
full_window_icon_window.SetOffset({-82,50,-74,57},0,1000,"linear_accel");
</script>
<script name="HideWindow">
detach_window_icon_window.SetOffset({-84,-33,-73,-43},0,1000,"linear_accel");
full_window_icon_window.SetOffset({-82,-50,-74,-57},0,1000,"linear_accel");
</script>
<window name="detach_window_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-82,-53,-74,-60" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|detach_window_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.detachwindow")); </script>
<script name="OnClick"> main_settings_window.DetachWindow(); </script>
</window>
<window name="full_window_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-84,-33,-73,-43" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.fullviswindow")); </script>
<script name="OnClick"> main.ToggleFullWindowVis();</script>
</window>
</window>
<window name="main_playlist_window" alignment="1,0,2,1" offset="22,30,-92,-130" transparent="true">
<script name="ViewWindow">
playlist_button_window.SetButtonState(1);
playlist_button_window.SetHoverHint(:language.Translate("defaultskin/hint.hideplaylist"));
playlist_controls_window.ViewWindow();
SetAlignment({0,0,1,1},0,500,"linear_accel");
</script>
<script name="HideWindow">
playlist_button_window.SetButtonState(0);
playlist_button_window.SetHoverHint(:language.Translate("defaultskin/hint.viewplaylist"));
playlist_controls_window.HideWindow();
SetAlignment({1,0,2,1},0,500,"linear_accel");
</script>
<script name="DetachWindow">
if(!IsOpen("playlist_popup")){
if (currentwindows[currentwindows.ArraySize()-1] == "main_playlist_window") {
MoveWindows("main_playlist_window");
}
:sonique.LaunchLocalWindow("playlist_popup");
}
</script>
<window name="playlist_window" type="Sonique2_Playlist" transparent="true" hitstyle="ACTIVE" offset="0,0,0,-28" alignment="0,0,1,1">
<imagestyle name="background"><color_fill color="color2" opacity="0.5"/></imagestyle>
<imagestyle name="theme1"><color_fill color = "0xFF99EE00" opacity="0.5"/></imagestyle>
<imagestyle name="theme2"><color_fill color = "0xFFB83F3F" opacity="0.5"/></imagestyle>
<imagestyle name="theme3"><color_fill color = "0xFFCBFF66" opacity="0.5"/></imagestyle>
<imagestyle name="theme4"><color_fill color = "0xFFFF0000" opacity="0.5"/></imagestyle>
<imagestyle name="theme5"><color_fill color = "0xFFBBBBBB" opacity="0.5"/></imagestyle>
<imagestyle name="theme6"><color_fill color = "0xFF00CCFF" opacity="0.5"/></imagestyle>
<imagestyle name="theme7"><color_fill color = "0xFFFF0000" opacity="0.5"/></imagestyle>
<imagestyle name="theme8"><color_fill color = "0xFF00B200" opacity="0.5"/></imagestyle>
<imagestyle name="theme9"><color_fill color = "0xFF588FBA" opacity="0.5"/></imagestyle>
<imagestyle name="theme10"><color_fill color = "theme10_color2" opacity="0.5"/></imagestyle>
<script name="OnTrackDoubleClick">
if (:sonique.players.default.GetAssociatedPlaylist().Name()!="default") {
:sonique.players.default.SetAssociatedPlaylist( "default" );
:system.timer.SetTimer("tmp_timer", 50, ":sonique.players.default.SeekTo("|$params[0]|"); :sonique.players.default.Play();", this, false );
}
</script>
</window>
<window name="RandomizeButton" type="button" transparent="true" hitstyle="ACTIVE" offset="5,-23,15,-10" alignment="0,1,0,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|randomize_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|randomize_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|randomize_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|randomize_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">
SetHoverHint(:language.Translate("playlistwindow/hint.randomize"));
</script>
<script name="OnClick">:sonique.playlists.default.RandomizeList();</script>
<property hover="true" />
</window>
<window name="SortButton" type="button" transparent="true" hitstyle="ACTIVE" offset="20,-23,30,-10" alignment="0,1,0,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|sort_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|sort_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|sort_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|sort_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("playlistwindow/hint.sort")); </script>
<script name="OnClick">
:sonique.prefs.CreateSection("sonique/gui/slate/defaultsort");
$origFieldArray = :sonique.prefs.GetStringArray("sonique/gui/slate/defaultsort","Fields");
$origDirectionArray = :sonique.prefs.GetStringArray("sonique/gui/slate/defaultsort","Directions");
$ick = 0;
if ($origFieldArray.IsArray()) {
$ick = $origFieldArray.ArraySize();
if ($origDirectionArray.IsArray()) {
if ($ick != $origDirectionArray.ArraySize()) {
$origDirectionArray = 0;
}
}
}
else {
$origFieldArray = {"artist","album","track","filename"};
$ick = $origFieldArray.ArraySize();
$origDirectionArray = 0;
}
// for simplicity, assume a max of 6 fields. this logic is ugly.
if ($ick > 5) {
if ($origDirectionArray.IsArray()) {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0],$origDirectionArray[0]},{$origFieldArray[1],$origDirectionArray[1]},{$origFieldArray[2],$origDirectionArray[2]},{$origFieldArray[3],$origDirectionArray[3]},{$origFieldArray[4],$origDirectionArray[4]},{$origFieldArray[5],$origDirectionArray[5]});
}
else {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0]},{$origFieldArray[1]},{$origFieldArray[2]},{$origFieldArray[3]},{$origFieldArray[4]},{$origFieldArray[5]});
}
}
else if ($ick > 4) {
if ($origDirectionArray.IsArray()) {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0],$origDirectionArray[0]},{$origFieldArray[1],$origDirectionArray[1]},{$origFieldArray[2],$origDirectionArray[2]},{$origFieldArray[3],$origDirectionArray[3]},{$origFieldArray[4],$origDirectionArray[4]});
}
else {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0]},{$origFieldArray[1]},{$origFieldArray[2]},{$origFieldArray[3]},{$origFieldArray[4]});
}
}
else if ($ick > 3) {
if ($origDirectionArray.IsArray()) {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0],$origDirectionArray[0]},{$origFieldArray[1],$origDirectionArray[1]},{$origFieldArray[2],$origDirectionArray[2]},{$origFieldArray[3],$origDirectionArray[3]});
}
else {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0]},{$origFieldArray[1]},{$origFieldArray[2]},{$origFieldArray[3]});
}
}
else if ($ick > 2) {
if ($origDirectionArray.IsArray()) {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0],$origDirectionArray[0]},{$origFieldArray[1],$origDirectionArray[1]},{$origFieldArray[2],$origDirectionArray[2]});
}
else {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0]},{$origFieldArray[1]},{$origFieldArray[2]});
}
}
else if ($ick > 1) {
if ($origDirectionArray.IsArray()) {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0],$origDirectionArray[0]},{$origFieldArray[1],$origDirectionArray[1]});
}
else {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0]},{$origFieldArray[1]});
}
}
else if ($ick > 0) {
if ($origDirectionArray.IsArray()) {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0],$origDirectionArray[0]});
}
else {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0]});
}
}
else {
// this should never happen
:sonique.playlists.default.AdvancedSort({"artist"},{"album"},{"track"},{"filename"});
}
</script>
</window>
<window name="ReverseButton" type="button" transparent="true" hitstyle="ACTIVE" offset="35,-23,45,-10" alignment="0,1,0,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|reverse_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|reverse_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|reverse_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|reverse_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("playlistwindow/hint.reverse")); </script>
<script name="OnClick"> :sonique.playlists.default.Reverse(); </script>
</window>
<window name="StopStartScanButton" type="button" transparent="true" hitstyle="ACTIVE"
offset="50,-23,60,-10" alignment="0,1,0,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|scan_icon" num_frames="4" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|scan_icon" num_frames="4" blendmode="ps_normal"/>
</imagestyle>
<script name="OnInit">
:sonique.playlists.default.RegisterCallback("ScanningStarted","OnScanStarted()",this);
:sonique.playlists.default.RegisterCallback("ScanningFinished","OnScanFinished()",this);
if(:sonique.playlists.default.IdleScanningIsActive()){
OnScanStarted();
}
scanning=0;
SetHoverHint(:language.Translate("playlistwindow/hint.startscan"));
if(:sonique.playlists.default.CurrentlyIdleScanning()){
SetHoverHint(:language.Translate("playlistwindow/hint.stopscan"));
scanning=1;
}
</script>
<script name="OnDestroy">
:system.timer.UnsetTimer("animation_timer", this);
:sonique.playlists.default.UnregisterCallback("ScanningStarted",this);
:sonique.playlists.default.UnregisterCallback("ScanningFinished",this);
</script>
<script name="OnScanStarted">
:system.timer.SetTimer("animation_timer", 10000, "Animate();", this, true);
Animate();
</script>
<script name="OnScanFinished">
:system.timer.UnsetTimer("animation_timer", this);
SetAnimTime(0,0,0,"linear_smooth", true);
</script>
<script name="Animate">
SetAnimTime(0,0,0,"linear_smooth", true);
SetAnimTime(10, 0, 10000,"linear_smooth", true);
</script>
<script name="OnClick">
if( scanning ) {
scanning=0;
:sonique.playlists.default.StopIdleScan();
SetHoverHint(:language.Translate("playlistwindow/hint.startscan"));
} else {
scanning=1;
:sonique.playlists.default.StartIdleScan();
SetHoverHint(:language.Translate("playlistwindow/hint.stopscan"));
}
</script>
</window>
<window name="playlist_progressbar_window" type="Sonique2_Progress" transparent="true" hitstyle="ACTIVE"
offset="23,-7,-23,-4" alignment="0,1,1,1" >
<property orientation="left_to_right" hover="true" hovertext="true" type="PlaylistProgress" />
<imagestyle name="barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "color3" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "color3" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "color3" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "color3" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme1_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme2_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme3_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme4_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme5_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme6_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme7_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme8_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme9_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme10_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "theme10_color3" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "theme10_color3" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme1_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme2_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme3_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme4_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme5_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme6_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme7_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme8_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme9_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme10_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "theme10_color3" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "theme10_color3" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<!-- <script name="OnInit">SetHoverHint(:language.Translate("playlistwindow/hint.playlistprogress")); </script> -->
</window>
</window> // main playlist window
<window name="playlist_controls_window" transparent="true" >
<script name="ViewWindow">
detach_window_icon_window.SetOffset({-84,33,-73,43},0,1000,"linear_accel");
full_window_icon_window.SetOffset({-82,50,-74,57},0,1000,"linear_accel");
</script>
<script name="HideWindow">
detach_window_icon_window.SetOffset({-84,-33,-73,-43},0,1000,"linear_accel");
full_window_icon_window.SetOffset({-82,-50,-74,-57},0,1000,"linear_accel");
</script>
<window name="detach_window_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-82,-53,-74,-60" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|detach_window_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.detachwindow")); </script>
<script name="OnClick"> main_playlist_window.DetachWindow(); </script>
</window>
<window name="full_window_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-84,-33,-73,-43" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.fullviswindow")); </script>
<script name="OnClick"> main.ToggleFullWindowVis();</script>
</window>
</window>
<window name="main_online_window" alignment="1,0,2,1" transparent="true" offset="22,30,-92,-130" >
<script name="ViewWindow">
online_button_window.SetButtonState(1);
online_button_window.SetHoverHint(:language.Translate("defaultskin/hint.hideonline"));
online_controls_window.ViewWindow();
SetAlignment({0,0,1,1},0,500,"linear_accel");
</script>
<script name="HideWindow">
online_button_window.SetButtonState(0);
online_button_window.SetHoverHint(:language.Translate("defaultskin/hint.viewonline"));
online_controls_window.HideWindow();
SetAlignment({1,0,2,1},0,500,"linear_accel");
</script>
<script name="DetachWindow">
if(!IsOpen("online_popup")){
if (currentwindows[currentwindows.ArraySize()-1] == "main_online_window") {
MoveWindows("main_online_window");
}
:sonique.LaunchLocalWindow("online_popup");
}
</script>
<window name="online_window" type="Sonique2_Online" transparent="true" hitstyle="NONE" />
</window>
<window name="online_controls_window" transparent="true" >
<script name="ViewWindow">
detach_window_icon_window.SetOffset({-84,33,-73,43},0,1000,"linear_accel");
full_window_icon_window.SetOffset({-82,50,-74,57},0,1000,"linear_accel");
refresh_window_icon_window.SetOffset({-83,67,-74,78},0,1000,"linear_accel");
</script>
<script name="HideWindow">
detach_window_icon_window.SetOffset({-84,-33,-73,-43},0,1000,"linear_accel");
full_window_icon_window.SetOffset({-82,-50,-74,-57},0,1000,"linear_accel");
refresh_window_icon_window.SetOffset({-83,-67,-74,-78},0,1000,"linear_accel");
</script>
<window name="detach_window_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-82,-53,-74,-60" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|detach_window_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.detachwindow")); </script>
<script name="OnClick"> main_online_window.DetachWindow(); </script>
</window>
<window name="full_window_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-84,-33,-73,-43" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.fullviswindow")); </script>
<script name="OnClick"> main.ToggleFullWindowVis();</script>
</window>
<window name="refresh_window_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-83,-67,-74,-78" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|online_refresh_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|online_refresh_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|online_refresh_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|online_refresh_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("onlinewindow/hint.refresh"));</script>
<script name="OnClick"> main_online_window.online_window.ReloadContent(); </script>
</window>
</window>
<window name="main_eq_window" alignment="1,0,2,1" transparent="true" offset="22,30,-92,-130" hitstyle="ACTIVE" >
<script name="ViewWindow">
eq_button_window.mini_eq_button.SetButtonState(1);
eq_button_window.mini_eq_button.SetHoverHint(:language.Translate("defaultskin/hint.hideeq"));
mini_icon_holder.eq_icon_button.SetButtonState(1);
mini_icon_holder.eq_icon_button.SetHoverHint(:language.Translate("defaultskin/hint.hideeq"));
eq_controls_window.ViewWindow();
SetAlignment({0,0,1,1},0,500,"linear_accel");
</script>
<script name="HideWindow">
eq_button_window.mini_eq_button.SetButtonState(0);
eq_button_window.mini_eq_button.SetHoverHint(:language.Translate("defaultskin/hint.vieweq"));
mini_icon_holder.eq_icon_button.SetButtonState(0);
mini_icon_holder.eq_icon_button.SetHoverHint(:language.Translate("defaultskin/hint.vieweq"));
eq_controls_window.HideWindow();
SetAlignment({1,0,2,1},0,500,"linear_accel");
</script>
<script name="DetachWindow">
if(!IsOpen("eq_popup")){
if (currentwindows[currentwindows.ArraySize()-1] == "main_eq_window") {
MoveWindows("main_eq_window");
}
:sonique.LaunchLocalWindow("eq_popup");
}
</script>
<window name="eq_window" type="Sonique2_Equalizer" transparent="true" hitstyle="ACTIVE" offset="0,0,-12,-50" alignment="0,0,1,1">
<property freq_string_rows = "0"
freq_line_color = "color3_50" freq_line_blendmode="RGB|COPY|ALPHA_SRCALPHA"
center_line_color = "color3_50" center_line_blendmode="RGB|COPY|ALPHA_SRCALPHA"
curve_line_color = "color3" curve_line_blendmode="RGB|COPY|ALPHA_SRCALPHA"
border_line_color = "color3_50" border_line_blendmode="RGB|COPY|ALPHA_SRCALPHA"
/>
<imagestyle name="background" transparent="true" />
<script name="GetNumBands">:sonique.players.default.equalizer.GetNumBands();</script>
<script name="SetNumBands">:sonique.players.default.equalizer.SetNumBands($params[0]);</script>
<script name="GetBandGain">:sonique.players.default.equalizer.GetBandGain($params[0]);</script>
<script name="SetBandGain">:sonique.players.default.equalizer.SetBandGain($params[0], $params[1]);</script>
<script name="OnInit">
loadingPreset = 0;
:sonique.players.default.equalizer.RegisterChangeCallback("", "myOnChange()", this);
</script>
<script name="OnDestroy">:sonique.players.default.equalizer.UnregisterChangeCallback("", this);</script>
<script name="myOnChange">
UpdateBands();
UpdateDisplay();
:sonique.players.default.SendFilterMessage("equalizerReloadSettings");
$cur=eq_presets_window.preset_picker.GetCurrentItem()["text"]|" ";
$string=:string.SubString($cur, 0, 4);
if($string != "User"){
eq_presets_window.preset_picker.SetCurrentIndex(0);
}
</script>
</window>
<window name="eq_presets_window" transparent="true" offset="0,-48,-2,-2" alignment="0,1,0.5,1" >
<imagestyle name="background">
<color_fill color = "color2" opacity="0.25"/>
<color_rect color = "color3" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme1">
<color_fill color = "0xFF99EE00" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme2">
<color_fill color = "0xFFB83F3F" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme3">
<color_fill color = "0xFFCBFF66" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme4">
<color_fill color = "0xFFFF0000" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme5">
<color_fill color = "0xFFBBBBBB" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme6">
<color_fill color = "0xFF00CCFF" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme7">
<color_fill color = "0xFFFF0000" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme8">
<color_fill color = "0xFF00B200" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme9">
<color_fill color = "0xFF588FBA" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme10">
<color_fill color = "theme10_color2" opacity="0.25"/>
<color_rect color = "theme10_color3" opacity="0.25"/>
</imagestyle>
<window name="presets_label_window" type="textdisplay" alignment="0,0,1,0" offset="2,10,-5,20" transparent="true">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center" />
<script name="OnInit"> SetText( :language.Translate("eqwindow/label.presets")); </script>
</window>
<window name="preset_picker" type="picker" hitstyle="ACTIVE" alignment="0,0,1,0" offset="5,25,-5,40" transparent="true" >
<property hover="true" fade_duration="0"
font_style="my_font_8" font_justification="h_center|top" textshadow="false"
font_color1="color3" font_color2="color3" font_color3="color3"
text_offset_rect="0,-3,0,0" />
<imagestyle name="img_picker_background" transparent="true">
<color_fill color="color1" />
<color_rect color="color3" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme1_img_picker_background" transparent="true">
<color_fill color="0xFF303030" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme2_img_picker_background" transparent="true">
<color_fill color="0xFFFF9900" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme3_img_picker_background" transparent="true">
<color_fill color="0xFF28497F" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme4_img_picker_background" transparent="true">
<color_fill color="0xFF000000" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme5_img_picker_background" transparent="true">
<color_fill color="0xFF888888" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme6_img_picker_background" transparent="true">
<color_fill color="0xFF303030" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme7_img_picker_background" transparent="true">
<color_fill color="0xFF606060" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme8_img_picker_background" transparent="true">
<color_fill color="0xFF143B14" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme9_img_picker_background" transparent="true">
<color_fill color="0xFF303030" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme10_img_picker_background" transparent="true">
<color_fill color="theme10_color1" />
<color_rect color="theme10_color3" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="img_menu_background" transparent="true" >
<color_fill color="color1"/>
<color_rect color="color3" opacity="0.25" />
</imagestyle>
<imagestyle name="theme1_img_menu_background" transparent="true" >
<color_fill color="0xFF303030"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme2_img_menu_background" transparent="true" >
<color_fill color="0xFFFF9900"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme3_img_menu_background" transparent="true" >
<color_fill color="0xFF28497F"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme4_img_menu_background" transparent="true" >
<color_fill color="0xFF000000"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme5_img_menu_background" transparent="true" >
<color_fill color="0xFF888888"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme6_img_menu_background" transparent="true" >
<color_fill color="0xFF303030"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme7_img_menu_background" transparent="true" >
<color_fill color="0xFF606060"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme8_img_menu_background" transparent="true" >
<color_fill color="0xFF143B14"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme9_img_menu_background" transparent="true" >
<color_fill color="0xFF303030"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme10_img_menu_background" transparent="true" >
<color_fill color="theme10_color1"/>
<color_rect color="theme10_color3" opacity="0.25" />
</imagestyle>
<imagestyle name="img_item" transparent="true">
<color_fill state="hover,hit" color="color2" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="color2" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
</imagestyle>
<imagestyle name="theme1_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFF99EE00" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFF99EE00" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme2_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFFB83F3F" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFFB83F3F" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme3_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFFCBFF66" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFFCBFF66" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme4_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFFFF0000" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFFFF0000" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme5_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFFBBBBBB" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFFBBBBBB" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme6_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFF00CCFF" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFF00CCFF" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme7_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFFFF0000" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFFFF0000" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme8_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFF00B200" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFF00B200" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme9_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFF588FBA" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFF588FBA" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme10_img_item" transparent="true">
<color_fill state="hover,hit" color="theme10_color2" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="theme10_color2" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="theme10_color3" opacity="0.25" />
</imagestyle>
<script name="OnInit">
SetHoverHint(:language.Translate("eqwindow/hint.presetpicker"));
if (!:sonique.prefs.DoesSectionExist("eqpresets")) {
AddItem( { Text: "No Presets Loaded", Data: "" } );
}
else {
$presets = :sonique.prefs.GetStringArray("eqpresets", "Names");
if ($presets.IsArray()) {
AddItem( { text: :language.Translate("general/label.none"), data: "" } );
// jmctodo - mscript bug. if i use foreach ($preset in $presets)
// and set the data element to $preset for each, then the
// data ends up holding whatever the last $preset was. ugh.
//foreach ($preset in $presets)
for ($i in 1 to $presets.ArraySize()) {
//if (:sonique.prefs.DoesSectionExist("eqpresets/" | $preset))
if (:sonique.prefs.DoesSectionExist("eqpresets/" | $presets[$i-1])) {
//$name = :sonique.prefs.GetString("eqpresets/" | $preset, "Name");
$name = :sonique.prefs.GetString("eqpresets/" | $presets[$i-1], "Name");
if ($name) {
//AddItem( { text: $name, data: $preset } );
AddItem( { Text: $name, Data: $presets[$i-1] });
}
}
}
} else {
AddItem( { Text: "No Presets Loaded", Data: "" } );
}
}
</script>
<script name="OnItemSelected">
if ($params[0] != 0)
{
$name=GetItem($params[0])["Data"];
$prettyname=GetItem($params[0])["Text"];
$section = "eqpresets/" | $name;
$GainArray = :sonique.prefs.GetStringArray($section, "Gain");
if ($GainArray.IsArray()) {
if ($GainArray.ArraySize() > 0) {
eq_window.SetNumBands($GainArray.ArraySize());
for ($i in 1 to $GainArray.ArraySize()) {
eq_window.SetBandGain($i-1, $GainArray[$i-1]);
}
}
}
}
SetCurrentIndex($params[0]);
:sonique.players.default.SendFilterMessage("equalizerReloadSettings");
</script>
</window> <!-- preset_picker -->
<window name="eq_save_button_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-20,5,-5,20" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|eq_save" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|eq_save" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|eq_save" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|eq_save" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("eqwindow/hint.save")); </script>
<script name="OnClick">
$preset=0;
$cur=preset_picker.GetCurrentItem()["text"]|" ";
$string=:string.SubString($cur, 0, 4);
$bands=0;
if($string == "User"){
$preset=:string.SubString($cur, 4, 1);
$bands = main_eq_window.eq_window.GetNumBands();
if ($bands gt 0) {
$gainArray = { main_eq_window.eq_window.GetBandGain(0) };
for ($i in 1 to $bands-1) {
$gainArray = $gainArray | { main_eq_window.eq_window.GetBandGain($i) };
}
$eqsection = "eqpresets/user"|$preset;
:sonique.prefs.CreateSection($eqsection);
// :sonique.prefs.SetString($eqsection, "Name", "My Preset!");
:sonique.prefs.SetStringArray($eqsection, "Gain", $gainArray);
}
}
if($preset==0){
:sonique.Status("Please pick preset \"user1-5\"");
}
</script>
</window>
<window name="eq_reset_button_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-40,5,-25,20" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|eq_flat" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|eq_flat" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|eq_flat" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|eq_flat" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("eqwindow/hint.reset"));</script>
<script name="OnClick">:sonique.players.default.equalizer.Reset();</script>
</window>
</window> <!-- eq_presets_window -->
<window name="eq_pab_window" transparent="true" offset="0,-48,-12,-2" alignment="0.5,1,1,1" >
<imagestyle name="background">
<color_fill color = "color2" opacity="0.25"/>
<color_rect color = "color3" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme1">
<color_fill color = "0xFF99EE00" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme2">
<color_fill color = "0xFFB83F3F" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme3">
<color_fill color = "0xFFCBFF66" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme4">
<color_fill color = "0xFFFF0000" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme5">
<color_fill color = "0xFFBBBBBB" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme6">
<color_fill color = "0xFF00CCFF" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme7">
<color_fill color = "0xFFFF0000" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme8">
<color_fill color = "0xFF00B200" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme9">
<color_fill color = "0xFF588FBA" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme10">
<color_fill color = "theme10_color2" opacity="0.25"/>
<color_rect color = "theme10_color3" opacity="0.25"/>
</imagestyle>
<window name="balance_label_window" type="textdisplay" alignment="0,0,0,0" offset="2,2,62,14" transparent="true">
<property font_style="my_font_10" font_color="color3" font_justification="right|v_center" />
<script name="OnInit"> SetText( :language.Translate("eqwindow/label.balance")); </script>
</window>
<window name="pitch_label_window" type="textdisplay" alignment="0,0,0,0" offset="2,16,62,28" transparent="true">
<property font_style="my_font_10" font_color="color3" font_justification="right|v_center" />
<script name="OnInit"> SetText( :language.Translate("eqwindow/label.pitch")); </script>
</window>
<window name="amp_label_window" type="textdisplay" alignment="0,0,0,0" offset="2,30,62,44" transparent="true">
<property font_style="my_font_10" font_color="color3" font_justification="right|v_center" />
<script name="OnInit"> SetText( :language.Translate("eqwindow/label.amp")); </script>
</window>
<window name="bal_fillbar" type="fillbar" transparent="true" hitstyle="ACTIVE"
offset="64,6,-16,12" alignment="0,0,1,0" >
<property orientation="left_to_right" outer_handle_offset_rect="-3.5,0,3.5,7"/>
<imagestyle name="barempty"> <raster source="color.psd|pab_bar_empty" fillmode="tile" tile_size="6,6" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<imagestyle name="barfilled"><raster source="color.psd|pab_bar_full" fillmode="tile" tile_size="6,6" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<imagestyle name="handle"><raster source="color.psd|pab_bar_handle" blendmode="ps_normal" /></imagestyle>
<script name="OnInit">
SetHoverHint(:language.Translate("eqwindow/hint.balance"));
SetMin(-100);
SetMax(100);
:sonique.players.default.pitchampbal.RegisterChangeCallback("", "UpdateDisplay()", this);
UpdateDisplay();
</script>
<script name="OnDestroy">
// NB: bug - this OnDestroy being called twice! todo.
:sonique.players.default.pitchampbal.UnregisterChangeCallback("", this);
</script>
<script name="OnPosChange">
$bal = GetIntPos();
$realbal = $bal/100;
if($bal gt 0){
$pos = :language.Translate("eqwindow/hint.right");
}
if($bal lt 0){
$pos = :language.Translate("eqwindow/hint.left");
$bal = -1*$bal;
}
if($bal == 0){
$pos = :language.Translate("eqwindow/hint.center");
}
:sonique.Status(:language.Translate("eqwindow/hint.balance") | " " | $bal | "% " | $pos);
:sonique.players.default.pitchampbal.SetBalance($realbal);
:sonique.players.default.SendFilterMessage("PitchAmpBalReloadSettings");
</script>
<script name="UpdateDisplay">
$bal = :sonique.players.default.pitchampbal.GetBalance()*100;
SetIntPos($bal);
</script>
</window>
<window name="pitch_fillbar" type="fillbar" transparent="true" hitstyle="ACTIVE"
offset="64,20,-16,26" alignment="0,0,1,0" >
<property orientation="left_to_right" outer_handle_offset_rect="-3.5,0,3.5,7"/>
<imagestyle name="barempty"> <raster source="color.psd|pab_bar_empty" fillmode="tile" tile_size="6,6" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<imagestyle name="barfilled"> <raster source="color.psd|pab_bar_full" fillmode="tile" tile_size="6,6" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<imagestyle name="handle"><raster source="color.psd|pab_bar_handle" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<script name="OnInit">
SetHoverHint(:language.Translate("eqwindow/hint.pitch"));
// 0.125 to 8.0 is the range for pitch. convert it to relative integers (reals don't seem to work so well right now with the fillbar)
$min = :math.Truncate(100*((:math.Log( 2, 0.125 )+3)/6));
$max = :math.Truncate(100*((:math.Log( 2, 8.0 )+3)/6));
SetMin($min);
SetMax($max);
:sonique.players.default.pitchampbal.RegisterChangeCallback("", "UpdateDisplay()", this);
UpdateDisplay();
</script>
<script name="OnDestroy">
:sonique.players.default.pitchampbal.UnregisterChangeCallback("", this);
</script>
<script name="OnPosChange">
$pitch= :math.Power( 2, ( (GetIntPos()/100)*6-3 ) );
:sonique.players.default.pitchampbal.SetPitch($pitch);
:sonique.players.default.SendFilterMessage("PitchAmpBalReloadSettings");
:sonique.Status(:language.Translate("eqwindow/hint.pitch") | " " | $pitch*100 | "%");
</script>
<script name="UpdateDisplay">
$pitch = :sonique.players.default.pitchampbal.GetPitch();
$relpitch = :math.Truncate(100*((:math.Log( 2, $pitch )+3)/6));
SetIntPos( $relpitch );
</script>
</window>
<window name="amp_fillbar" type="fillbar" transparent="true" hitstyle="ACTIVE"
offset="64,34,-16,40" alignment="0,0,1,0" >
<property orientation="left_to_right" outer_handle_offset_rect="-3.5,0,3.5,7"/>
<imagestyle name="barempty"> <raster source="color.psd|pab_bar_empty" fillmode="tile" tile_size="6,6" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<imagestyle name="barfilled"> <raster source="color.psd|pab_bar_full" fillmode="tile" tile_size="6,6" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<imagestyle name="handle"><raster source="color.psd|pab_bar_handle" blendmode="ps_normal" /></imagestyle>
<script name="OnInit">
SetHoverHint(:language.Translate("eqwindow/hint.amp"));
// 0.125 to 8.0 is the range for amplification. convert it to relative integers (reals don't seem to work so well right now with the fillbar)
$min = :math.Truncate(100*((:math.Log( 2, 0.125 )+3)/6));
$max = :math.Truncate(100*((:math.Log( 2, 8.0 )+3)/6));
SetMin($min);
SetMax($max);
:sonique.players.default.pitchampbal.RegisterChangeCallback("", "UpdateDisplay()", this);
UpdateDisplay();
</script>
<script name="OnDestroy">
// NB: bug - this OnDestroy being called twice! todo.
:sonique.players.default.pitchampbal.UnregisterChangeCallback("", this);
</script>
<script name="OnPosChange">
$amp= :math.Power( 2, ( (GetIntPos()/100)*6-3 ) );
:sonique.players.default.pitchampbal.SetAmplification($amp);
:sonique.players.default.SendFilterMessage("PitchAmpBalReloadSettings");
:sonique.Status(:language.Translate("eqwindow/hint.amp") | " " | $amp*100 | "%");
</script>
<script name="UpdateDisplay">
$amp = :sonique.players.default.pitchampbal.GetAmplification();
$relAmp = :math.Truncate(100*((:math.Log( 2, $amp )+3)/6));
SetIntPos( $relAmp );
</script>
</window>
<window name="reset_balance_button_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-12,5,-2,14" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="color.psd|pab_reset_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("eqwindow/hint.resetbalance")); </script>
<script name="OnClick">
:sonique.players.default.pitchampbal.SetBalance(0);
:sonique.players.default.SendFilterMessage("PitchAmpBalReloadSettings");
:sonique.Status(:language.Translate("eqwindow/hint.balance") | " 0% " | :language.Translate("eqwindow/hint.center"));
</script>
</window>
<window name="reset_pitch_button_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-12,19,-2,28" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="color.psd|pab_reset_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("eqwindow/hint.resetpitch")); </script>
<script name="OnClick">
:sonique.players.default.pitchampbal.SetPitch(1);
:sonique.players.default.SendFilterMessage("PitchAmpBalReloadSettings");
:sonique.Status(:language.Translate("eqwindow/hint.pitch") | " 100%");
</script>
</window>
<window name="reset_amp_button_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-12,33,-3,42" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="color.psd|pab_reset_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("eqwindow/hint.resetamp")); </script>
<script name="OnClick">
:sonique.players.default.pitchampbal.SetAmplification(1);
:sonique.players.default.SendFilterMessage("PitchAmpBalReloadSettings");
:sonique.Status(:language.Translate("eqwindow/hint.amp") | " 100%");
</script>
</window>
</window> // eq_pab_window
</window> // main eq window
<window name="eq_controls_window" transparent="true" >
<script name="ViewWindow">
detach_window_icon_window.SetOffset({-84,33,-73,43},0,1000,"linear_accel");
full_window_icon_window.SetOffset({-82,50,-74,57},0,1000,"linear_accel");
</script>
<script name="HideWindow">
detach_window_icon_window.SetOffset({-84,-33,-73,-43},0,1000,"linear_accel");
full_window_icon_window.SetOffset({-82,-50,-74,-57},0,1000,"linear_accel");
</script>
<window name="detach_window_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-82,-53,-74,-60" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|detach_window_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|detach_window_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.detachwindow")); </script>
<script name="OnClick"> main_eq_window.DetachWindow(); </script>
</window>
<window name="full_window_icon_window" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-84,-33,-73,-43" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|full_window_visual_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.fullviswindow")); </script>
<script name="OnClick"> main.ToggleFullWindowVis();</script>
</window>
</window>
<window name="status_display_window" type="Sonique2_StatusBar" hidden="true" transparent="true" shape="my_shape"
alignment="0,1,1,1" offset="24,-52,-183,-34">
<shape name="my_shape"> <shape_roundrect corner_size="5,5" /></shape>
<imagestyle name="background">
<color_fill color="color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_fill color="0xFF99EE00" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_fill color="0xFFB83F3F" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_fill color="0xFFCBFF66" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_fill color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_fill color="0xFF00CCFF" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_fill color="0xFF00B200" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_fill color="0xFF588FBA" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_fill color="theme10_color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<property scroll_mode="horizontal" scroll_speed="50" whitespace="50"
rect_status_offset="10,3,-10,-3" rect_progress_offset="10,2,-10,-2"
info_font_style="my_font_10" info_font_color="color3" info_font_justification="left|v_center|single_line_only"
error_font_style="my_font_10" error_font_color="color_todo_1" error_font_justification="left|v_center|single_line_only"
warning_font_style="my_font_10" warning_font_color="color_todo_2" warning_font_justification="left|v_center|single_line_only"
fallback_font_style="my_font_10" fallback_font_color="color3" fallback_font_justification="left|v_center|single_line_only"
/>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
<window name="status_shadow" transparent="true" hidden="true" alignment="0,1,1,1" offset="22,-53,-176,-26" >
<imagestyle name="background"> <raster source="grayscale.psd|status_shadow" blendmode="ps_normal" fillmode="resize" inner_rect="177,260,178,261" outer_rect="57,248,273,275" /></imagestyle>
<script name="OnIntro"> SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
<window name="advanced_icons_window" hidden="true" transparent="true" shape="my_shape" offset="30,-78,199,-62" alignment= "0,1,0,1" >
<shape name="my_shape">
<shape_roundrect corner_size="5,5" />
</shape>
<imagestyle name="background">
<color_fill color="color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color1" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_fill color="0xFF99EE00" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFF303030" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_fill color="0xFFB83F3F" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFF9900" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_fill color="0xFFCBFF66" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFF28497F" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFF000000" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_fill color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFF888888" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_fill color="0xFF00CCFF" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFF303030" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFF606060" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_fill color="0xFF00B200" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFF143B14" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_fill color="0xFF588FBA" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFF303030" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_fill color="theme10_color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color1" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<window name="console_button_window" type="button" hidden="true" transparent="true" hitstyle="ACTIVE" offset="-141,-13,-130,-3" alignment="1,1,1,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|console_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|console_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|console_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|console_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.viewconsole")); </script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick">
MoveWindows("main_console_window");
</script>
<script name="OnRightButtonUp">
if(currentwindows[currentwindows.ArraySize()-1] == "main_console_window"){
MoveWindows("main_console_window");
}
:sonique.LaunchLocalWindow("console_popup");
</script>
</window>
<window name="wavewrite_silent_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="-124,-13,-111,-3" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0"><raster opacity="1.0" source="grayscale.psd|wavewrite_icon_silent_off" blendmode="ps_normal" /></imagestyle>
<imagestyle name="state1"><raster opacity="1.0" source="grayscale.psd|wavewrite_icon_silent_on" blendmode="ps_normal" /></imagestyle>
<script name="OnInit">
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.wavewritesilent "));
:sonique.players.default.RegisterCallback("Stopping","UpdateState(0);", this);
</script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick">
if (GetButtonState() == 1) {
:sonique.players.default.Stop();
UpdateState(0);
} else {
:sonique.players.default.WaveWrite(false);
UpdateState(1);
}
</script>
<script name="UpdateState">
if ($params[0] == 0) {
SetButtonState(0);
:sonique.Status(:language.Translate("general/status.startwavewrite") | " " | :sonique.players.default.settings.DiskWriterOutput.Get("destpath"));
SetHoverHint(:language.Translate("general/hint.wavewritesilent "));
} else {
SetButtonState(1);
:sonique.Status(:language.Translate("general/status.stopwavewrite") | " " | :sonique.players.default.settings.DiskWriterOutput.Get("destpath"));
SetHoverHint(:language.Translate("general/hint.stopwavewrite"));
}
</script>
</window>
<window name="wavewrite_audible_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="-105,-13,-92,-3" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0"><raster opacity="1.0" source="grayscale.psd|wavewrite_icon_audible_off" blendmode="ps_normal" /></imagestyle>
<imagestyle name="state1"><raster opacity="1.0" source="grayscale.psd|wavewrite_icon_audible_on" blendmode="ps_normal" /></imagestyle>
<script name="OnInit">
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.wavewriteaudible"));
</script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick">
if (GetButtonState() == 1) {
:sonique.players.default.Stop();
SetButtonState(0);
:sonique.Status(:language.Translate("general/status.startwavewrite") | " " | :sonique.players.default.settings.DiskWriterOutput.Get("destpath"));
SetHoverHint(:language.Translate("general/hint.wavewriteaudible"));
} else {
:sonique.players.default.WaveWrite(true);
SetButtonState(1);
:sonique.Status(:language.Translate("general/status.stopwavewrite") | " " | :sonique.players.default.settings.DiskWriterOutput.Get("destpath"));
SetHoverHint(:language.Translate("general/hint.stopwavewrite"));
}
</script>
</window>
<window name="savestreams_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="-86,-13,-75,-2" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0"><raster opacity="1.0" source="grayscale.psd|savestream_icon_off" blendmode="ps_normal" /></imagestyle>
<imagestyle name="state1"><raster opacity="1.0" source="grayscale.psd|savestream_icon_on" blendmode="ps_normal" /></imagestyle>
<script name="OnInit">
:sonique.players.default.RegisterCallback("SaveStreamsChanged","Update()", this);
Update();
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("SaveStreamsChanged", this);
</script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick">
$state = GetButtonState();
if ($state == 0) {
SetButtonState(1);
:sonique.players.default.SetSaveStreams(1);
:sonique.Status(:language.Translate("general/status.enablesavestream") | " " | :sonique.players.default.settings.DiskWriterOutput.Get("destpath"));
} else {
SetButtonState(0);
:sonique.players.default.SetSaveStreams(0);
:sonique.Status(:language.Translate("general/status.disablesavestream"));
}
</script>
<script name="Update">
if (:sonique.players.default.GetSaveStreams()) {
SetButtonState(1);
SetHoverHint(:language.Translate("general/hint.disablesavestream"));
} else {
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.enablesavestreams "));
}
</script>
</window>
<window name="transition_method_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="-69,-13,-56,-2" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0"><raster opacity="1.0" source="grayscale.psd|transition_normal_icon" blendmode="ps_normal" /></imagestyle>
<imagestyle name="state1"><raster opacity="1.0" source="grayscale.psd|transition_seamless_icon" blendmode="ps_normal" /></imagestyle>
<imagestyle name="state2"><raster opacity="1.0" source="grayscale.psd|transition_crossfade_icon" blendmode="ps_normal" /></imagestyle>
<script name="OnInit">
:sonique.players.default.RegisterCallback("PlaybackMethodChanged","UpdateState()", this);
UpdateState();
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("PlaybackMethodChanged", this);
</script>
<script name="UpdateState">
$index = { normal: 0, seamless: 1, crossfade: 2 }[:sonique.players.default.GetPlaybackMethod()["method"]];
$hints = { :language.Translate("general/hint.normaltransition"), :language.Translate("general/hint.seamlesstransition"), :language.Translate("general/hint.crossfadetransition") };
SetButtonState($index);
SetHoverHint($hints[$index]);
</script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick">
$index = GetButtonState();
// no crossfade available for waveout
$endpoint = :sonique.players.GetDefaultEndpoint();
if ($endpoint == "waveOutOutput") {
$index = (($index + 1) % 2);
} else {
$index = (($index + 1) % 3);
}
if ($index == 2) {
:sonique.players.default.SetPlaybackMethod("Crossfade");
} else {
if ($index == 1) {
:sonique.players.default.SetPlaybackMethod("Seamless");
} else {
:sonique.players.default.SetPlaybackMethod("Normal");
}
}
UpdateState();
</script>
</window>
<window name="repeat_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="-50,-13,-38,2" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0"><raster opacity="1.0" source="grayscale.psd|repeat_icon_off" blendmode="ps_normal"/></imagestyle>
<imagestyle name="state1"><raster opacity="1.0" source="grayscale.psd|repeat_icon_all" blendmode="ps_normal" /></imagestyle>
<imagestyle name="state2"><raster opacity="1.0" source="grayscale.psd|repeat_icon_one" blendmode="ps_normal" /></imagestyle>
<script name="OnInit">
:sonique.players.default.RegisterCallback("RepeatChanged","UpdateState()", this);
UpdateState();
SetHoverHint(:language.Translate("general/hint.repeat"));
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("RepeatChanged", this);
</script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick"> :sonique.players.default.ToggleRepeat(); </script>
<script name="UpdateState">
$state = :sonique.players.default.GetRepeat();
if ($state == "off") {
SetButtonState(0);
}
if ($state == "all") {
SetButtonState(1);
}
if ($state == "one") {
SetButtonState(2);
}
</script>
</window>
<window name="shuffle_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="-34,-13,-22,1" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0"><raster opacity="1.0" source="grayscale.psd|shuffle_icon_off" blendmode="ps_normal" /></imagestyle>
<imagestyle name="state1"><raster opacity="1.0" source="grayscale.psd|shuffle_icon_on" blendmode="ps_normal" /></imagestyle>
<script name="OnInit">
:sonique.players.default.RegisterCallback("ShuffleChanged","UpdateState()", this);
UpdateState();
SetHoverHint(:language.Translate("general/hint.shuffle"));
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("ShuffleChanged", this);
</script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick"> :sonique.players.default.ToggleShuffle(); </script>
<script name="UpdateState">
$state = :sonique.players.default.GetShuffle();
if ($state == false) {
SetButtonState(0);
}
if ($state == true) {
SetButtonState(1);
}
</script>
</window>
<window name="info_button_window" type="button" hidden="true" transparent="true" hitstyle="ACTIVE" offset="-16,-13,-6,-3" alignment="1,1,1,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|info_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|info_window_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|info_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|info_window_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.viewinfowindow")); </script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick">
if (info_window.visible == 0) {
info_window.visible = 1;
info_window.Show();
SetHoverHint(:language.Translate("defaultskin/hint.hideinfowindow"));
} else {
info_window.visible = 0;
info_window.Hide();
SetHoverHint(:language.Translate("defaultskin/hint.viewinfowindow"));
}
</script>
</window>
</window> <!-- advanced_icons_window -->
<window name="death_star_window" alignment="0,1,1,1" transparent="true" hidden="true"
shape="my_shape" offset="27,-84,-362,-58" >
<shape name="my_shape"><shape_raster source="grayscale.psd|advanced_icons_bg_shape_sphere" /></shape>
<imagestyle name="background">
<color_fill color="color1" blendmode="ps_normal" opacity="1.0" />
<color_fill color="color2" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<imagestyle name="theme1">
<color_fill color="0xFF303030" blendmode="ps_normal" opacity="1.0" />
<color_fill color="0xFF99EE00" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<imagestyle name="theme2">
<color_fill color="0xFFFF9900" blendmode="ps_normal" opacity="1.0" />
<color_fill color="0xFFB83F3F" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<imagestyle name="theme3">
<color_fill color="0xFF28497F" blendmode="ps_normal" opacity="1.0" />
<color_fill color="0xFFCBFF66" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<imagestyle name="theme4">
<color_fill color="0xFF000000" blendmode="ps_normal" opacity="1.0" />
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<imagestyle name="theme5">
<color_fill color="0xFF888888" blendmode="ps_normal" opacity="1.0" />
<color_fill color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<imagestyle name="theme6">
<color_fill color="0xFF303030" blendmode="ps_normal" opacity="1.0" />
<color_fill color="0xFF00CCFF" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<imagestyle name="theme7">
<color_fill color="0xFF606060" blendmode="ps_normal" opacity="1.0" />
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<imagestyle name="theme8">
<color_fill color="0xFF143B14" blendmode="ps_normal" opacity="1.0" />
<color_fill color="0xFF00B200" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<imagestyle name="theme9">
<color_fill color="0xFF303030" blendmode="ps_normal" opacity="1.0" />
<color_fill color="0xFF588FBA" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<imagestyle name="theme10">
<color_fill color="theme10_color1" blendmode="ps_normal" opacity="1.0" />
<color_fill color="theme10_color2" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<script name="OnIntro"> SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<window name="death_star_window_button" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" offset="0,-26,26,0" alignment="0,1,0,1">
<property hover="true" />
<shape name="my_shape"><shape_raster source="grayscale.psd|sonique_death_star" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|sonique_death_star" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|sonique_death_star" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|sonique_death_star" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|sonique_death_star" blendmode="ps_normal" />
</imagestyle>
<script name="OnIntro">
SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel");
// retracted = 0
// normal_out = 1
// normal_in = 2
// extracted = 3
normal_offset={30,-78,108,-62};
extracted_offset={30,-78,199,-62};
retracted_offset={30,-78,30,-62};
state=:sonique.InterfacePrefsGetString("main", "death_mode");
if (state == 0) {
advanced_icons_window.SetOffset(retracted_offset,0,1000,"linear_accel");
SetHoverHint(:language.Translate("defaultskin/hint.deathstarexpand"));
} else if (state == 1) {
advanced_icons_window.SetOffset(normal_offset,0,1000,"linear_accel");
SetHoverHint(:language.Translate("defaultskin/hint.deathstarexpand"));
} else if (state == 2) {
advanced_icons_window.SetOffset(normal_offset,0,1000,"linear_accel");
SetHoverHint(:language.Translate("defaultskin/hint.deathstarretract"));
} else if (state == 3) {
advanced_icons_window.SetOffset(extracted_offset,0,1000,"linear_accel");
SetHoverHint(:language.Translate("defaultskin/hint.deathstarretract"));
}
</script>
<script name="OnClick">
if (state == 0) {
advanced_icons_window.SetOffset(normal_offset,0,1000,"linear_accel");
SetHoverHint(:language.Translate("defaultskin/hint.deathstarexpand"));
state=1;
} else if (state == 1) {
advanced_icons_window.SetOffset(extracted_offset,0,1000,"linear_accel");
SetHoverHint(:language.Translate("defaultskin/hint.deathstarretract"));
state=3;
} else if (state == 2) {
advanced_icons_window.SetOffset(retracted_offset,0,1000,"linear_accel");
SetHoverHint(:language.Translate("defaultskin/hint.deathstarexpand"));
state=0;
} else if (state == 3) {
advanced_icons_window.SetOffset(normal_offset,0,1000,"linear_accel");
SetHoverHint(:language.Translate("defaultskin/hint.deathstarretract"));
state=2;
}
</script>
<script name="OnDestroy">
:sonique.InterfacePrefsSetString("main", "death_mode", state);
</script>
</window> <!-- death_star_window -->
</window>
<window name="death_star_shadow" transparent="true" hidden="true" alignment="0,1,1,1" offset="26,-84,-355,-50" >
<imagestyle name="background"> <raster source="grayscale.psd|advanced_icons_sphere_shadow" blendmode="ps_normal" /></imagestyle>
<script name="OnIntro"> SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
<window name="righthand_bar_window" hidden="true" transparent="true" alignment="1,1,1,1" shape="my_shape" offset="-248,-86,-138,-67" >
<shape name="my_shape">
<shape_raster source="grayscale.psd|setup_skins_id3_bg_shape" />
</shape>
<imagestyle name="background"><color_fill color="color2" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme1"><color_fill color="0xFF99EE00" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme2"><color_fill color="0xFFB83F3F" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme3"><color_fill color="0xFFCBFF66" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme4"><color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme5"><color_fill color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme6"><color_fill color="0xFF00CCFF" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme7"><color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme8"><color_fill color="0xFF00B200" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme9"><color_fill color="0xFF588FBA" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme10"><color_fill color="theme10_color2" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<script name="OnIntro"> SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<window name="add_directory_shortcut_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="6,4,17,-1" alignment="0,0,0,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|add_directory_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|add_directory_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|add_directory_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|add_directory_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("playlistwindow/hint.adddirectory")); </script>
<script name="OnClick">
$dir=:sonique.BrowseForFolder("Add folder...");
if ($dir) {:sonique.AddFile($dir);}
</script>
</window>
<window name="append_list_shortcut_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="23,4,32,-1" alignment="0,0,0,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|append_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|append_list_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|append_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|append_list_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("playlistwindow/hint.append"));</script>
<script name="OnClick">:sonique.LoadPlaylistFile(:sonique.playlists.default,"true");</script>
</window>
<window name="add_list_shortcut_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="38,4,48,-1" alignment="0,0,0,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|add_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|add_list_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|add_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|add_list_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("playlistwindow/hint.load"));</script>
<script name="OnClick"> :sonique.LoadPlaylistFile(); </script>
</window>
<window name="add_cd_shortcut_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="54,4,64,-1" alignment="0,0,0,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|cd_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|cd_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|cd_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|cd_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">
//SetHoverHint(:language.Translate("playlistwindow/hint.addcd"));
SetHoverHint("WARNING: Not fully implemented, will Add all CD drives found.");
</script>
<script name="OnClick">
// todo - if only one drive, just add. otherwise, offer choices
$drives = :sonique.GetSystemDrives();
for ($i in 1 to $drives.ArraySize()) {
$type = $drives[$i - 1]["type"];
if ($type == "5") {
$path = $drives[$i - 1]["drive"];
//AddItem({ Text: " " | $drives[$i - 1]["drive"], Data: $drives[$i - 1]["drive"]});
:sonique.Status(:language.Translate("playlistwindow/status.addcd") | " " | $path);
:sonique.playlists.default.AddAudioCD($path);
}
}
</script>
</window>
<window name="clear_list_shortcut_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="70,4,80,-1" alignment="0,0,0,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|clear_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|clear_list_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|clear_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|clear_list_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("playlistwindow/hint.clear"));</script>
<script name="OnClick"> :sonique.playlists.default.RemoveAll(); </script>
</window>
<window name="save_list_shortcut_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="86,4,96,-1" alignment="0,0,0,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|save_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|save_list_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|save_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|save_list_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("playlistwindow/hint.save"));</script>
<script name="OnClick"> :sonique.SavePlaylistFile(:sonique.playlists.default); </script>
</window>
</window> <!-- righthand_bar_window -->
<window name="setup_skins_id3_shadow" transparent="true" hidden="true" alignment="1,1,1,1" offset="-255,-84,-132,-55" >
<imagestyle name="background"> <raster source="grayscale.psd|setup_skins_id3_shadow" blendmode="ps_normal" /></imagestyle>
<script name="OnIntro"> SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
<window name="window_controls_window" transparent="true">
<script name="OnIntro">
help_button_window.SetOffset({-82,9,-65,19},0,1500,"linear_accel");
always_on_top_button_window.SetOffset({-67,9,-50,19},0,1500,"linear_accel");
minimize_button_window.SetOffset({-53,9,-27,19},0,1500,"linear_accel");
close_button_window.SetOffset({-39,9,-22,19},0,1500,"linear_accel");
</script>
<window name="help_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" offset="-1300,9,-1300,19" alignment="1,0,1,0">
<property hover="true" />
<shape name="my_shape"><shape_raster source="grayscale.psd|help_button" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|help_button" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|help_button" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|help_button" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|help_button" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.help")); </script>
<script name="OnClick"> :sonique.LaunchHelp(); </script>
</window>
<window name="always_on_top_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" offset="-1250,9,-1250,19" alignment="1,0,1,0">
<property hover="true" />
<shape name="my_shape"><shape_raster source="grayscale.psd|always_on_top_button" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|always_on_top_button" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|always_on_top_button" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|always_on_top_button" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|always_on_top_button" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">
$topstate = main.GetAlwaysOnTop();
if ($topstate == true) { SetButtonState(1); } else { SetButtonState(0); }
SetHoverHint(:language.Translate("topmenu/file.ontop"));
</script>
<script name="OnClick">
$topstate = parent.parent.GetAlwaysOnTop();
if ($topstate == true) {
parent.parent.SetAlwaysOnTop(0);
SetButtonState(0);
} else {
parent.parent.SetAlwaysOnTop(1);
SetButtonState(1);
}
</script>
<script name="UpdateAlwaysOnTopState">
if ($params[0] == true) { SetButtonState(1); } else { SetButtonState(0); }
</script>
</window>
<window name="minimize_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" offset="-1200,9,-1200,19" alignment="1,0,1,0">
<property hover="true" />
<shape name="my_shape"><shape_raster source="grayscale.psd|minimize_button" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|minimize_button" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|minimize_button" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|minimize_button" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|minimize_button" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("topmenu/file.minwin")); </script>
<script name="OnClick"> main.MinimizeWindow(true); </script>
</window>
<window name="close_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" offset="-1150,9,-1150,19" alignment="1,0,1,0">
<property hover="true" />
<shape name="my_shape"><shape_raster source="grayscale.psd|close_button" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|close_button" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|close_button" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|close_button" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|close_button" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("topmenu/file.closewin"));</script>
<script name="OnClick"> main.DestroyWindow();</script>
</window>
</window> <!-- window_controls_window -->
<window name="main_circle_outer_shadow" transparent="true" hidden="true" alignment="1,1,1,1" offset="-165,-117,-12,2" >
<imagestyle name="background"> <raster source="grayscale.psd|main_circle_outer_shadow" blendmode="PS_NORMAL" /></imagestyle>
<script name="OnIntro"> SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
<window name="outer_circle_window" hidden="true" hidden="true" transparent="true" shape="my_shape" alignment="1,1,1,1" offset="-167,-135,-19,-6" >
<shape name="my_shape"><shape_raster source="grayscale.psd|main_circle_outer_bg_shape" /></shape>
<imagestyle name="background"><color_fill color="color2" opacity="0.15" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme1"><color_fill color="0xFF99EE00" opacity="0.25" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme2"><color_fill color="0xFFB83F3F" opacity="0.25" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme3"><color_fill color="0xFFCBFF66" opacity="0.25" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme4"><color_fill color="0xFFFF0000" opacity="0.25" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme5"><color_fill color="0xFFBBBBBB" opacity="0.25" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme6"><color_fill color="0xFF00CCFF" opacity="0.25" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme7"><color_fill color="0xFFFF0000" opacity="0.25" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme8"><color_fill color="0xFF00B200" opacity="0.25" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme9"><color_fill color="0xFF588FBA" opacity="0.25" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme10"><color_fill color="theme10_color2" opacity="0.25" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
<window name="inner_circle_window" opacity="0.0" hidden="true" transparent="true"
alignment= "1,1,1,1" offset="-128,-97,-23,-3" >
<imagestyle name="background"><color_ellipse alignment="0,0,1,1," offset="0,0,0,11" filled="true" color="color2" opacity="0.35" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme1"><color_ellipse alignment="0,0,1,1," offset="0,0,0,11" filled="true" color="0xFF99EE00" opacity="0.35" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme2"><color_ellipse alignment="0,0,1,1," offset="0,0,0,11" filled="true" color="0xFFB83F3F" opacity="0.15" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme3"><color_ellipse alignment="0,0,1,1," offset="0,0,0,11" filled="true" color="0xFFCBFF66" opacity="0.15" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme4"><color_ellipse alignment="0,0,1,1," offset="0,0,0,11" filled="true" color="0xFFFF0000" opacity="0.15" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme5"><color_ellipse alignment="0,0,1,1," offset="0,0,0,11" filled="true" color="0xFFBBBBBB" opacity="0.15" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme6"><color_ellipse alignment="0,0,1,1," offset="0,0,0,11" filled="true" color="0xFF00CCFF" opacity="0.15" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme7"><color_ellipse alignment="0,0,1,1," offset="0,0,0,11" filled="true" color="0xFFFF0000" opacity="0.15" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme8"><color_ellipse alignment="0,0,1,1," offset="0,0,0,11" filled="true" color="0xFF00B200" opacity="0.15" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme9"><color_ellipse alignment="0,0,1,1," offset="0,0,0,11" filled="true" color="0xFF588FBA" opacity="0.15" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<imagestyle name="theme10"><color_ellipse alignment="0,0,1,1," offset="0,0,0,11" filled="true" color="theme10_color2" opacity="0.15" blendmode="COPY|RGB|ALPHA_SRCALPHA" /></imagestyle>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
<window name="controls_background_window" hidden="true" opacity="0.0" transparent="true" >
<imagestyle name="background">
<raster source="grayscale.psd|controls_background_shape" alignment="1,1,1,1" offset="grayscale.psd|controls_background_shape @ grayscale.psd|chassis" blendmode="ps_normal" />
</imagestyle>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
<window name="next_track_button_window" type="button" hidden="true" transparent="true" hitstyle="ACTIVE" offset="-132,-56,-117,-41" alignment="1,1,1,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|track_ahead_button" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|track_ahead_button" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|track_ahead_button" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|track_ahead_button" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.nexttrack")); </script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick"> :sonique.players.default.Next();</script>
</window>
<window name="prev_track_button_window" type="button" hidden="true" transparent="true" hitstyle="ACTIVE" offset="-160,-56,-145,-41" alignment="1,1,1,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|track_back_button" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|track_back_button" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|track_back_button" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|track_back_button" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.prevtrack")); </script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick"> :sonique.players.default.Previous();</script>
</window>
<window name="open_button_window" type="button" hidden="true" transparent="true" hitstyle="ACTIVE" offset="-51,-66,-36,-51" alignment="1,1,1,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|file_open_button" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|file_open_button" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|file_open_button" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|file_open_button" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.openfiles")); </script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick"> :sonique.OpenFiles(); </script>
</window>
<window name="stop_window" type="button" hidden="true" transparent="true" hitstyle="ACTIVE" offset="-142,-29,-135,-22" alignment="1,1,1,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|stop_button" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|stop_button" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|stop_button" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|stop_button" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.stop")); </script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick"> :sonique.players.default.Stop(); </script>
</window>
<window name="play_pause_button_window" type="button" hidden="true" transparent="true" hitstyle="ACTIVE"
offset="-78,-48,-64,-34" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="grayscale.psd|play_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="grayscale.psd|play_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" source="grayscale.psd|pause_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="grayscale.psd|pause_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">
:sonique.players.default.RegisterCallback("Playing","UpdateState()", this);
:sonique.players.default.RegisterCallback("Stopping","UpdateState()", this);
:sonique.players.default.RegisterCallback("Pausing","UpdateState()", this);
UpdateState();
</script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick">
if (:sonique.players.default.IsPlaying()) {
:sonique.players.default.TogglePause();
} else {
:sonique.players.default.Play();
}
UpdateState();
</script>
<script name="UpdateState">
if (:sonique.players.default.IsPlaying()) {
if (:sonique.players.default.IsPaused()) {
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.play"));
} else {
SetButtonState(1);
SetHoverHint(:language.Translate("general/hint.pause"));
}
} else {
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.play"));
}
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("Playing", this);
:sonique.players.default.UnregisterCallback("Stopping", this);
:sonique.players.default.UnregisterCallback("Pausing", this);
</script>
</window>
<!-- todo get rid of shape here. clean up more psd layers -->
<window name="progress_window" transparent="true" hidden="true" alignment="0,1,1,1" shape="my_shape" offset="48,-119,-102,-45" >
<shape name="my_shape">
<shape_raster
source="grayscale.psd|progress_region_shape"
fillmode="resize"
inner_rect="142,188,152,197"
outer_rect="grayscale.psd|progress_region_shape"
/>
</shape>
<imagestyle name="background"><color_fill color="color2" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme1"><color_fill color="0xFF99EE00" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme2"><color_fill color="0xFFB83F3F" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme3"><color_fill color="0xFFCBFF66" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme4"><color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme5"><color_fill color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme6"><color_fill color="0xFF00CCFF" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme7"><color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme8"><color_fill color="0xFF00B200" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme9"><color_fill color="0xFF588FBA" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme10"><color_fill color="theme10_color2" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<window name="progressbar_window" type="Sonique2_Progress" shape="bar_shape" offset="15,-70,-34,-64" transparent="true" hitstyle="ACTIVE" alignment="0,1,1,1" >
<shape name="bar_shape">
<shape_raster source="grayscale.psd|progress_bar_region" fillmode="resize" inner_rect="grayscale.psd|progress_bar_inner" outer_rect="grayscale.psd|progress_bar_region" />
</shape>
<property orientation="left_to_right"
hover="true"
hovertext="true"
type="SongProgress"
bar_align_rect ="0,0,1,1"
outer_handle_offset_rect="-0.5,0,0.5,6"
outer_handle_align_rect="0,0,0,0"
/>
<imagestyle name="background"><raster source="grayscale.psd|progress_bar_background" fillmode="tile" tile_size="6,6" blendmode="ps_normal" opacity="1.0" /> </imagestyle>
<imagestyle name="barfilled"><raster source="grayscale.psd|progress_bar_fill" fillmode="tile" tile_size="6,6" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<!-- <script name="OnInit"> SetHoverHint(:language.Translate("general/hint.songprogress")); </script> -->
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
<window name="scan_backwards_window" type="button" transparent="true" hitstyle="ACTIVE" alignment="0,1,0,1" offset="4,-69,11,-65" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|scan_backwards" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|scan_backwards" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.scanbackwards")); </script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnLeftButtonDown"> :system.timer.SetTimer("backward",50,":sonique.players.default.Scan(-5, \"false\");",this,1); </script>
<script name="OnLeftButtonUp"> :system.timer.UnsetTimer("backward",this); </script>
</window>
<window name="scan_forwards_window" type="button" transparent="true" hitstyle="ACTIVE" alignment="1,1,1,1" offset="-30,-69,-23,-65" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="grayscale.psd|scan_forwards" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="grayscale.psd|scan_forwards" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("general/hint.scanforwards")); </script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnLeftButtonDown"> :system.timer.SetTimer("forward",50,":sonique.players.default.Scan(5, \"false\");",this,1); </script>
<script name="OnLeftButtonUp"> :system.timer.UnsetTimer("forward",this); </script>
</window>
<window name="track_window" type="Sonique2_TrackDisplay" transparent="true" hitstyle="ACTIVE" alignment="0.5,1,0.5,1" offset="-111,-63,-54,-48" >
<property format="04" font_style="tracktime_font" font_color="color3" font_justification="v_center|left" />
<script name="OnInit"> SetHoverHint(:language.Translate("general/hint.currenttrack")); </script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
<window name="time_window" type="Sonique2_TimeDisplay" transparent="true" hitstyle="ACTIVE" alignment="0.5,1,0.5,1" offset="-49,-63,81,-48">
<property font_style="tracktime_font" font_color="color3" font_justification="v_center|right"
updateinterval="500" mode="all" format="%(ClassChar)%(02Hours):%(02%Minutes):%(02%Seconds)" hovertext="true" />
<script name="OnInit"> SetHoverHint(:language.Translate("general/hint.currenttime")); </script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
</window> <!-- progress_window -->
<window name="progress_region_shadow" transparent="true" hidden="true" alignment="0,1,1,1" offset="47,-119,-95,-45" >
<imagestyle name="background">
<raster source="grayscale.psd|progress_region_shadow" blendmode="ps_normal"
fillmode="resize" inner_rect="142,192,152,197" outer_rect="82,180,355,253" />
</imagestyle>
<script name="OnIntro"> SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
<window name="volume_controls_window" transparent="true">
<window name="mute_button_window" type="button" shape="my_shape" hidden="true" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="grayscale.psd|volume_enabled" offset="grayscale.psd|volume_enabled @ grayscale.psd|chassis" alignment="1,1,1,1" /></shape>
<imagestyle name="state0">
<raster
state ="hit,hover"
source ="grayscale.psd|volume_enabled"
offset ="grayscale.psd|volume_enabled @ grayscale.psd|chassis"
alignment ="1,1,1,1"
blendmode ="ps_normal"
opacity ="0.75"
/>
<raster
state ="normal"
source ="grayscale.psd|volume_enabled"
offset ="grayscale.psd|volume_enabled @ grayscale.psd|chassis"
alignment ="1,1,1,1"
blendmode ="ps_normal"
opacity ="1.0"
/>
</imagestyle>
<imagestyle name="state1">
<raster
state ="hit,hover"
source ="grayscale.psd|volume_disabled"
offset ="grayscale.psd|volume_disabled @ grayscale.psd|chassis"
alignment ="1,1,1,1"
blendmode ="ps_normal"
opacity ="1.0"
/>
<raster
state ="normal"
source ="grayscale.psd|volume_disabled"
offset ="grayscale.psd|volume_disabled @ grayscale.psd|chassis"
alignment ="1,1,1,1"
blendmode ="ps_normal"
opacity ="0.75"
/>
</imagestyle>
<script name="OnInit">
:sonique.players.default.RegisterCallback("VolumeChanged","OnVolumeChanged()", this);
UpdateState();
SetHoverHint(:language.Translate("general/hint.mute"));
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("VolumeChanged", this);
</script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick">
if (:app.mutevol == 0.0) {
SetButtonState(1);
:app.mutevol=:sonique.players.default.GetVolume();
:sonique.players.default.SetVolume(0.0);
} else {
SetButtonState(0);
:sonique.players.default.SetVolume(:app.mutevol);
:app.mutevol=0.0;
}
</script>
<script name="OnVolumeChanged">
if (:sonique.players.default.GetVolume() != 0.0) {
:app.mutevol=0.0;
}
UpdateState();
</script>
<script name="UpdateState">
if ((:app.mutevol != 0.0) and (:sonique.players.default.GetVolume() == 0.0)) {
SetButtonState(1);
} else {
SetButtonState(0);
}
</script>
</window>
<window name="volume_bar_window" type="fillbar" shape="bar_shape" offset="-43,-90,-15,-6" transparent="true" hitstyle="ACTIVE" alignment="1,1,1,1" hidden="true">
<shape name="bar_shape"><shape_raster source="grayscale.psd|volume_region" /></shape>
<property orientation="bottom_to_top"
hover="true"
hovertext="true"
relative="true"
bar_offset_rect="grayscale.psd|volume_bar_background @ grayscale.psd|volume_region"
bar_align_rect ="0,0,1,1"
_outer_handle_offset_rect="-0.5,0,0.5,0.5"
_outer_handle_align_rect="0,0,0,0"
_fill_offset_rect="0,0,-1,0"
_empty_offset_rect="1,0,0,0"
/>
<imagestyle name="barfilled">
<raster state="hit,hover" source="grayscale.psd|volume_bar_background" offset="grayscale.psd|volume_bar_background @ grayscale.psd|volume_region"
alignment="1,1,1,1" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="grayscale.psd|volume_bar_background" offset="grayscale.psd|volume_bar_background @ grayscale.psd|volume_region"
alignment="1,1,1,1" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<imagestyle name="barempty">
<raster state="hit,hover" source="grayscale.psd|volume_bar_filled" offset="grayscale.psd|volume_bar_filled @ grayscale.psd|volume_region"
alignment="1,1,1,1" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="grayscale.psd|volume_bar_filled" offset="grayscale.psd|volume_bar_filled @ grayscale.psd|volume_region"
alignment="1,1,1,1" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<imagestyle name="handle">
<raster source="grayscale.psd|volume_bar_handle" offset="grayscale.psd|volume_bar_handle @ grayscale.psd|volume_region"
alignment="1,1,1,1" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<script name="OnInit">
:sonique.players.default.RegisterCallback("VolumeChanged","OnVolumeChanged()", this);
OnVolumeChanged();
SetHoverHint(:language.Translate("general/hint.volume"));
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("VolumeChanged", this);
</script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnPosChange">
:sonique.players.default.SetVolume( GetRealPos() );
</script>
<script name="OnVolumeChanged">
SetRealPos( :sonique.players.default.GetVolume() );
</script>
</window> <!-- volume_bar_window -->
</window><!-- volume_controls_window -->
<!-- START MINI windows -->
<window name="online_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" offset="-70,32,-16,65" alignment="0,0,0,0">
<property hover="true" />
<shape name="my_shape"><shape_roundrect corner_size="4,4" /></shape>
<imagestyle name="background">
<raster source="grayscale.psd|the_s_logo" source_offset="10,1,-1,-1" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<imagestyle name="state0"><color_rect filled="true" cornerradius="4.0" color="color2" opacity="0.45"/></imagestyle>
<imagestyle name="state1"><color_rect filled="true" cornerradius="4.0" color="color2" opacity="0.1"/></imagestyle>
<imagestyle name="theme1_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" opacity="0.45"/></imagestyle>
<imagestyle name="theme1_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" opacity="0.1"/></imagestyle>
<imagestyle name="theme2_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" opacity="0.45"/></imagestyle>
<imagestyle name="theme2_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" opacity="0.1"/></imagestyle>
<imagestyle name="theme3_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" opacity="0.45"/></imagestyle>
<imagestyle name="theme3_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" opacity="0.1"/></imagestyle>
<imagestyle name="theme4_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.45"/></imagestyle>
<imagestyle name="theme4_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.1"/></imagestyle>
<imagestyle name="theme5_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" opacity="0.45"/></imagestyle>
<imagestyle name="theme5_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" opacity="0.1"/></imagestyle>
<imagestyle name="theme6_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" opacity="0.45"/></imagestyle>
<imagestyle name="theme6_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" opacity="0.1"/></imagestyle>
<imagestyle name="theme7_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.45"/></imagestyle>
<imagestyle name="theme7_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.1"/></imagestyle>
<imagestyle name="theme8_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" opacity="0.45"/></imagestyle>
<imagestyle name="theme8_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" opacity="0.1"/></imagestyle>
<imagestyle name="theme9_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" opacity="0.45"/></imagestyle>
<imagestyle name="theme9_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" opacity="0.1"/></imagestyle>
<imagestyle name="theme10_state0"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" opacity="0.45"/></imagestyle>
<imagestyle name="theme10_state1"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" opacity="0.1"/></imagestyle>
<script name="OnIntro">SetAlignment({1,0,1,0},0,1300,"linear_accel");</script>
<script name="OnInit">
SetHoverHint(:language.Translate("defaultskin/hint.viewonline"));
</script>
<script name="OnClick">
MoveWindows("main_online_window");
</script>
<script name="OnRightButtonUp">
:sonique.LaunchLocalWindow("online_popup");
</script>
</window>
<window name="mini_online_shadow" transparent="true" alignment="0,0,0,0" offset="-71,32,-10,72" >
<imagestyle name="background"> <raster source="grayscale.psd|mini_shadow" blendmode="ps_normal" /></imagestyle>
<script name="OnIntro">SetAlignment({1,0,1,0},0,1300,"linear_accel");</script>
</window>
<window name="vis_button_window" transparent="true" shape="my_shape" alignment="0,0,0,0" offset="-70,70,-16,103" >
<shape name="my_shape"><shape_roundrect corner_size="4,4" /></shape>
<imagestyle name="background" transparent="true">
<color_rect filled="true" cornerradius="4.0" color="0xFF000000" opacity="0.3" alignment="0,0,1,1"/>
</imagestyle>
<script name="OnIntro">SetAlignment({1,0,1,0},0,1350,"linear_accel");</script>
<window name="mini_vis_window_alt" hidden="true" shape="my_shape" transparent="true" >
<shape name="my_shape"><shape_roundrect corner_size="4,4" /></shape>
<imagestyle name="background" ><raster source="grayscale.psd|vis_animation" num_frames="3" blend_frames="false" blendmode="PS_NORMAL" /></imagestyle>
<script name="OnInit" >
Animate();
</script>
<script name="Animate">
SetAnimTime(0);
SetAnimTime(30, 0, 10000,"linear_smooth", true);
</script>
</window>
<window name="mini_vis_window" hidden="true" alignment="0,0,1,1" offset="2,2,-2,-2" type="Sonique2_Visual" transparent="false" shape="my_shape" hitstyle="NONE" >
<shape name="my_shape"> <shape_roundrect corner_size="4,4" /> </shape>
<script name="OnInit">:sonique.visuals.GroupEnablePostEffect("default","10B82A0E-1B28-4F4E-AF53-145248A73AB5",false);
:sonique.visuals.GroupEnablePostEffect("default","10B82A0E-1B28-4F4E-AF53-145248A73AB5",true);</script>
</window>
<window name="vis_button" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<shape name="my_shape"><shape_roundrect corner_size="4,4" /></shape>
<imagestyle name="state0"><color_rect filled="true" cornerradius="4.0" color="color2" opacity="0.45"/></imagestyle>
<imagestyle name="state1"><color_rect filled="true" cornerradius="4.0" color="color2" opacity="0.1"/></imagestyle>
<imagestyle name="background"><color_rect filled="true" cornerradius="4.0" color="color3" opacity="0.3"/></imagestyle>
<imagestyle name="theme1_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" opacity="0.45"/></imagestyle>
<imagestyle name="theme1_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" opacity="0.1"/></imagestyle>
<imagestyle name="theme2_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" opacity="0.45"/></imagestyle>
<imagestyle name="theme2_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" opacity="0.1"/></imagestyle>
<imagestyle name="theme3_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" opacity="0.45"/></imagestyle>
<imagestyle name="theme3_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" opacity="0.1"/></imagestyle>
<imagestyle name="theme4_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.45"/></imagestyle>
<imagestyle name="theme4_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.1"/></imagestyle>
<imagestyle name="theme5_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" opacity="0.45"/></imagestyle>
<imagestyle name="theme5_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" opacity="0.1"/></imagestyle>
<imagestyle name="theme6_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" opacity="0.45"/></imagestyle>
<imagestyle name="theme6_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" opacity="0.1"/></imagestyle>
<imagestyle name="theme7_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.45"/></imagestyle>
<imagestyle name="theme7_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.1"/></imagestyle>
<imagestyle name="theme8_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" opacity="0.45"/></imagestyle>
<imagestyle name="theme8_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" opacity="0.1"/></imagestyle>
<imagestyle name="theme9_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" opacity="0.45"/></imagestyle>
<imagestyle name="theme9_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" opacity="0.1"/></imagestyle>
<imagestyle name="theme10_state0"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" opacity="0.45"/></imagestyle>
<imagestyle name="theme10_state1"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" opacity="0.1"/></imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.viewvis"));</script>
<script name="OnClick">
MoveWindows("main_vis_window");
</script>
<script name="OnRightButtonUp">
if (:sonique.InterfacePrefsGetString("main", "full_vis")) {
ToggleFullWindowVis();
}
if (currentwindows[currentwindows.ArraySize()-1] == "main_vis_window") {
main.MoveWindows("main_vis_window");
}
if (vis_button_window.enable_mini_vis_button.GetButtonState() == 1) {
vis_button_window.enable_mini_vis_button.OnClick();
}
:sonique.LaunchLocalWindow("vis_popup");
</script>
</window>
<window name="enable_mini_vis_button" type="button" hidden="true" transparent="true" hitstyle="ACTIVE" offset="-48,24,-40,30" alignment="0,0,0,0" >
<imagestyle name="state0"><raster source="grayscale.psd|hide_mini_vis" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<imagestyle name="state1"><raster source="grayscale.psd|show_mini_vis" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<script name="OnInit">
SetHoverHint(:language.Translate("defaultskin/hint.toggleminivis"));
:sonique.players.default.RegisterCallback("Playing","SmartVis()", this);
:sonique.players.default.RegisterCallback("Stopping","SmartVis()", this);
SetButtonState(:sonique.InterfacePrefsGetString("main", "mini_vis"));
SmartVis();
</script>
<script name="OnIntro">
SetAlignment({1,0,1,0},0,1450,"linear_accel");
SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel");
</script>
<script name="OnClick">
if (GetButtonState()) {
SetButtonState(0);
} else {
SetButtonState(1);
}
SmartVis();
</script>
<script name="SmartVis">
if ( (:sonique.players.default.IsPlaying()) and (GetButtonState()) and :sonique.InterfacePrefsGetString("main", "full_vis") == 0 )
{
if (currentwindows[currentwindows.ArraySize()-1] != "main_vis_window") {
mini_vis_window.Show();
mini_vis_window_alt.Hide();
}
} else {
mini_vis_window_alt.Show();
mini_vis_window_alt.Animate();
mini_vis_window.Hide();
:sonique.CompactMem(); // todo ?
}
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("Playing", this);
:sonique.players.default.UnregisterCallback("Stopping", this);
:sonique.InterfacePrefsSetString("main", "mini_vis", GetButtonState());
</script>
</window>
</window>
<window name="mini_vis_shadow" transparent="true" alignment="0,0,0,0" offset="-71,70,-10,110" >
<imagestyle name="background"> <raster source="grayscale.psd|mini_shadow" blendmode="ps_normal" /></imagestyle>
<script name="OnIntro">SetAlignment({1,0,1,0},0,1350,"linear_accel");</script>
</window>
<window name="eq_button_window" shape="my_shape" transparent="true" alignment="0,0,0,0" offset="-70,108,-16,141" >
<shape name="my_shape"><shape_roundrect corner_size="4,4" /></shape>
<script name="OnIntro">SetAlignment({1,0,1,0},0,1400,"linear_accel");</script>
<window name="mini_eq_window" transparent="true" type="Sonique2_Equalizer" offset="0,4,0,-4" alignment="0,0,1,1" hitstyle="NONE">
<property freq_string_rows="0"
freq_line_color="color3_25"
freq_line_blendmode="RGB|COPY|ALPHA_SRCALPHA"
center_line_color="color3_25"
center_line_blendmode="RGB|COPY|ALPHA_SRCALPHA"
curve_line_color="color3_50"
curve_line_blendmode="RGB|COPY|ALPHA_SRCALPHA"
border_line_color="color1"
border_line_blendmode="RGB|COPY|ALPHA_SRCALPHA"
/>
<imagestyle name="background" transparent="true" />
<script name="GetNumBands">:sonique.players.default.equalizer.GetNumBands();</script>
<script name="GetBandGain">:sonique.players.default.equalizer.GetBandGain($params[0]);</script>
<script name="SetBandGain">:sonique.players.default.equalizer.SetBandGain($params[0], $params[1]);</script>
<script name="OnInit">:sonique.players.default.equalizer.RegisterChangeCallback("", "if( $params[1] ) { UpdateDisplay(); } else { UpdateBands(); } :sonique.players.default.SendFilterMessage(\"equalizerReloadSettings\");", this);</script>
<script name="OnDestroy">:sonique.players.default.equalizer.UnregisterChangeCallback("", this);</script>
</window>
<window name="mini_eq_button" type="button" transparent="true" hitstyle="ACTIVE">
<property hover="true" />
<imagestyle name="state0"><color_rect filled="true" cornerradius="4.0" color="color2" opacity="0.45"/></imagestyle>
<imagestyle name="state1"><color_rect filled="true" cornerradius="4.0" color="color2" opacity="0.1"/></imagestyle>
<imagestyle name="background"><color_rect filled="true" cornerradius="4.0" color="color3" opacity="0.3"/></imagestyle>
<imagestyle name="theme1_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" opacity="0.45"/></imagestyle>
<imagestyle name="theme1_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" opacity="0.1"/></imagestyle>
<imagestyle name="theme2_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" opacity="0.45"/></imagestyle>
<imagestyle name="theme2_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" opacity="0.1"/></imagestyle>
<imagestyle name="theme3_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" opacity="0.45"/></imagestyle>
<imagestyle name="theme3_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" opacity="0.1"/></imagestyle>
<imagestyle name="theme4_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.45"/></imagestyle>
<imagestyle name="theme4_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.1"/></imagestyle>
<imagestyle name="theme5_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" opacity="0.45"/></imagestyle>
<imagestyle name="theme5_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" opacity="0.1"/></imagestyle>
<imagestyle name="theme6_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" opacity="0.45"/></imagestyle>
<imagestyle name="theme6_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" opacity="0.1"/></imagestyle>
<imagestyle name="theme7_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.45"/></imagestyle>
<imagestyle name="theme7_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.1"/></imagestyle>
<imagestyle name="theme8_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" opacity="0.45"/></imagestyle>
<imagestyle name="theme8_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" opacity="0.1"/></imagestyle>
<imagestyle name="theme9_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" opacity="0.45"/></imagestyle>
<imagestyle name="theme9_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" opacity="0.1"/></imagestyle>
<imagestyle name="theme10_state0"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" opacity="0.45"/></imagestyle>
<imagestyle name="theme10_state1"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" opacity="0.1"/></imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.vieweq")); </script>
<script name="OnClick">
MoveWindows("main_eq_window");
</script>
<script name="OnRightButtonUp">
:sonique.LaunchLocalWindow("eq_popup");
</script>
</window><!-- mini_eq_button -->
</window>
<window name="mini_eq_shadow" transparent="true" alignment="0,0,0,0" offset="-71,108,-10,148" >
<imagestyle name="background"> <raster source="grayscale.psd|mini_shadow" blendmode="ps_normal" /></imagestyle>
<script name="OnIntro">SetOffset({1,0,1,0},0,1400,"linear_accel");</script>
</window>
<window name="interfaces_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" offset="-70,147,-16,180" alignment="0,0,0,0">
<property hover="true" />
<shape name="my_shape"><shape_roundrect corner_size="4,4" /></shape>
<imagestyle name="background">
<raster source="grayscale.psd|mini_interfaces_front" source_offset="3,1,-1,-1" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<imagestyle name="state0"><color_rect filled="true" cornerradius="4.0" color="color2" opacity="0.45"/></imagestyle>
<imagestyle name="state1"><color_rect filled="true" cornerradius="4.0" color="color2" opacity="0.1"/></imagestyle>
<imagestyle name="theme1_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" opacity="0.45"/></imagestyle>
<imagestyle name="theme1_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" opacity="0.1"/></imagestyle>
<imagestyle name="theme2_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" opacity="0.45"/></imagestyle>
<imagestyle name="theme2_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" opacity="0.1"/></imagestyle>
<imagestyle name="theme3_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" opacity="0.45"/></imagestyle>
<imagestyle name="theme3_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" opacity="0.1"/></imagestyle>
<imagestyle name="theme4_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.45"/></imagestyle>
<imagestyle name="theme4_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.1"/></imagestyle>
<imagestyle name="theme5_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" opacity="0.45"/></imagestyle>
<imagestyle name="theme5_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" opacity="0.1"/></imagestyle>
<imagestyle name="theme6_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" opacity="0.45"/></imagestyle>
<imagestyle name="theme6_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" opacity="0.1"/></imagestyle>
<imagestyle name="theme7_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.45"/></imagestyle>
<imagestyle name="theme7_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.1"/></imagestyle>
<imagestyle name="theme8_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" opacity="0.45"/></imagestyle>
<imagestyle name="theme8_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" opacity="0.1"/></imagestyle>
<imagestyle name="theme9_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" opacity="0.45"/></imagestyle>
<imagestyle name="theme9_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" opacity="0.1"/></imagestyle>
<imagestyle name="theme10_state0"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" opacity="0.45"/></imagestyle>
<imagestyle name="theme10_state1"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" opacity="0.1"/></imagestyle>
<script name="OnIntro">
SetAlignment({1,0,1,0},0,1450,"linear_accel");
</script>
<script name="OnInit">
SetHoverHint(:language.Translate("defaultskin/hint.viewinterfaces"));
</script>
<script name="OnClick">
MoveWindows("main_interfaces_window");
</script>
<script name="OnRightButtonUp">
:sonique.LaunchInterfaceBrowserPopup();
</script>
</window>
<window name="mini_interfaces_shadow" transparent="true" alignment="0,0,0,0" offset="-71,147,-10,187" >
<imagestyle name="background"> <raster source="grayscale.psd|mini_shadow" blendmode="ps_normal" /></imagestyle>
<script name="OnIntro">SetAlignment({1,0,1,0},0,1450,"linear_accel");</script>
</window>
<window name="settings_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" offset="-70,185,-16,218" alignment="0,0,0,0">
<property hover="true" />
<shape name="my_shape"><shape_roundrect corner_size="4,4" /></shape>
<imagestyle name="background"><raster source="grayscale.psd|mini_settings_front" source_offset="13,1,-1,-1" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="state0"><color_rect filled="true" cornerradius="4.0" color="color2" opacity="0.45"/></imagestyle>
<imagestyle name="state1"><color_rect filled="true" cornerradius="4.0" color="color2" opacity="0.1"/></imagestyle>
<imagestyle name="theme1_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" opacity="0.45"/></imagestyle>
<imagestyle name="theme1_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" opacity="0.1"/></imagestyle>
<imagestyle name="theme2_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" opacity="0.45"/></imagestyle>
<imagestyle name="theme2_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" opacity="0.1"/></imagestyle>
<imagestyle name="theme3_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" opacity="0.45"/></imagestyle>
<imagestyle name="theme3_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" opacity="0.1"/></imagestyle>
<imagestyle name="theme4_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.45"/></imagestyle>
<imagestyle name="theme4_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.1"/></imagestyle>
<imagestyle name="theme5_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" opacity="0.45"/></imagestyle>
<imagestyle name="theme5_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" opacity="0.1"/></imagestyle>
<imagestyle name="theme6_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" opacity="0.45"/></imagestyle>
<imagestyle name="theme6_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" opacity="0.1"/></imagestyle>
<imagestyle name="theme7_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.45"/></imagestyle>
<imagestyle name="theme7_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" opacity="0.1"/></imagestyle>
<imagestyle name="theme8_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" opacity="0.45"/></imagestyle>
<imagestyle name="theme8_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" opacity="0.1"/></imagestyle>
<imagestyle name="theme9_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" opacity="0.45"/></imagestyle>
<imagestyle name="theme9_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" opacity="0.1"/></imagestyle>
<imagestyle name="theme10_state0"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" opacity="0.45"/></imagestyle>
<imagestyle name="theme10_state1"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" opacity="0.1"/></imagestyle>
<script name="OnIntro">
SetAlignment({1,0,1,0},0,1500,"linear_accel");
</script>
<script name="OnInit">
SetHoverHint(:language.Translate("defaultskin/hint.viewsettings"));
</script>
<script name="OnClick">
MoveWindows("main_settings_window");
</script>
<script name="OnRightButtonUp">
:sonique.LaunchLocalWindow("settings_popup");
</script>
</window>
<window name="mini_settings_shadow" transparent="true" alignment="0,0,0,0" offset="-71,185,-10,225" >
<imagestyle name="background"> <raster source="grayscale.psd|mini_shadow" blendmode="ps_normal" /></imagestyle>
<script name="OnIntro">SetAlignment({1,0,1,0},0,1500,"linear_accel");</script>
</window>
<window name="mini_icon_holder" hidden="true" transparent="true" alignment="0,1,0,1" hitstyle="NONE" offset="-86,-160,-16,-143">
<imagestyle name="background">
<color_fill color="color3" opacity="0.01"/>
</imagestyle>
<script name="OnIntro">SetAlignment({1,1,1,1},0,1500,"linear_accel");</script>
<window name="vis_icon_button" type="button" hidden="true" transparent="true" hitstyle="ACTIVE" offset="-56,1,-45,-1" alignment="1,0,1,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|vis_mini_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|vis_mini_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|vis_mini_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|vis_mini_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("defaultskin/hint.viewvis")); </script>
<script name="OnClick">vis_button_window.vis_button.OnClick();</script>
<script name="OnRightButtonUp">vis_button_window.vis_button.OnRightButtonUp();</script>
</window>
<window name="eq_icon_button" type="button" hidden="true" transparent="true" hitstyle="ACTIVE" offset="-42,1,-31,-1" alignment="1,0,1,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|eq_mini_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|eq_mini_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|eq_mini_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|eq_mini_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("defaultskin/hint.vieweq")); </script>
<script name="OnClick">eq_button_window.mini_eq_button.OnClick();</script>
<script name="OnRightButtonUp">eq_button_window.mini_eq_button.OnRightButtonUp();</script>
</window>
<window name="interfaces_icon_button" type="button" hidden="true" transparent="true" hitstyle="ACTIVE" offset="-28,1,-17,-1" alignment="1,0,1,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|skins_mini_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|skins_mini_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|skins_mini_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|skins_mini_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("defaultskin/hint.viewinterfaces")); </script>
<script name="OnClick">interfaces_button_window.OnClick();</script>
<script name="OnRightButtonUp">interfaces_button_window.OnRightButtonUp();</script>
</window>
<window name="settings_icon_button" type="button" hidden="false" transparent="true" hitstyle="ACTIVE" offset="-14,1,-2,-1" alignment="1,0,1,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|setup_mini_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|setup_mini_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|setup_mini_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|setup_mini_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("defaultskin/hint.viewsettings"));</script>
<script name="OnClick">settings_button_window.OnClick();</script>
<script name="OnRightButtonUp">settings_button_window.OnRightButtonUp();</script>
</window>
</window>
<window name="playlist_button_window" type="button" hidden="true" transparent="true" hitstyle="ACTIVE" offset="-102,-143,-15,-95" alignment="1,1,1,1" shape="my_shape">
<property
hover ="true"
default_delay ="150"
text ="Playlist"
font_style ="my_font_10"
font_color ="color3"
font_justification="left"
text_offset_rect="18,2,-2,-26"
/>
<shape name="my_shape"><shape_raster source="grayscale.psd|playlist_background_shape" /></shape>
<imagestyle name="background">
<color_fill color color="color3" opacity="0.01"/>
<raster
source ="grayscale.psd|playlist_window_front_line"
offset ="grayscale.psd|playlist_window_front_line @ grayscale.psd|playlist_background_shape"
alignment ="1,1,1,1"
blendmode ="ps_normal"
opacity ="0.15"
/>
<raster
state ="hit,hover"
source ="grayscale.psd|mini_playlist_icon"
offset ="grayscale.psd|mini_playlist_icon @ grayscale.psd|playlist_background_shape"
alignment ="1,1,1,1"
blendmode ="ps_normal"
opacity ="0.75"
/>
<raster
state ="normal"
source ="grayscale.psd|playlist_window_front_line"
offset ="grayscale.psd|playlist_window_front_line @ grayscale.psd|playlist_background_shape"
alignment ="1,1,1,1"
blendmode ="ps_normal"
opacity ="0.10"
/>
<raster
state ="normal"
source ="grayscale.psd|mini_playlist_icon"
offset ="grayscale.psd|mini_playlist_icon @ grayscale.psd|playlist_background_shape"
alignment ="1,1,1,1"
blendmode ="ps_normal"
opacity ="1.0"
/>
</imagestyle>
<imagestyle name="state0"><color_fill color="color2" opacity="0.45"/></imagestyle>
<imagestyle name="state1"><color_fill color="color2" opacity="0.1"/></imagestyle>
<imagestyle name="theme1_state0"><color_fill color="0xFF99EE00" opacity="0.45"/></imagestyle>
<imagestyle name="theme1_state1"><color_fill color="0xFF99EE00" opacity="0.1"/></imagestyle>
<imagestyle name="theme2_state0"><color_fill color="0xFFB83F3F" opacity="0.45"/></imagestyle>
<imagestyle name="theme2_state1"><color_fill color="0xFFB83F3F" opacity="0.1"/></imagestyle>
<imagestyle name="theme3_state0"><color_fill color="0xFFCBFF66" opacity="0.45"/></imagestyle>
<imagestyle name="theme3_state1"><color_fill color="0xFFCBFF66" opacity="0.1"/></imagestyle>
<imagestyle name="theme4_state0"><color_fill color="0xFFFF0000" opacity="0.45"/></imagestyle>
<imagestyle name="theme4_state1"><color_fill color="0xFFFF0000" opacity="0.1"/></imagestyle>
<imagestyle name="theme5_state0"><color_fill color="0xFFBBBBBB" opacity="0.45"/></imagestyle>
<imagestyle name="theme5_state1"><color_fill color="0xFFBBBBBB" opacity="0.1"/></imagestyle>
<imagestyle name="theme6_state0"><color_fill color="0xFF00CCFF" opacity="0.45"/></imagestyle>
<imagestyle name="theme6_state1"><color_fill color="0xFF00CCFF" opacity="0.1"/></imagestyle>
<imagestyle name="theme7_state0"><color_fill color="0xFFFF0000" opacity="0.45"/></imagestyle>
<imagestyle name="theme7_state1"><color_fill color="0xFFFF0000" opacity="0.1"/></imagestyle>
<imagestyle name="theme8_state0"><color_fill color="0xFF00B200" opacity="0.45"/></imagestyle>
<imagestyle name="theme8_state1"><color_fill color="0xFF00B200" opacity="0.1"/></imagestyle>
<imagestyle name="theme9_state0"><color_fill color="0xFF588FBA" opacity="0.45"/></imagestyle>
<imagestyle name="theme9_state1"><color_fill color="0xFF588FBA" opacity="0.1"/></imagestyle>
<imagestyle name="theme10_state0"><color_fill color="theme10_color2" opacity="0.45"/></imagestyle>
<imagestyle name="theme10_state1"><color_fill color="theme10_color2" opacity="0.1"/></imagestyle>
<script name="OnInit">
SetHoverHint(:language.Translate("defaultskin/hint.viewplaylist"));
SetText(:language.Translate("topmenu/view.playlist"));
</script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="OnClick">
if (currentwindows[currentwindows.ArraySize()-1] == "main_playlist_window") {
SetHoverHint(:language.Translate("defaultskin/hint.hideplaylist"));
} else {
SetHoverHint(:language.Translate("defaultskin/hint.viewplaylist"));
}
MoveWindows("main_playlist_window");
</script>
<script name="OnRightButtonUp">
:sonique.LaunchLocalWindow("playlist_popup");
</script>
<window name="file_count_window" transparent="true" type="textdisplay" alignment="0,0,1,0" offset="4,25,-4,35" >
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center|trim_char" />
<script name="OnInit">
:sonique.playlists.default.RegisterCallback("ItemsAdded", "UpdateText()", this);
:sonique.playlists.default.RegisterCallback("ItemsRemoved", "UpdateText()", this);
:sonique.playlists.default.RegisterCallback("AllItemsRemoved", "UpdateText()", this);
UpdateText();
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("ItemsAdded", this);
:sonique.players.default.UnregisterCallback("ItemsRemoved", this);
:sonique.players.default.UnregisterCallback("AllItemsRemoved", this);
</script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="UpdateText"> SetText( :language.Translate("playlistwindow/label.numfiles") | " " | :sonique.playlists.default.GetCount()); </script>
</window>
<window name="total_time_window" transparent="true" type="textdisplay" alignment="0,0,1,0" offset="4,35,-8,45" >
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center|trim_char" />
<script name="OnInit">
:sonique.playlists.default.RegisterCallback("ItemsAdded", "UpdateText()", this);
:sonique.playlists.default.RegisterCallback("ItemsRemoved", "UpdateText()", this);
:sonique.playlists.default.RegisterCallback("ItemsUpdated", "UpdateText()", this);
:sonique.playlists.default.RegisterCallback("AllItemsRemoved", "UpdateText()", this);
:sonique.playlists.default.RegisterCallback("ScanningStarted", "UpdateText()", this);
:sonique.playlists.default.RegisterCallback("ScanningFinished", "UpdateText()", this);
UpdateText();
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("ItemsAdded", this);
:sonique.players.default.UnregisterCallback("ItemsRemoved", this);
:sonique.players.default.UnregisterCallback("ItemsUpdated", this);
:sonique.players.default.UnregisterCallback("ItemsAdded", this);
:sonique.players.default.UnregisterCallback("AllItemsRemoved", this);
:sonique.players.default.UnregisterCallback("ScanningStarted", this);
:sonique.players.default.UnregisterCallback("ScanningFinished", this);
</script>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
<script name="UpdateText">
if( :sonique.playlists.default.IdleScanningIsActive() ) {
$str=:language.Translate("playlistwindow/label.scantotal");
} else {
$str=:language.Translate("playlistwindow/label.total");
};
SetText( :sonique.player.GetTotalTimeString( "", :sonique.playlists.default.Name()) ); </script>
</window>
</window> <!-- playlist_button_window -->
<window name="playlist_button_shadow" hidden="true" transparent="true" alignment="1,1,1,1" offset="-103,-143,-9,-87" >
<imagestyle name="background"> <raster source="grayscale.psd|playlist_button_shadow" blendmode="ps_normal" /></imagestyle>
<script name="OnIntro">SetOpacity(0.0); Show(); SetOpacity(1.0,0,1500,"linear_accel"); </script>
</window>
<!-- END MINI windows -->
<window name="info_window" hidden="true" shape="my_shape" alignment="0,1,0,1" hitstyle="info_window_hitstyle" transparent="true" offset="180,-102,348,-20" >
<shape name="my_shape"> <shape_roundrect corner_size="8,8" /></shape>
<imagestyle name="background">
<color_rect color="color2" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color3" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_rect color="0xFF303030" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.65" />
<color_rect color="0xFF99EE00" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_rect color="0xFFB83F3F" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_rect color="0xFFCBFF66" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_rect color="0xFFFF0000" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_rect color="0xFFBBBBBB" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_rect color="0xFF00CCFF" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_rect color="0xFFFF0000" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_rect color="0xFF00B200" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_rect color="0xFF588FBA" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_rect color="theme10_color2" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color3" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<script name="OnInit">
visible = 0;
:sonique.players.default.RegisterCallback("CurrentIDChanged", "UpdateText()", this);
:sonique.players.default.RegisterCallback("Stopping", "UpdateText()", this);
UpdateText();
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("CurrentIDChanged", this);
:sonique.players.default.RegisterCallback("Stopping", this);
</script>
<script name="UpdateText">
$file=0;
if (:sonique.players.default.IsPlaying()) {
$file = :sonique.players.default.GetInfo()[0];
}
else {
if (:sonique.playlists.default.GetCount() gt 0) {
$file = :sonique.playlists.default.GetUIDInfo(main.main_playlist_window.playlist_window.GetCurrentItem());
}
}
if($file != 0) {
if ($file["extension"] != ".mp3") {
tagedit_icon_window.Hide();
} else {
tagedit_icon_window.Show();
}
} else {
tagedit_icon_window.Hide();
}
if (:sonique.players.default.IsPlaying()) {
// name instead of path?
//title_window.SetText(:sonique.player.GetTitleString("%?(title){%(title)}{%(path)}"));
title_window.SetText(:sonique.player.GetTitleString("%(name)"));
//author_year_window.SetText(:sonique.player.GetTitleString("%?(artist){%(artist)%?(album){ - %(album)}}{%(album)}"));
//author_year_window.SetText(:sonique.player.GetTitleString("%?(year){%(year)%?(album){ - %(album)}}{%(album)}"));
$album = :sonique.player.GetTitleString("%(album)");
if ( $album ) {
author_year_window.SetText($album);
} else {
author_year_window.SetText(:language.Translate("defaultskin/info.noalbum"));
}
$format = :sonique.player.GetInfoString("%(format)");
if ( $format ) {
format_window.SetText($format);
} else {
format_window.SetText(:language.Translate("defaultskin/info.noformat"));
}
// working around a bug in GetInfoString
//$rates = :sonique.player.GetInfoString("%?(bitrate){%(bitrate)Kbps %(samplerate)KHz }%(Channels)");
$rates = :sonique.player.GetInfoString("%?(bitrate){%(bitrate)Kbps %(samplerate)KHz %(Channels)}");
if ( $rates ) {
file_info_window.SetText($rates);
} else {
file_info_window.SetText(:language.Translate("defaultskin/info.norates"));
}
}
else {
title_window.SetText("");
author_year_window.SetText(:language.Translate("defaultskin/info.noalbum"));
format_window.SetText(:language.Translate("defaultskin/info.noformat"));
file_info_window.SetText(:language.Translate("defaultskin/info.norates"));
}
</script>
<window name="info_icon_window" transparent="true" offset="5,5,17,17" alignment="0,0,0,0" >
<imagestyle name="background"> <raster source="grayscale.psd|small_info_icon" blendmode="ps_normal" /></imagestyle>
</window>
<window name="dotted_line_window" transparent="true" offset="0,20,0,21" alignment="0,0,1,0" >
<imagestyle name="background"> <raster source="grayscale.psd|dotted_line" fillmode="tile" tile_size="2,1" blendmode="ps_normal" /></imagestyle>
</window>
<window name="tagedit_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="20,5,38,17" alignment="0,0,0,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|edit_info_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|edit_info_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|edit_info_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|edit_info_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("playlistwindow/track.editinfo")); </script>
<script name="OnClick">
if (:sonique.players.default.IsPlaying()) {
:sonique.ID3Editor.path = :sonique.players.default.GetInfo()[0]["url"];
}
else {
:sonique.ID3Editor.path = :sonique.playlists.default.GetUIDInfo(main.main_playlist_window.playlist_window.GetCurrentItem())["url"]
}
:sonique.LaunchID3EditPopup();
</script>
</window>
<window name="close_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-20,5,-5,17" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|close_info_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|close_info_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|close_info_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|close_info_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.hideinfowindow")); </script>
<script name="OnClick">
main.advanced_icons_window.info_button_window.OnClick();
</script>
</window>
<window name="title_window" transparent="true" type="textdisplay" offset="8,-58,-5,-46" alignment="0,1,1,1">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center|single_line_only|trim_chars_w_ellipses" />
</window>
<window name="author_year_window" transparent="true" type="textdisplay" offset="8,-44,-5,-32" alignment="0,1,1,1">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center|single_line_only|trim_chars_w_ellipses" />
</window>
<window name="format_window" transparent="true" type="textdisplay" offset="8,-30,-5,-18" alignment="0,1,1,1">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center|single_line_only|trim_chars_w_ellipses" />
</window>
<window name="file_info_window" transparent="true" type="textdisplay" offset="8,-16,-5,-4" alignment="0,1,1,1">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center|single_line_only|trim_chars_w_ellipses" />
</window>
</window> <!-- info_window -->
<window name="copyright_window" hidden="true" shape="my_shape" alignment="0,0,0,0" hitstyle="drag" transparent="true" offset="50,50,250,130" >
<shape name="my_shape"> <shape_roundrect corner_size="8,8" /></shape>
<imagestyle name="background">
<color_rect color="color2" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color3" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_rect color="0xFF303030" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.65" />
<color_rect color="0xFF99EE00" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_rect color="0xFFB83F3F" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_rect color="0xFFCBFF66" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_rect color="0xFFFF0000" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_rect color="0xFFBBBBBB" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_rect color="0xFF00CCFF" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_rect color="0xFFFF0000" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_rect color="0xFF00B200" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_rect color="0xFF588FBA" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_rect color="theme10_color2" filled="true" cornerradius="8.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color3" cornerradius="8.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<script name="OnInit">
visible=0;
</script>
<window name="copyright_title" transparent="true" type="textdisplay" offset="5,5,200,15" alignment="0,0,0,0">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center|single_line_only|trim_chars_w_ellipses" />
<script name="OnInit">
SetText("Sonique2");
</script>
</window>
<window name="dotted_copy_line_window" transparent="true" offset="0,20,0,21" alignment="0,0,1,0" >
<imagestyle name="background"> <raster source="grayscale.psd|dotted_line" fillmode="tile" tile_size="2,1" blendmode="ps_normal" /></imagestyle>
</window>
<window name="close_copy_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-20,5,-5,17" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|close_info_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|close_info_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|close_info_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|close_info_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.hidecopywindow")); </script>
<script name="OnClick">
main.sonique_logo_window.OnClick();
</script>
</window>
<window name="copyright" transparent="true" type="textdisplay" offset="8,22,-5,-4" alignment="0,0,1,1">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_top" />
<script name="OnInit">
SetText("⌐ Copyright 2003\nLycos, Inc. All Rights Reserved\nLycos« is a registered trademark of Carnegie Mellon University.");
</script>
</window>
</window> <!-- info_window -->
</window> //end it all
<!--
*******************************************************************************************************************************
*******************************************************************************************************************************
** **
** POPUPS **
** **
*******************************************************************************************************************************
*******************************************************************************************************************************
-->
<window name="song_popup" default_size="200,60" transparent="true" hitstyle="none">
<imagestyle name="background">
<color_fill color="color1" />
<color_rect color="color3" />
<color_fill color="color2" opacity="0.50" />
</imagestyle>
<imagestyle name="theme1">
<color_fill color="0xFF303030" />
<color_rect color="0xFFFFFFFF" />
<color_fill color="0xFF99EE00" opacity="0.50" />
</imagestyle>
<imagestyle name="theme2">
<color_fill color="0xFFFF9900" />
<color_rect color="0xFFFFFFFF" />
<color_fill color="0xFFB83F3F" opacity="0.50" />
</imagestyle>
<imagestyle name="theme3">
<color_fill color="0xFF28497F" />
<color_rect color="0xFFFFFFFF" />
<color_fill color="0xFFCBFF66" opacity="0.50" />
</imagestyle>
<imagestyle name="theme4">
<color_fill color="0xFF000000" />
<color_rect color="0xFFFFFFFF" />
<color_fill color="0xFFFF0000" opacity="0.50" />
</imagestyle>
<imagestyle name="theme5">
<color_fill color="0xFF888888" />
<color_rect color="0xFFFFFFFF" />
<color_fill color="0xFFBBBBBB" opacity="0.50" />
</imagestyle>
<imagestyle name="theme6">
<color_fill color="0xFF303030" />
<color_rect color="0xFFFFFFFF" />
<color_fill color="0xFF00CCFF" opacity="0.50" />
</imagestyle>
<imagestyle name="theme7">
<color_fill color="0xFF606060" />
<color_rect color="0xFFFFFFFF" />
<color_fill color="0xFFFF0000" opacity="0.50" />
</imagestyle>
<imagestyle name="theme8">
<color_fill color="0xFF143B14" />
<color_rect color="0xFFFFFFFF" />
<color_fill color="0xFF00B200" opacity="0.50" />
</imagestyle>
<imagestyle name="theme9">
<color_fill color="0xFF303030" />
<color_rect color="0xFFFFFFFF" />
<color_fill color="0xFF588FBA" opacity="0.50" />
</imagestyle>
<imagestyle name="theme10">
<color_fill color="theme10_color1" />
<color_rect color="theme10_color3" />
<color_fill color="theme10_color2" opacity="0.50" />
</imagestyle>
<script name="OnInit">
SetOpacity(0,0);
SetInputFocus(false);
SetLocation({:app.GetScreenDimensions()[0][2]-120,:app.GetScreenDimensions()[0][3]-:sonique.InterfacePrefsGetString("song_popup", "offset")});
SetImageStyle("background","theme" | :sonique.prefs.GetString("misc", "theme"));
Show();
SetAlwaysOnTop(true);
name.SetText("Sonique2");
title.SetText("Track:");
artist.SetText("Artist:");
album.SetText("Album:");
Update();
SetOpacity(1,0,1000,"linear_accel",false);
</script>
<script name="SongOnInit">
:system.timer.UnsetTimer("songintro", this);
SetOpacity(0,0,1000,"linear_accel",false);
:system.timer.SetTimer("kill", 1000, "DestroyWindow();", this, false);
</script>
<script name="Update">
:system.timer.SetTimer("songintro", 4000, "SongOnInit();", this, false);
SetSize( {100,65} );
$info = :sonique.players.default.GetInfo()["info"];
if ( $info["title"] ) {
$selcont = {$info["title"], $info["artist"]};
} else {
$selcont = {$info["filename"], $info["artist"]};
}
if ( $info.IsValidIndex("album") ) {
$selcont |= {$info["album"]};
}
info.SetAllItems($selcont);
:system.timer.SetTimer( "resizeTimer", 10, "SetTehSize();", this, false);
</script>
<script name="SetTehSize">
:system.timer.UnsetTimer( "resizeTimer", this );
$screen = :app.GetScreenDimensions()[0];
$sizeX = 50 + info.GetVirtSize()[0];
SetSize( {$sizeX, 65} );
SetLocation( {$screen["right"]-$sizeX-20, $screen["bottom"]-:sonique.InterfacePrefsGetString("song_popup", "offset")} );
</script>
<window name="name" type="TextDisplay" offset="3,0,55,15" transparent="true" >
<property font_color="#FFFFFF"
font_justification= "left|v_center"
scroll_mode="none"
/>
</window>
<window name="title" type="TextDisplay" offset="1,16,52,32" transparent="true">
<property font_color="#FFFFFF"
font_justification= "right|v_center"
scroll_mode="none"
/>
</window>
<window name="artist" type="TextDisplay" offset="3,33,52,49" transparent="true">
<property font_color="#FFFFFF"
font_justification= "right"
scroll_mode="none"
/>
</window>
<window name="album" type="TextDisplay" offset="1,49,52,65" transparent="true">
<property font_color="#FFFFFF"
font_justification= "right"
scroll_mode="none"
/>
</window>
<window name="info" type="SelectionList" alignment="0,0,1,0" offset="50,16,0,65" transparent="true" hitstyle="none">
<imagestyle name="img_item_off" transparent="true" />
<imagestyle name="img_item_on" transparent="true" />
<property font_color="#FFFFFF" textshadow="false" selection_type="none" />
</window>
</window>
<!-- popup windows -->
<shape name="popup_chassis_shape">
<shape_raster
source ="popup.psd|chassis"
alignment ="0,0,1,1"
fillmode ="resize"
inner_rect ="40,45,100,100"
outer_rect ="popup.psd|chassis"
/>
</shape>
<window name="playlist_popup" hitstyle="frame_hitstyle" shape="popup_chassis_shape" transparent="false" default_size="485,365" min_size="400,200">
<imagestyle name="background">
<raster
source ="popup.psd|chassis"
offset ="0,0,0,0"
alignment ="0,0,1,1"
blendmode ="ps_normal"
fillmode ="resize" opacity="1"
inner_rect ="40,45,100,100"
outer_rect ="popup.psd|chassis"
/>
</imagestyle>
<hitstyle name="frame_hitstyle" default_hitcode="DRAG" >
<hitcode type="LEFT">
<shape>
<shape_rect alignment="0,0,0,1" offset="0,0,5,0" />
</shape>
</hitcode>
<hitcode type="BOTTOM">
<shape>
<shape_rect alignment="0,1,1,1" offset="0,-5,0,0" />
</shape>
</hitcode>
<hitcode type="TOP">
<shape>
<shape_rect alignment="0,0,1,0" offset="0,0,0,5" />
</shape>
</hitcode>
<hitcode type="RIGHT">
<shape>
<shape_rect alignment="1,0,1,1" offset="-5,0,0,0" />
</shape>
</hitcode>
<hitcode type="BOTTOMRIGHT">
<shape>
<shape_rect alignment="1,1,1,1" offset="-20,-20,0,0" />
</shape>
</hitcode>
</hitstyle>
<!-- monitor dock points -->
<dock_point type="slave" name="MonitorUL" alignment="0,0,0,0" />
<dock_point type="slave" name="MonitorTC" alignment="0.5,0,0.5,0" />
<dock_point type="slave" name="MonitorUR" alignment="1,0,1,0" />
<dock_point type="slave" name="MonitorLL" alignment="0,1,0,1" />
<dock_point type="slave" name="MonitorBC" alignment="0.5,1,0.5,1" />
<dock_point type="slave" name="MonitorLR" alignment="1,1,1,1" />
<dock_point type="slave" name="MonitorRC" alignment="1,0.5,1,0.5" />
<dock_point type="slave" name="MonitorLC" alignment="0,0.5,0,0.5" />
<!-- master dock points -->
<dock_point type="master" name="Popup_UL" alignment="0,0,0,0" />
<dock_point type="master" name="Popup_TC" alignment="0.5,0,0.5,0" />
<dock_point type="master" name="Popup_UR" alignment="1,0,1,0" />
<dock_point type="master" name="Popup_LL" alignment="0,1,0,1" />
<dock_point type="master" name="Popup_BC" alignment="0.5,1,0.5,1" />
<dock_point type="master" name="Popup_LR" alignment="1,1,1,1" />
<dock_point type="master" name="Popup_RC" alignment="1,0.5,1,0.5" />
<dock_point type="master" name="Popup_LC" alignment="0,0.5,0,0.5" />
<!-- slave to other popups -->
<dock_point type="slave" name="Popup_UL" alignment="1,0,1,0" />
<dock_point type="slave" name="Popup_UL" alignment="0,1,0,1" />
<dock_point type="slave" name="Popup_UR" alignment="0,0,0,0" />
<dock_point type="slave" name="Popup_UR" alignment="1,1,1,1" />
<dock_point type="slave" name="Popup_LL" alignment="0,0,0,0" />
<dock_point type="slave" name="Popup_LL" alignment="1,1,1,1" />
<dock_point type="slave" name="Popup_LR" alignment="0,1,0,1" />
<dock_point type="slave" name="Popup_LR" alignment="1,0,1,0" />
<!-- slave to the main window -->
<dock_point type="slave" name="Main_UL" alignment="1,0,1,0" />
<dock_point type="slave" name="Main_UL" alignment="0,1,0,1" />
<dock_point type="slave" name="Main_UR" alignment="0,0,0,0" />
<dock_point type="slave" name="Main_UR" alignment="1,1,1,1" />
<dock_point type="slave" name="Main_LL" alignment="0,0,0,0" />
<dock_point type="slave" name="Main_LL" alignment="1,1,1,1" />
<dock_point type="slave" name="Main_LR" alignment="0,1,0,1" />
<dock_point type="slave" name="Main_LR" alignment="1,0,1,0" />
<script name="OnInit">
rightQuadReady = 1;
// todo deal with FPS better - user settings
SetDesiredFPS(45);
SetWindowTitle(:language.Translate("topmenu/view.playlist"),true);
StartIntro();
:sonique.InterfacePrefsCreateSection("playlist_popup");
$size = :sonique.InterfacePrefsGetStringArray("playlist_popup", "size");
if ($size.IsArray() == true) {
if ( ($size[0] gt 0) and ($size[1] gt 0) ){
// todo - fix bug where if SetSize comes to early, the OS window shape sometimes isn't updated. grrr...
SetSize($size, 0, 0, "linear_accel");
}
}
$location = :sonique.InterfacePrefsGetStringArray("playlist_popup", "location");
if ($location.IsArray()) {
$dim = :app.GetScreenDimensions();
if ( ($location[0] gte $dim[0]["left"]) and ($location[1] gte $dim[0]["top"]) ) {
if ( ($location[0] lt $dim[0]["right"]) and ($location[1] lt $dim[0]["bottom"]) ) {
SetLocation($location);
}
}
}
if( :sonique.InterfacePrefsGetString("playlist_popup", "alwaysontop") ) { SetAlwaysOnTop( 1 ); }
else { SetAlwaysOnTop( 0 ); }
// hotkeys
$section = "sonique/gui/slate/hotkeys";
:sonique.prefs.CreateSection($section);
alwaysontop = :sonique.prefs.GetString($section, "alwaysontop");
if (alwaysontop) { :app.RegisterWindowKeyScript( alwaysontop, "SetAlwaysOnTop(!GetAlwaysOnTop());", this ); }
theme = :sonique.prefs.GetString("misc", "theme");
SetTheme();
</script>
<script name="OnDestroy">
$size = GetSize();
:sonique.InterfacePrefsSetStringArray("playlist_popup", "size", $size);
$location = GetLocation();
:sonique.InterfacePrefsSetStringArray("playlist_popup", "location", $location );
:sonique.InterfacePrefsSetString("playlist_popup", "alwaysontop", GetAlwaysOnTop());
// hotkeys
if (alwaysontop) { :app.UnregisterWindowKeyScript( alwaysontop, "SetAlwaysOnTop(!GetAlwaysOnTop());", this ); }
</script>
<script name="OnAlwaysOnTopChange">
window_controls_window.always_on_top_button_window.UpdateAlwaysOnTopState($params[0]);
</script>
<script name="OnActivate">
background_window.left_quadrant_window.SetOffset({12,32,20,-110},0,1000,"linear_decel");
if (rightQuadReady == 1) { background_window.right_quadrant_window.MoveSomething(1000); }
window_controls_window.help_button_window.SetOpacity(1.0);
window_controls_window.always_on_top_button_window.SetOpacity(1.0);
window_controls_window.minimize_button_window.SetOpacity(1.0);
window_controls_window.close_button_window.SetOpacity(1.0);
</script>
<script name="OnDeactivate">
background_window.left_quadrant_window.SetOffset({12,1112,20,20},0,1000,"linear_accel" );
if (rightQuadReady == 1) { background_window.right_quadrant_window.MoveSomething(1000); }
window_controls_window.help_button_window.SetOpacity(0.5);
window_controls_window.always_on_top_button_window.SetOpacity(0.5);
window_controls_window.minimize_button_window.SetOpacity(0.5);
window_controls_window.close_button_window.SetOpacity(0.5);
</script>
<script name="AttachWindow">
// find main and tell it to show me
$bFound = false;
foreach ($window in :app.interfaces["teamsonique/default_interface/Sonique2Default"].windows ) {
if ($window.Name() == "main") {
$bFound = true;
$window.AttachPopup(Name());
}
}
if ($bFound == false) {
// launch main and try it again.
:sonique.InterfacePrefsSetString("main", "currentwindow", "main_playlist_window");
:sonique.LaunchAppWindow("Default Skin");
}
// close me
DestroyWindow();
</script>
<script name="SetTheme">
// all popups need these:
SetMenuProperty("theme" | theme | "_popupmenu");
background_window.SetImageStyle("background","theme" | theme);
title_window.SetImageStyle("background","theme" | theme);
status_display_window.SetImageStyle("background","theme" | theme);
container.main_playlist_window.playlist_window.SetImageStyle("background", "theme" | theme);
container.main_playlist_window.playlist_progressbar_window.SetImageStyle("barempty", "theme" | theme | "_barempty");
container.main_playlist_window.playlist_progressbar_window.SetImageStyle("barfilled", "theme" | theme | "_barfilled");
</script>
<window name="background_window" transparent="true" shape="background_shape" _hitstyle="DRAG">
<shape name="background_shape">
<shape_raster
fillmode ="resize"
alignment ="0,0,1,1"
source ="popup.psd|backgound_color_region"
source_offset ="popup.psd|backgound_color_region @ popup.psd|chassis"
inner_rect ="40,45,100,100"
outer_rect ="popup.psd|chassis"
/>
</shape>
<imagestyle name="background"><color_fill color="color1" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme1"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme2"><color_fill color="0xFFFF9900" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme3"><color_fill color="0xFF28497F" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme4"><color_fill color="0xFF000000" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme5"><color_fill color="0xFF888888" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme6"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme7"><color_fill color="0xFF606060" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme8"><color_fill color="0xFF143B14" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme9"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme10"><color_fill color="theme10_color1" alignment="0,0,1,1"/></imagestyle>
<window name="main_background_grid" transparent="true" >
<imagestyle name="background" transparent="true"><raster source="popup.psd|background_tile_grid" opacity="0.1" fillmode="tile" blendmode="ps_normal" /></imagestyle>
</window>
<window name="display_lines_window" transparent="true" _hitstyle="ACTIVE">
<imagestyle name="background">
<raster source="popup.psd|display_corner_top_left" offset="popup.psd|display_corner_top_left @ popup.psd|chassis" alignment="0,0,0,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_corner_top_right" offset="popup.psd|display_corner_top_right @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_corner_bottom_right" offset="popup.psd|display_corner_bottom_right @ popup.psd|chassis" alignment="1,1,1,1" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_line_over_mini_windows" offset="popup.psd|display_line_over_mini_windows @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_top_line_level_1" offset="popup.psd|display_top_line_level_1 @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source = "popup.psd|display_vertical_left_line" offset="popup.psd|display_vertical_left_line @ popup.psd|chassis" alignment="0,1,0,1" blendmode = "ps_normal" opacity="0.45" />
<!-- main left and right vertical lines -->
<color_line color="color3" alignment="0,0,0,1" offset="7,33,7,-116" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,1" offset="-9,41,-9,-36" opacity="0.45" />
<!--top horizontal lines -->
<color_line color="color3" alignment="1,0,1,0" offset="-105,26,-87,26" opacity="0.45" />
<!-- right hand tiny very line-->
<color_line color="color3" alignment="1,0,1,0" offset="-106,21,-106,25" opacity="0.45" />
<!-- lefthand tiny vert line-->
<color_line color="color3" alignment="0,0,0,0" offset="122,17,122,20" opacity="0.45" />
<!-- first long horizontal line -->
<color_line color="color3" alignment="0,0,1,0" offset="90,16,-13,16" opacity="0.45" />
<!-- second long horizontal line -->
<color_line color="color3" alignment="0,0,1,0" offset="123,20,-107,20" opacity="0.45" />
<!-- top_right_lines -->
<color_line color="color3" alignment="1,0,1,0" offset="-248,5,-9,5" opacity="0.45" />
<!-- lower hor. -->
<color_line color="color3" alignment="1,0,1,0" offset="-252,9,-89,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-17,9,-10,9" opacity="0.45" />
<!-- righthand mini vert -->
<color_line color="color3" alignment="1,0,1,0" offset="-9,6,-9,9" opacity="0.45" />
<!-- center mini verts -->
<color_line color="color3" alignment="1,0,1,0" offset="-145,6,-145,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-173,6,-173,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-123,6,-111,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-101,6,-89,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-208,6,-196,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-230,6,-218,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-251,8,-249,6" opacity="0.45" />
<!-- bottom left lines with squares -->
<color_line color="color3" alignment="0,1,0,1" offset="9,-93,,9,-19" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="10,-93,12,-93" opacity="0.45" />
<color_fill color="color3" alignment="0,1,0,1" offset="10,-74,13,-62" opacity="0.45" />
<color_fill color="color3" alignment="0,1,0,1" offset="10,-52,13,-40" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="10,-19,12,-19" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="13,-93,13,-19" opacity="0.45" />
<!-- bottom left criss cross -->
<color_line color="color3" alignment="0,1,0,1" offset="5,-15,19,-15" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="13,-17,13,-8" opacity="0.45" />
<!-- righthand criss cross lines on bottom -->
<color_line color="color3" alignment="1,1,1,1" offset="-197,-6,-167,-6" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-192,-9,-188,-9" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-191,-13,-191,0" opacity="0.45" />
<!-- bottom lines -->
<!-- horizontals -->
<!-- leaving spaces for the playbar controls -->
<color_line color="color3" alignment="1,1,1,1" offset="-191,-18,-107,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-95,-18,-90,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-78,-18,-73,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-61,-18,-56,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-44,-18,-29,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-191,-14,-130,-14" opacity="0.45" />
<!-- verts -->
<color_line color="color3" alignment="1,1,1,1" offset="-191,-17,-191,-15" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-129,-17,-129,-14" opacity="0.45" />
<!-- rects -->
<color_fill color="color3" alignment="1,1,1,1" offset="-176,-17,-164,-14" opacity="0.45" />
<color_fill color="color3" alignment="1,1,1,1" offset="-154,-17,-142,-14" opacity="0.45" />
</imagestyle>
</window> <!-- display_lines_window -->
<window name="left_quadrant_window" alignment="0,0,0,1" offset="12,2112,20,20" transparent="true" _hitstyle="ACTIVE">
<imagestyle name="background">
<raster source="popup.psd|left_quad" fillmode="tile" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<script name="OnIntro">
SetOffset({12,32,20,-115},0,1000,"linear_decel");
</script>
</window>
<window name="right_quadrant_window" transparent="true" alignment="1,0,1,1" offset="-95,-200,-87,0" _hitstyle="ACTIVE">
<imagestyle name="background"><raster source="popup.psd|right_quad" fillmode="tile" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<script name="OnInit">
position = -1;
</script>
<script name="OnIntro">
OnInit();
MoveSomething();
</script>
<script name="MoveSomething">
if ( position == -1 ) {
SetOffset({-95,0,-87,400},0,1000,"linear_decel");
position = 1;
} else {
SetOffset({-95,-400,-87,0},0,1000,"linear_decel");
position = -1;
}
</script>
</window>
</window> <!-- background_window -->
<window name="title_window" type="textdisplay" transparent="true" shape="my_shape"
alignment="0,0,1,0" offset="22,11,-259,26" >
<property font_style="my_font_10" font_color="color3" font_justification="left|v_center|single_line_only|trim_chars_w_ellipses"
edge_offset_rect="7,1,-7,-1"/>
<shape name="my_shape"><shape_roundrect corner_size="5,5" /></shape>
<imagestyle name="background">
<color_rect color="color2" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_rect color="0xFF99EE00" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_rect color="0xFFB83F3F" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_rect color="0xFFCBFF66" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_rect color="0xFFFF0000" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_rect color="0xFFBBBBBB" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_rect color="0xFF00CCFF" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_rect color="0xFFFF0000" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_rect color="0xFF00B200" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_rect color="0xFF588FBA" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_rect color="theme10_color2" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<script name="OnInit">
SetText(:language.Translate("topmenu/view.playlist"));
</script>
</window> <!-- title_window -->
<window name="status_display_window" type="Sonique2_StatusBar" transparent="true" shape="my_shape"
alignment="0,1,1,1"
offset="20,-26,-191,-10" >
<shape name="my_shape"><shape_roundrect corner_size="5,5" /></shape>
<imagestyle name="background">
<color_fill color="color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_fill color="0xFF99EE00" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_fill color="0xFFB83F3F" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_fill color="0xFFCBFF66" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_fill color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_fill color="0xFF00CCFF" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_fill color="0xFF00B200" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_fill color="0xFF588FBA" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_fill color="theme10_color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<property scroll_mode="horizontal" scroll_speed="50" whitespace="50"
rect_status_offset= "7,1,-7,-1" rect_progress_offset="7,1,-7,-1"
info_font_color="color3" info_font_style="my_font_10" info_font_justification="left|v_center|single_line_only"
error_font_color="color1" error_font_style="my_font_10" error_font_justification="left|v_center|single_line_only"
warning_font_color="color1" warning_font_style="my_font_10" warning_font_justification="left|v_center|single_line_only"
fallback_font_color="color3" fallback_font_style="my_font_10" fallback_font_justification="left|v_center|single_line_only"
/>
</window> <!-- status_display_window -->
<window name="window_controls_window" transparent="true">
<window name="help_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("general/hint.help")); // todo pl </script>
<script name="OnClick"> :sonique.LaunchHelp(); </script>
</window>
<window name="always_on_top_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
<raster state="normal" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<script name="OnInit">
$topstate = parent.parent.GetAlwaysOnTop();
if ($topstate == true) { SetButtonState(1); } else { SetButtonState(0); }
SetHoverHint(:language.Translate("topmenu/file.ontop"));
</script>
<script name="OnClick">
$topstate = parent.parent.GetAlwaysOnTop();
if ($topstate == true) {
parent.parent.SetAlwaysOnTop(0);
SetButtonState(0);
} else {
parent.parent.SetAlwaysOnTop(1);
SetButtonState(1);
}
</script>
<script name="UpdateAlwaysOnTopState">
if ($params[0] == true) { SetButtonState(1); } else { SetButtonState(0); }
</script>
</window>
<window name="minimize_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("topmenu/file.minwin")); </script>
<script name="OnClick"> parent.parent.MinimizeWindow(true); </script>
</window>
<window name="close_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("topmenu/file.closewin")); </script>
<script name="OnClick">
parent.parent.DestroyWindow();
</script>
</window>
</window> <!-- window_controls_window -->
<window name="playbar_controls_window" transparent="true">
<imagestyle name="background">
<raster opacity="0.75" source="popup.psd|control_circles" offset="popup.psd|control_circles @ popup.psd|chassis" alignment="1,1,1,1" blendmode="ps_normal" />
</imagestyle>
<window name="prev_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|prev_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|prev_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|prev_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.prevtrack")); </script>
<script name="OnClick"> :sonique.players.default.Prev();</script>
</window>
<window name="playpause_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|pause_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hover" source="popup.psd|play_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|play_button" blendmode="ps_normal" opacity="1.0" />
<raster state="hit" source="popup.psd|pause_button" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<imagestyle name="state1">
<raster state="hover" source="popup.psd|pause_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|pause_button" blendmode="ps_normal" opacity="1.0" />
<raster state="hit" source="popup.psd|play_button" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<script name="OnInit">
:sonique.players.default.RegisterCallback("Playing","UpdateState()", this);
:sonique.players.default.RegisterCallback("Stopping","UpdateState()", this);
:sonique.players.default.RegisterCallback("Pausing","UpdateState()", this);
UpdateState();
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("Playing", this);
:sonique.players.default.UnregisterCallback("Stopping", this);
:sonique.players.default.UnregisterCallback("Pausing", this);
</script>
<script name="OnClick">
if (:sonique.players.default.IsPlaying()) {
:sonique.players.default.TogglePause();
} else {
:sonique.players.default.Play();
}
UpdateState();
</script>
<script name="UpdateState">
if (:sonique.players.default.IsPlaying()) {
if (:sonique.players.default.IsPaused()) {
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.play"));
} else {
SetButtonState(1);
SetHoverHint(:language.Translate("general/hint.pause"));
}
} else {
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.play"));
}
</script>
</window>
<window name="stop_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|stop_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|stop_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|stop_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.stop")); </script>
<script name="OnClick"> :sonique.players.default.Stop(); </script>
</window>
<window name="next_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|next_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|next_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|next_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.nexttrack")); </script>
<script name="OnClick"> :sonique.players.default.Next();</script>
</window>
</window> <!-- playbar_controls_window -->
<window name="container" transparent="true" offset="25,33,-30,-35" alignment="0,0,1,1" >
<window name="main_playlist_window" alignment="0,0,1,1" transparent="true" hitstyle="ACTIVE" >
<!-- playlist window -->
<window name="playlist_window" type="Sonique2_Playlist" transparent="true" hitstyle="ACTIVE" offset="0,0,0,-28" alignment="0,0,1,1">
<imagestyle name="background"><color_fill color="color2" opacity="0.5"/></imagestyle>
<imagestyle name="theme1"><color_fill color = "0xFF99EE00" opacity="0.5"/></imagestyle>
<imagestyle name="theme2"><color_fill color = "0xFFB83F3F" opacity="0.5"/></imagestyle>
<imagestyle name="theme3"><color_fill color = "0xFFCBFF66" opacity="0.5"/></imagestyle>
<imagestyle name="theme4"><color_fill color = "0xFFFF0000" opacity="0.5"/></imagestyle>
<imagestyle name="theme5"><color_fill color = "0xFFBBBBBB" opacity="0.5"/></imagestyle>
<imagestyle name="theme6"><color_fill color = "0xFF00CCFF" opacity="0.5"/></imagestyle>
<imagestyle name="theme7"><color_fill color = "0xFFFF0000" opacity="0.5"/></imagestyle>
<imagestyle name="theme8"><color_fill color = "0xFF00B200" opacity="0.5"/></imagestyle>
<imagestyle name="theme9"><color_fill color = "0xFF588FBA" opacity="0.5"/></imagestyle>
<imagestyle name="theme10"><color_fill color = "theme10_color2" opacity="0.5"/></imagestyle>
</window>
<!-- playlist bottom controls windows -->
<window name="RandomizeButton" type="button" transparent="true" hitstyle="ACTIVE" offset="5,-23,15,-10" alignment="0,1,0,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|randomize_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|randomize_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|randomize_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|randomize_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">
SetHoverHint(:language.Translate("playlistwindow/hint.randomize"));
</script>
<script name="OnClick">:sonique.playlists.default.RandomizeList();</script>
<property hover="true" />
</window>
<window name="SortButton" type="button" transparent="true" hitstyle="ACTIVE" offset="20,-23,30,-10" alignment="0,1,0,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|sort_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|sort_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|sort_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|sort_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("playlistwindow/hint.sort")); </script>
<script name="OnClick">
:sonique.prefs.CreateSection("sonique/gui/slate/defaultsort");
$origFieldArray = :sonique.prefs.GetStringArray("sonique/gui/slate/defaultsort","Fields");
$origDirectionArray = :sonique.prefs.GetStringArray("sonique/gui/slate/defaultsort","Directions");
$ick = 0;
if ($origFieldArray.IsArray()) {
$ick = $origFieldArray.ArraySize();
if ($origDirectionArray.IsArray()) {
if ($ick != $origDirectionArray.ArraySize()) {
$origDirectionArray = 0;
}
}
}
else {
$origFieldArray = {"artist","album","track","filename"};
$ick = $origFieldArray.ArraySize();
$origDirectionArray = 0;
}
// for simplicity, assume a max of 6 fields. this logic is ugly.
if ($ick > 5) {
if ($origDirectionArray.IsArray()) {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0],$origDirectionArray[0]},{$origFieldArray[1],$origDirectionArray[1]},{$origFieldArray[2],$origDirectionArray[2]},{$origFieldArray[3],$origDirectionArray[3]},{$origFieldArray[4],$origDirectionArray[4]},{$origFieldArray[5],$origDirectionArray[5]});
}
else {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0]},{$origFieldArray[1]},{$origFieldArray[2]},{$origFieldArray[3]},{$origFieldArray[4]},{$origFieldArray[5]});
}
}
else if ($ick > 4) {
if ($origDirectionArray.IsArray()) {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0],$origDirectionArray[0]},{$origFieldArray[1],$origDirectionArray[1]},{$origFieldArray[2],$origDirectionArray[2]},{$origFieldArray[3],$origDirectionArray[3]},{$origFieldArray[4],$origDirectionArray[4]});
}
else {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0]},{$origFieldArray[1]},{$origFieldArray[2]},{$origFieldArray[3]},{$origFieldArray[4]});
}
}
else if ($ick > 3) {
if ($origDirectionArray.IsArray()) {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0],$origDirectionArray[0]},{$origFieldArray[1],$origDirectionArray[1]},{$origFieldArray[2],$origDirectionArray[2]},{$origFieldArray[3],$origDirectionArray[3]});
}
else {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0]},{$origFieldArray[1]},{$origFieldArray[2]},{$origFieldArray[3]});
}
}
else if ($ick > 2) {
if ($origDirectionArray.IsArray()) {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0],$origDirectionArray[0]},{$origFieldArray[1],$origDirectionArray[1]},{$origFieldArray[2],$origDirectionArray[2]});
}
else {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0]},{$origFieldArray[1]},{$origFieldArray[2]});
}
}
else if ($ick > 1) {
if ($origDirectionArray.IsArray()) {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0],$origDirectionArray[0]},{$origFieldArray[1],$origDirectionArray[1]});
}
else {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0]},{$origFieldArray[1]});
}
}
else if ($ick > 0) {
if ($origDirectionArray.IsArray()) {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0],$origDirectionArray[0]});
}
else {
:sonique.playlists.default.AdvancedSort({$origFieldArray[0]});
}
}
else {
// this should never happen
:sonique.playlists.default.AdvancedSort({"artist"},{"album"},{"track"},{"filename"});
}
</script>
</window>
<window name="ReverseButton" type="button" transparent="true" hitstyle="ACTIVE" offset="35,-23,45,-10" alignment="0,1,0,1">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|reverse_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|reverse_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|reverse_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|reverse_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("playlistwindow/hint.reverse")); </script>
<script name="OnClick"> :sonique.playlists.default.Reverse(); </script>
</window>
<window name="StopStartScanButton" type="button" transparent="true" hitstyle="ACTIVE" offset="50,-23,60,-10" alignment="0,1,0,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|scan_icon" num_frames="4" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|scan_icon" num_frames="4" blendmode="ps_normal"/>
</imagestyle>
<script name="OnInit">
:sonique.playlists.default.RegisterCallback("ScanningStarted","OnScanStarted()",this);
:sonique.playlists.default.RegisterCallback("ScanningFinished","OnScanFinished()",this);
if(:sonique.playlists.default.IdleScanningIsActive()){
OnScanStarted();
}
scanning=0;
SetHoverHint(:language.Translate("playlistwindow/hint.startscan"));
if(:sonique.playlists.default.CurrentlyIdleScanning()){
SetHoverHint(:language.Translate("playlistwindow/hint.stopscan"));
scanning=1;
}
</script>
<script name="OnDestroy">
:system.timer.UnsetTimer("animation_timer2", this);
:sonique.playlists.default.UnregisterCallback("ScanningStarted",this);
:sonique.playlists.default.UnregisterCallback("ScanningFinished",this);
</script>
<script name="OnScanStarted">
:system.timer.SetTimer("animation_timer2", 10000, "Animate();", this, true);
Animate();
</script>
<script name="OnScanFinished">
:system.timer.UnsetTimer("animation_timer2", this);
SetAnimTime(0,0,0,"linear_smooth", true);
</script>
<script name="Animate">
SetAnimTime(0,0,0,"linear_smooth", true);
SetAnimTime(10, 0, 10000,"linear_smooth", true);
</script>
<script name="OnClick">
if( scanning ) {
scanning=0;
:sonique.playlists.default.StopIdleScan();
SetHoverHint(:language.Translate("playlistwindow/hint.startscan"));
} else {
scanning=1;
:sonique.playlists.default.StartIdleScan();
SetHoverHint(:language.Translate("playlistwindow/hint.stopscan"));
}
</script>
</window>
<window name="playlist_progressbar_window" type="Sonique2_Progress" transparent="true" hitstyle="ACTIVE" offset="23,-7,-23,-4" alignment="0,1,1,1" >
<property orientation="left_to_right" hover="true" type="PlaylistProgress" />
<imagestyle name="barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "color3" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "color3" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "color3" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "color3" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme1_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme2_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme3_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme4_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme5_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme6_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme7_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme8_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme9_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme10_barempty"><raster source="grayscale.psd|playlist_progress_empty" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "theme10_color3" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "theme10_color3" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme1_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme2_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme3_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme4_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme5_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme6_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme7_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme8_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme9_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "0xFFFFFFFF" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "0xFFFFFFFF" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<imagestyle name="theme10_barfilled"><raster source="grayscale.psd|playlist_progress_fill" fillmode="tile" tile_size="2,1" blendmode="ps_normal" opacity="1.0" />
<color_line color = "theme10_color3" alignment = "0,0,1,0" offset="0,0,0,0" />
<color_line color = "theme10_color3" alignment = "0,1,1,1" offset="0,-1,0,-1" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("playlistwindow/hint.playlistprogress")); </script>
</window>
</window> <!-- main_playlist_window -->
</window> <!-- container -->
<window name="playlist_controls_window" transparent="true" >
<script name="OnIntro">
main_window_icon_window.SetOffset({-26,33,-15,43},0,1000,"linear_accel");
add_file_shortcut_icon_window.SetOffset({-25,53,-15,62},0,1000,"linear_accel");
add_directory_shortcut_icon_window.SetOffset({-26,66,-15,75},0,1000,"linear_accel");
append_list_shortcut_icon_window.SetOffset({-25,79,-15,88},0,1000,"linear_accel");
add_list_shortcut_icon_window.SetOffset({-25,92,-15,101},0,1000,"linear_accel");
add_cd_shortcut_icon_window.SetOffset({-25,105,-15,115},0,1000,"linear_accel");
clear_list_shortcut_icon_window.SetOffset({-25,119,-15,118},0,1000,"linear_accel");
save_list_shortcut_icon_window.SetOffset({-25,122,-15,131},0,1000,"linear_accel");
</script>
<window name="main_window_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-84,-33,-73,-43" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="popup.psd|main_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="popup.psd|main_window_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="popup.psd|main_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="popup.psd|main_window_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.attachwindow")); </script>
<script name="OnClick"> parent.parent.AttachWindow(); </script>
</window> <!-- main_window_icon_window -->
<window name="add_file_shortcut_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-82,-53,-74,-62" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|add_file_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|add_file_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|add_file_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|add_file_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("general/hint.openfiles")); </script>
<script name="OnClick"> :sonique.OpenFiles(); </script>
</window> <!-- add_file_shortcut_icon_window -->
<window name="add_directory_shortcut_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-82,-66,-71,-75" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|add_directory_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|add_directory_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|add_directory_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|add_directory_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("playlistwindow/hint.adddirectory")); </script>
<script name="OnClick">
$dir = :sonique.BrowseForFolder("Add folder...");
if ($dir) {:sonique.AddFile($dir);}
</script>
</window> <!-- add_directory_shortcut_icon_window -->
<window name="append_list_shortcut_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-82,-79,-73,-88" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|append_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|append_list_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|append_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|append_list_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("playlistwindow/hint.append"));</script>
<script name="OnClick">:sonique.LoadPlaylistFile(:sonique.playlists.default,"true");</script>
</window> <!-- append_list_shortcut_icon_window -->
<window name="add_list_shortcut_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-82,-92,-74,-101" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|add_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|add_list_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|add_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|add_list_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("playlistwindow/hint.load"));</script>
<script name="OnClick"> :sonique.LoadPlaylistFile(); </script>
</window> <!-- add_list_shortcut_icon_window -->
<window name="add_cd_shortcut_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-82,-105,-74,-114" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|cd_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|cd_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|cd_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|cd_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit">
// todo
//SetHoverHint(:language.Translate("playlistwindow/hint.addcd"));
SetHoverHint("WARNING: Not fully implemented, will Add all CD drives found.");
</script>
<script name="OnClick">
// todo - if only one drive, just add. otherwise, offer choices
$drives = :sonique.GetSystemDrives();
for ($i in 1 to $drives.ArraySize()) {
$type = $drives[$i - 1]["type"];
if ($type == "5") {
$path = $drives[$i - 1]["drive"];
//AddItem({ Text: " " | $drives[$i - 1]["drive"], Data: $drives[$i - 1]["drive"]});
:sonique.Status(:language.Translate("playlistwindow/status.addcd") | " " | $path);
:sonique.playlists.default.AddAudioCD($path);
}
}
</script>
</window>
<window name="clear_list_shortcut_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-82,-118,-74,-117" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|clear_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|clear_list_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|clear_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|clear_list_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("playlistwindow/hint.clear"));</script>
<script name="OnClick"> :sonique.playlists.default.RemoveAll(); </script>
</window>
<window name="save_list_shortcut_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-82,-121,-74,-130" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|save_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|save_list_shortcut_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|save_list_shortcut_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|save_list_shortcut_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("playlistwindow/hint.save"));</script>
<script name="OnClick"> :sonique.SavePlaylistFile(:sonique.playlists.default); </script>
</window>
</window> <!-- main_window_controls_window -->
</window> <!-- pl popup -->
<!-- eq popup -->
<window name="eq_popup" hitstyle="frame_hitstyle" shape="popup_chassis_shape" transparent="false" default_size="485,365" min_size="400,200">
<imagestyle name="background">
<raster
source ="popup.psd|chassis"
offset ="0,0,0,0"
alignment ="0,0,1,1"
blendmode ="ps_normal"
fillmode ="resize" opacity="1"
inner_rect ="40,45,100,100"
outer_rect ="popup.psd|chassis"
/>
</imagestyle>
<hitstyle name="frame_hitstyle" default_hitcode="DRAG" >
<hitcode type="LEFT">
<shape>
<shape_rect alignment="0,0,0,1" offset="0,0,5,0" />
</shape>
</hitcode>
<hitcode type="BOTTOM">
<shape>
<shape_rect alignment="0,1,1,1" offset="0,-5,0,0" />
</shape>
</hitcode>
<hitcode type="TOP">
<shape>
<shape_rect alignment="0,0,1,0" offset="0,0,0,5" />
</shape>
</hitcode>
<hitcode type="RIGHT">
<shape>
<shape_rect alignment="1,0,1,1" offset="-5,0,0,0" />
</shape>
</hitcode>
<hitcode type="BOTTOMRIGHT">
<shape>
<shape_rect alignment="1,1,1,1" offset="-20,-20,0,0" />
</shape>
</hitcode>
</hitstyle>
<!-- monitor dock points -->
<dock_point type="slave" name="MonitorUL" alignment="0,0,0,0" />
<dock_point type="slave" name="MonitorTC" alignment="0.5,0,0.5,0" />
<dock_point type="slave" name="MonitorUR" alignment="1,0,1,0" />
<dock_point type="slave" name="MonitorLL" alignment="0,1,0,1" />
<dock_point type="slave" name="MonitorBC" alignment="0.5,1,0.5,1" />
<dock_point type="slave" name="MonitorLR" alignment="1,1,1,1" />
<dock_point type="slave" name="MonitorRC" alignment="1,0.5,1,0.5" />
<dock_point type="slave" name="MonitorLC" alignment="0,0.5,0,0.5" />
<!-- master dock points -->
<dock_point type="master" name="Popup_UL" alignment="0,0,0,0" />
<dock_point type="master" name="Popup_TC" alignment="0.5,0,0.5,0" />
<dock_point type="master" name="Popup_UR" alignment="1,0,1,0" />
<dock_point type="master" name="Popup_LL" alignment="0,1,0,1" />
<dock_point type="master" name="Popup_BC" alignment="0.5,1,0.5,1" />
<dock_point type="master" name="Popup_LR" alignment="1,1,1,1" />
<dock_point type="master" name="Popup_RC" alignment="1,0.5,1,0.5" />
<dock_point type="master" name="Popup_LC" alignment="0,0.5,0,0.5" />
<!-- slave to other popups -->
<dock_point type="slave" name="Popup_UL" alignment="1,0,1,0" />
<dock_point type="slave" name="Popup_UL" alignment="0,1,0,1" />
<dock_point type="slave" name="Popup_UR" alignment="0,0,0,0" />
<dock_point type="slave" name="Popup_UR" alignment="1,1,1,1" />
<dock_point type="slave" name="Popup_LL" alignment="0,0,0,0" />
<dock_point type="slave" name="Popup_LL" alignment="1,1,1,1" />
<dock_point type="slave" name="Popup_LR" alignment="0,1,0,1" />
<dock_point type="slave" name="Popup_LR" alignment="1,0,1,0" />
<!-- slave to the main window -->
<dock_point type="slave" name="Main_UL" alignment="1,0,1,0" />
<dock_point type="slave" name="Main_UL" alignment="0,1,0,1" />
<dock_point type="slave" name="Main_UR" alignment="0,0,0,0" />
<dock_point type="slave" name="Main_UR" alignment="1,1,1,1" />
<dock_point type="slave" name="Main_LL" alignment="0,0,0,0" />
<dock_point type="slave" name="Main_LL" alignment="1,1,1,1" />
<dock_point type="slave" name="Main_LR" alignment="0,1,0,1" />
<dock_point type="slave" name="Main_LR" alignment="1,0,1,0" />
<script name="OnInit">
rightQuadReady = 1;
// todo deal with FPS better - user settings
SetDesiredFPS(45);
SetWindowTitle(:language.Translate("topmenu/view.eq"),true);
StartIntro();
:sonique.InterfacePrefsCreateSection("eq_popup");
$size = :sonique.InterfacePrefsGetStringArray("eq_popup", "size");
if ($size.IsArray() == true) {
if ( ($size[0] gt 0) and ($size[1] gt 0) ){
// todo - fix bug where if SetSize comes to early, the OS window shape sometimes isn't updated. grrr...
SetSize($size, 0, 0, "linear_accel");
}
}
$location = :sonique.InterfacePrefsGetStringArray("eq_popup", "location");
if ($location.IsArray()) {
$dim = :app.GetScreenDimensions();
if ( ($location[0] gte $dim[0]["left"]) and ($location[1] gte $dim[0]["top"]) ) {
if ( ($location[0] lt $dim[0]["right"]) and ($location[1] lt $dim[0]["bottom"]) ) {
SetLocation($location);
}
}
}
if( :sonique.InterfacePrefsGetString("eq_popup", "alwaysontop") ) { SetAlwaysOnTop( 1 ); }
else { SetAlwaysOnTop( 0 ); }
// hotkeys
$section = "sonique/gui/slate/hotkeys";
:sonique.prefs.CreateSection($section);
alwaysontop = :sonique.prefs.GetString($section, "alwaysontop");
if (alwaysontop) { :app.RegisterWindowKeyScript( alwaysontop, "SetAlwaysOnTop(!GetAlwaysOnTop());", this ); }
theme = :sonique.prefs.GetString("misc", "theme");
SetTheme();
</script>
<script name="OnDestroy">
$size = GetSize();
:sonique.InterfacePrefsSetStringArray("eq_popup", "size", $size);
$location = GetLocation();
:sonique.InterfacePrefsSetStringArray("eq_popup", "location", $location );
:sonique.InterfacePrefsSetString("eq_popup", "alwaysontop", GetAlwaysOnTop());
// hotkeys
if (alwaysontop) { :app.UnregisterWindowKeyScript( alwaysontop, "SetAlwaysOnTop(!GetAlwaysOnTop());", this ); }
</script>
<script name="OnAlwaysOnTopChange">
window_controls_window.always_on_top_button_window.UpdateAlwaysOnTopState($params[0]);
</script>
<script name="OnActivate">
background_window.left_quadrant_window.SetOffset({12,32,20,-110},0,1000,"linear_decel");
if (rightQuadReady == 1) { background_window.right_quadrant_window.MoveSomething(1000); }
window_controls_window.help_button_window.SetOpacity(1.0);
window_controls_window.always_on_top_button_window.SetOpacity(1.0);
window_controls_window.minimize_button_window.SetOpacity(1.0);
window_controls_window.close_button_window.SetOpacity(1.0);
</script>
<script name="OnDeactivate">
background_window.left_quadrant_window.SetOffset({12,1112,20,20},0,1000,"linear_accel" );
if (rightQuadReady == 1) { background_window.right_quadrant_window.MoveSomething(1000); }
window_controls_window.help_button_window.SetOpacity(0.5);
window_controls_window.always_on_top_button_window.SetOpacity(0.5);
window_controls_window.minimize_button_window.SetOpacity(0.5);
window_controls_window.close_button_window.SetOpacity(0.5);
</script>
<script name="AttachWindow">
// find main and tell it to show me
$bFound = false;
foreach ($window in :app.interfaces["teamsonique/default_interface/Sonique2Default"].windows ) {
if ($window.Name() == "main") {
$bFound = true;
$window.AttachPopup(Name());
}
}
if ($bFound == false) {
:sonique.InterfacePrefsSetString("main", "currentwindow", "main_eq_window");
:sonique.LaunchAppWindow("Default Skin");
}
// close me
DestroyWindow();
</script>
<script name="SetTheme">
// all popups need these:
SetMenuProperty("theme" | theme | "_popupmenu");
background_window.SetImageStyle("background","theme" | theme);
title_window.SetImageStyle("background","theme" | theme);
status_display_window.SetImageStyle("background","theme" | theme);
container.main_eq_window.eq_presets_window.SetImageStyle("background", "theme" | theme);
container.main_eq_window.eq_presets_window.preset_picker.SetImageStyle("img_picker_background", "theme" | theme | "_img_picker_background");
container.main_eq_window.eq_presets_window.preset_picker.SetImageStyle("img_menu_background", "theme" | theme | "_img_menu_background");
container.main_eq_window.eq_presets_window.preset_picker.SetImageStyle("img_item", "theme" | theme | "_img_item");
container.main_eq_window.eq_pab_window.SetImageStyle("background", "theme" | theme);
</script>
<window name="background_window" transparent="true" shape="background_shape" _hitstyle="DRAG">
<shape name="background_shape">
<shape_raster
fillmode ="resize"
alignment ="0,0,1,1"
source ="popup.psd|backgound_color_region"
source_offset ="popup.psd|backgound_color_region @ popup.psd|chassis"
inner_rect ="40,45,100,100"
outer_rect ="popup.psd|chassis"
/>
</shape>
<imagestyle name="background"><color_fill color="color1" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme1"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme2"><color_fill color="0xFFFF9900" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme3"><color_fill color="0xFF28497F" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme4"><color_fill color="0xFF000000" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme5"><color_fill color="0xFF888888" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme6"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme7"><color_fill color="0xFF606060" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme8"><color_fill color="0xFF143B14" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme9"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme10"><color_fill color="theme10_color1" alignment="0,0,1,1"/></imagestyle>
<window name="main_background_grid" transparent="true" >
<imagestyle name="background" transparent="true"><raster source="popup.psd|background_tile_grid" opacity="0.1" fillmode="tile" blendmode="ps_normal" /></imagestyle>
</window>
<window name="display_lines_window" transparent="true" _hitstyle="ACTIVE">
<imagestyle name="background">
<raster source="popup.psd|display_corner_top_left" offset="popup.psd|display_corner_top_left @ popup.psd|chassis" alignment="0,0,0,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_corner_top_right" offset="popup.psd|display_corner_top_right @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_corner_bottom_right" offset="popup.psd|display_corner_bottom_right @ popup.psd|chassis" alignment="1,1,1,1" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_line_over_mini_windows" offset="popup.psd|display_line_over_mini_windows @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_top_line_level_1" offset="popup.psd|display_top_line_level_1 @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source = "popup.psd|display_vertical_left_line" offset="popup.psd|display_vertical_left_line @ popup.psd|chassis" alignment="0,1,0,1" blendmode = "ps_normal" opacity="0.45" />
<!-- main left and right vertical lines -->
<color_line color="color3" alignment="0,0,0,1" offset="7,33,7,-116" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,1" offset="-9,41,-9,-36" opacity="0.45" />
<!--top horizontal lines -->
<color_line color="color3" alignment="1,0,1,0" offset="-105,26,-87,26" opacity="0.45" />
<!-- right hand tiny very line-->
<color_line color="color3" alignment="1,0,1,0" offset="-106,21,-106,25" opacity="0.45" />
<!-- lefthand tiny vert line-->
<color_line color="color3" alignment="0,0,0,0" offset="122,17,122,20" opacity="0.45" />
<!-- first long horizontal line -->
<color_line color="color3" alignment="0,0,1,0" offset="90,16,-13,16" opacity="0.45" />
<!-- second long horizontal line -->
<color_line color="color3" alignment="0,0,1,0" offset="123,20,-107,20" opacity="0.45" />
<!-- top_right_lines -->
<color_line color="color3" alignment="1,0,1,0" offset="-248,5,-9,5" opacity="0.45" />
<!-- lower hor. -->
<color_line color="color3" alignment="1,0,1,0" offset="-252,9,-89,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-17,9,-10,9" opacity="0.45" />
<!-- righthand mini vert -->
<color_line color="color3" alignment="1,0,1,0" offset="-9,6,-9,9" opacity="0.45" />
<!-- center mini verts -->
<color_line color="color3" alignment="1,0,1,0" offset="-145,6,-145,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-173,6,-173,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-123,6,-111,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-101,6,-89,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-208,6,-196,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-230,6,-218,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-251,8,-249,6" opacity="0.45" />
<!-- bottom left lines with squares -->
<color_line color="color3" alignment="0,1,0,1" offset="9,-93,,9,-19" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="10,-93,12,-93" opacity="0.45" />
<color_fill color="color3" alignment="0,1,0,1" offset="10,-74,13,-62" opacity="0.45" />
<color_fill color="color3" alignment="0,1,0,1" offset="10,-52,13,-40" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="10,-19,12,-19" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="13,-93,13,-19" opacity="0.45" />
<!-- bottom left criss cross -->
<color_line color="color3" alignment="0,1,0,1" offset="5,-15,19,-15" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="13,-17,13,-8" opacity="0.45" />
<!-- righthand criss cross lines on bottom -->
<color_line color="color3" alignment="1,1,1,1" offset="-197,-6,-167,-6" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-192,-9,-188,-9" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-191,-13,-191,0" opacity="0.45" />
<!-- bottom lines -->
<!-- horizontals -->
<!-- leaving spaces for the playbar controls -->
<color_line color="color3" alignment="1,1,1,1" offset="-191,-18,-107,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-95,-18,-90,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-78,-18,-73,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-61,-18,-56,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-44,-18,-29,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-191,-14,-130,-14" opacity="0.45" />
<!-- verts -->
<color_line color="color3" alignment="1,1,1,1" offset="-191,-17,-191,-15" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-129,-17,-129,-14" opacity="0.45" />
<!-- rects -->
<color_fill color="color3" alignment="1,1,1,1" offset="-176,-17,-164,-14" opacity="0.45" />
<color_fill color="color3" alignment="1,1,1,1" offset="-154,-17,-142,-14" opacity="0.45" />
</imagestyle>
</window> <!-- display_lines_window -->
<window name="left_quadrant_window" alignment="0,0,0,1" offset="12,2112,20,20" transparent="true" _hitstyle="ACTIVE">
<imagestyle name="background">
<raster source="popup.psd|left_quad" fillmode="tile" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<script name="OnIntro">
SetOffset({12,32,20,-115},0,1000,"linear_decel");
</script>
</window>
<window name="right_quadrant_window" transparent="true" alignment="1,0,1,1" offset="-95,-200,-87,0" _hitstyle="ACTIVE">
<imagestyle name="background"><raster source="popup.psd|right_quad" fillmode="tile" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<script name="OnInit">
position = -1;
</script>
<script name="OnIntro">
OnInit();
MoveSomething();
</script>
<script name="MoveSomething">
if ( position == -1 ) {
SetOffset({-95,0,-87,400},0,1000,"linear_decel");
position = 1;
} else {
SetOffset({-95,-400,-87,0},0,1000,"linear_decel");
position = -1;
}
</script>
</window>
</window> <!-- background_window -->
<window name="title_window" type="textdisplay" transparent="true" shape="my_shape"
alignment="0,0,1,0" offset="22,11,-259,26" >
<property font_style="my_font_10" font_color="color3" font_justification="left|v_center|single_line_only|trim_chars_w_ellipses"
edge_offset_rect="7,1,-7,-1"/>
<shape name="my_shape"><shape_roundrect corner_size="5,5" /></shape>
<imagestyle name="background">
<color_rect color="color2" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_rect color="0xFF99EE00" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_rect color="0xFFB83F3F" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_rect color="0xFFCBFF66" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_rect color="0xFFFF0000" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_rect color="0xFFBBBBBB" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_rect color="0xFF00CCFF" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_rect color="0xFFFF0000" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_rect color="0xFF00B200" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_rect color="0xFF588FBA" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_rect color="theme10_color2" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<script name="OnInit">
SetText(:language.Translate("topmenu/view.eq"));
</script>
</window> <!-- title_window -->
<window name="status_display_window" type="Sonique2_StatusBar" transparent="true" shape="my_shape"
alignment="0,1,1,1"
offset="20,-26,-191,-10" >
<shape name="my_shape"><shape_roundrect corner_size="5,5" /></shape>
<imagestyle name="background">
<color_fill color="color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_fill color="0xFF99EE00" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_fill color="0xFFB83F3F" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_fill color="0xFFCBFF66" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_fill color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_fill color="0xFF00CCFF" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_fill color="0xFF00B200" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_fill color="0xFF588FBA" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_fill color="theme10_color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<property scroll_mode="horizontal" scroll_speed="50" whitespace="50"
rect_status_offset= "7,1,-7,-1" rect_progress_offset="7,1,-7,-1"
info_font_color="color3" info_font_style="my_font_10" info_font_justification="left|v_center|single_line_only"
error_font_color="color1" error_font_style="my_font_10" error_font_justification="left|v_center|single_line_only"
warning_font_color="color1" warning_font_style="my_font_10" warning_font_justification="left|v_center|single_line_only"
fallback_font_color="color3" fallback_font_style="my_font_10" fallback_font_justification="left|v_center|single_line_only"
/>
<script name="OnInit">
:sonique.LocalStatus("", "fallback", this);
</script>
</window> <!-- status_display_window -->
<window name="window_controls_window" transparent="true">
<window name="help_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("general/hint.help")); // todo pl </script>
<script name="OnClick"> :sonique.LaunchHelp(); </script>
</window>
<window name="always_on_top_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
<raster state="normal" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<script name="OnInit">
$topstate = parent.parent.GetAlwaysOnTop();
if ($topstate == true) { SetButtonState(1); } else { SetButtonState(0); }
SetHoverHint(:language.Translate("topmenu/file.ontop"));
</script>
<script name="OnClick">
$topstate = parent.parent.GetAlwaysOnTop();
if ($topstate == true) {
parent.parent.SetAlwaysOnTop(0);
SetButtonState(0);
} else {
parent.parent.SetAlwaysOnTop(1);
SetButtonState(1);
}
</script>
<script name="UpdateAlwaysOnTopState">
if ($params[0] == true) { SetButtonState(1); } else { SetButtonState(0); }
</script>
</window>
<window name="minimize_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("topmenu/file.minwin")); </script>
<script name="OnClick"> parent.parent.MinimizeWindow(true); </script>
</window>
<window name="close_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("topmenu/file.closewin")); </script>
<script name="OnClick">
parent.parent.DestroyWindow();
</script>
</window>
</window> <!-- window_controls_window -->
<window name="playbar_controls_window" transparent="true">
<imagestyle name="background">
<raster opacity="0.75" source="popup.psd|control_circles" offset="popup.psd|control_circles @ popup.psd|chassis" alignment="1,1,1,1" blendmode="ps_normal" />
</imagestyle>
<window name="prev_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|prev_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|prev_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|prev_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.prevtrack")); </script>
<script name="OnClick"> :sonique.players.default.Prev();</script>
</window>
<window name="playpause_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|pause_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hover" source="popup.psd|play_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|play_button" blendmode="ps_normal" opacity="1.0" />
<raster state="hit" source="popup.psd|pause_button" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<imagestyle name="state1">
<raster state="hover" source="popup.psd|pause_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|pause_button" blendmode="ps_normal" opacity="1.0" />
<raster state="hit" source="popup.psd|play_button" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<script name="OnInit">
:sonique.players.default.RegisterCallback("Playing","UpdateState()", this);
:sonique.players.default.RegisterCallback("Stopping","UpdateState()", this);
:sonique.players.default.RegisterCallback("Pausing","UpdateState()", this);
UpdateState();
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("Playing", this);
:sonique.players.default.UnregisterCallback("Stopping", this);
:sonique.players.default.UnregisterCallback("Pausing", this);
</script>
<script name="OnClick">
if (:sonique.players.default.IsPlaying()) {
:sonique.players.default.TogglePause();
} else {
:sonique.players.default.Play();
}
UpdateState();
</script>
<script name="UpdateState">
if (:sonique.players.default.IsPlaying()) {
if (:sonique.players.default.IsPaused()) {
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.play"));
} else {
SetButtonState(1);
SetHoverHint(:language.Translate("general/hint.pause"));
}
} else {
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.play"));
}
</script>
</window>
<window name="stop_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|stop_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|stop_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|stop_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.stop")); </script>
<script name="OnClick"> :sonique.players.default.Stop(); </script>
</window>
<window name="next_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|next_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|next_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|next_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.nexttrack")); </script>
<script name="OnClick"> :sonique.players.default.Next();</script>
</window>
</window> <!-- playbar_controls_window -->
<window name="container" transparent="true" offset="25,35,-20,-35" alignment="0,0,1,1" >
<window name="main_eq_window" alignment="0,0,1,1" transparent="true" hitstyle="ACTIVE" >
<window name="eq_window" type="Sonique2_Equalizer" transparent="true" hitstyle="ACTIVE" offset="0,0,-12,-50" alignment="0,0,1,1">
<property freq_string_rows = "0"
freq_line_color = "color3_50" freq_line_blendmode="RGB|COPY|ALPHA_SRCALPHA"
center_line_color = "color3_50" center_line_blendmode="RGB|COPY|ALPHA_SRCALPHA"
curve_line_color = "color3" curve_line_blendmode="RGB|COPY|ALPHA_SRCALPHA"
border_line_color = "color3_50" border_line_blendmode="RGB|COPY|ALPHA_SRCALPHA"
/>
<imagestyle name="background" transparent="true" />
<script name="GetNumBands">:sonique.players.default.equalizer.GetNumBands();</script>
<script name="SetNumBands">:sonique.players.default.equalizer.SetNumBands($params[0]);</script>
<script name="GetBandGain">:sonique.players.default.equalizer.GetBandGain($params[0]);</script>
<script name="SetBandGain">:sonique.players.default.equalizer.SetBandGain($params[0], $params[1]);</script>
<script name="OnInit">
loadingPreset = 0;
:sonique.players.default.equalizer.RegisterChangeCallback("", "myOnChange()", this);
</script>
<script name="OnDestroy">:sonique.players.default.equalizer.UnregisterChangeCallback("", this);</script>
<script name="myOnChange">
UpdateBands();
UpdateDisplay();
:sonique.players.default.SendFilterMessage("equalizerReloadSettings");
eq_presets_window.preset_picker.SetCurrentIndex(0);
</script>
</window>
<window name="eq_presets_window" transparent="true" offset="0,-48,-2,-2" alignment="0,1,0.5,1" >
<imagestyle name="background">
<color_fill color = "color2" opacity="0.25"/>
<color_rect color = "color3" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme1">
<color_fill color = "0xFF99EE00" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme2">
<color_fill color = "0xFFB83F3F" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme3">
<color_fill color = "0xFFCBFF66" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme4">
<color_fill color = "0xFFFF0000" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme5">
<color_fill color = "0xFFBBBBBB" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme6">
<color_fill color = "0xFF00CCFF" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme7">
<color_fill color = "0xFFFF0000" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme8">
<color_fill color = "0xFF00B200" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme9">
<color_fill color = "0xFF588FBA" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme10">
<color_fill color = "theme10_color2" opacity="0.25"/>
<color_rect color = "theme10_color3" opacity="0.25"/>
</imagestyle>
<window name="presets_label_window" type="textdisplay" alignment="0,0,1,0" offset="2,10,-5,20" transparent="true">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center" />
<script name="OnInit"> SetText( :language.Translate("eqwindow/label.presets")); </script>
</window>
<window name="preset_picker" type="picker" hitstyle="ACTIVE" alignment="0,0,1,0" offset="5,25,-5,40" transparent="true" >
<property hover="true" fade_duration="0"
font_style="my_font_8" font_justification="h_center|top" textshadow="false"
font_color1="color3" font_color2="color3" font_color3="color3"
text_offset_rect="0,-3,0,0" />
<imagestyle name="img_picker_background" transparent="true">
<color_fill color="color1" />
<color_rect color="color3" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme1_img_picker_background" transparent="true">
<color_fill color="0xFF303030" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme2_img_picker_background" transparent="true">
<color_fill color="0xFFFF9900" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme3_img_picker_background" transparent="true">
<color_fill color="0xFF28497F" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme4_img_picker_background" transparent="true">
<color_fill color="0xFF000000" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme5_img_picker_background" transparent="true">
<color_fill color="0xFF888888" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme6_img_picker_background" transparent="true">
<color_fill color="0xFF303030" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme7_img_picker_background" transparent="true">
<color_fill color="0xFF606060" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme8_img_picker_background" transparent="true">
<color_fill color="0xFF143B14" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme9_img_picker_background" transparent="true">
<color_fill color="0xFF303030" />
<color_rect color="0xFFFFFFFF" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="theme10_img_picker_background" transparent="true">
<color_fill color="theme10_color1" />
<color_rect color="theme10_color3" opacity="0.25"/>
<raster source="grayscale.psd|down_arrow_icon" blendmode="ps_normal" alignment="1,0,1,1" offset="-12,6,-5,0" />
</imagestyle>
<imagestyle name="img_menu_background" transparent="true" >
<color_fill color="color1"/>
<color_rect color="color3" opacity="0.25" />
</imagestyle>
<imagestyle name="theme1_img_menu_background" transparent="true" >
<color_fill color="0xFF303030"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme2_img_menu_background" transparent="true" >
<color_fill color="0xFFFF9900"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme3_img_menu_background" transparent="true" >
<color_fill color="0xFF28497F"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme4_img_menu_background" transparent="true" >
<color_fill color="0xFF000000"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme5_img_menu_background" transparent="true" >
<color_fill color="0xFF888888"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme6_img_menu_background" transparent="true" >
<color_fill color="0xFF303030"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme7_img_menu_background" transparent="true" >
<color_fill color="0xFF606060"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme8_img_menu_background" transparent="true" >
<color_fill color="0xFF143B14"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme9_img_menu_background" transparent="true" >
<color_fill color="0xFF303030"/>
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme10_img_menu_background" transparent="true" >
<color_fill color="theme10_color1"/>
<color_rect color="theme10_color3" opacity="0.25" />
</imagestyle>
<imagestyle name="img_item" transparent="true">
<color_fill state="hover,hit" color="color2" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="color2" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
</imagestyle>
<imagestyle name="theme1_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFF99EE00" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFF99EE00" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme2_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFFB83F3F" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFFB83F3F" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme3_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFFCBFF66" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFFCBFF66" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme4_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFFFF0000" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFFFF0000" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme5_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFFBBBBBB" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFFBBBBBB" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme6_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFF00CCFF" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFF00CCFF" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme7_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFFFF0000" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFFFF0000" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme8_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFF00B200" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFF00B200" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme9_img_item" transparent="true">
<color_fill state="hover,hit" color="0xFF588FBA" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="0xFF588FBA" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="0xFFFFFFFF" opacity="0.25" />
</imagestyle>
<imagestyle name="theme10_img_item" transparent="true">
<color_fill state="hover,hit" color="theme10_color2" opacity="0.5" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_fill state="normal" color="theme10_color2" opacity="0.25" alignment="0,0,1,1" offset="1,0,-1,0" />
<color_rect color="theme10_color3" opacity="0.25" />
</imagestyle>
<script name="OnInit">
SetHoverHint(:language.Translate("eqwindow/hint.presetpicker"));
if (!:sonique.prefs.DoesSectionExist("eqpresets")) {
AddItem( { Text: "No Presets Loaded", Data: "" } );
}
else {
$presets = :sonique.prefs.GetStringArray("eqpresets", "Names");
if ($presets.IsArray()) {
AddItem( { text: :language.Translate("general/label.none"), data: "" } );
// jmctodo - mscript bug. if i use foreach ($preset in $presets)
// and set the data element to $preset for each, then the
// data ends up holding whatever the last $preset was. ugh.
//foreach ($preset in $presets)
for ($i in 1 to $presets.ArraySize()) {
//if (:sonique.prefs.DoesSectionExist("eqpresets/" | $preset))
if (:sonique.prefs.DoesSectionExist("eqpresets/" | $presets[$i-1])) {
//$name = :sonique.prefs.GetString("eqpresets/" | $preset, "Name");
$name = :sonique.prefs.GetString("eqpresets/" | $presets[$i-1], "Name");
if ($name) {
//AddItem( { text: $name, data: $preset } );
AddItem( { Text: $name, Data: $presets[$i-1] });
}
}
}
} else {
AddItem( { Text: "No Presets Loaded", Data: "" } );
}
}
</script>
<script name="OnItemSelected">
if ($params[0] != 0)
{
$name=GetItem($params[0])["Data"];
$prettyname=GetItem($params[0])["Text"];
$section = "eqpresets/" | $name;
$GainArray = :sonique.prefs.GetStringArray($section, "Gain");
if ($GainArray.IsArray()) {
if ($GainArray.ArraySize() > 0) {
eq_window.SetNumBands($GainArray.ArraySize());
for ($i in 1 to $GainArray.ArraySize()) {
eq_window.SetBandGain($i-1, $GainArray[$i-1]);
}
}
}
}
SetCurrentIndex($params[0]);
:sonique.players.default.SendFilterMessage("equalizerReloadSettings");
</script>
</window> <!-- preset_picker -->
<window name="eq_save_button_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-20,5,-5,20" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|eq_save" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|eq_save" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|eq_save" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|eq_save" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("eqwindow/hint.save")); </script>
<script name="OnClick">
// todo save as preset
:sonique.Status("Not yet implemented.","warning");
</script>
</window>
<window name="eq_reset_button_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-40,5,-25,20" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|eq_flat" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|eq_flat" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|eq_flat" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|eq_flat" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("eqwindow/hint.reset"));</script>
<script name="OnClick">:sonique.players.default.equalizer.Reset();</script>
</window>
</window> <!-- eq_presets_window -->
<window name="eq_pab_window" transparent="true" offset="0,-48,-12,-2" alignment="0.5,1,1,1" >
<imagestyle name="background">
<color_fill color = "color2" opacity="0.25"/>
<color_rect color = "color3" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme1">
<color_fill color = "0xFF99EE00" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme2">
<color_fill color = "0xFFB83F3F" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme3">
<color_fill color = "0xFFCBFF66" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme4">
<color_fill color = "0xFFFF0000" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme5">
<color_fill color = "0xFFBBBBBB" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme6">
<color_fill color = "0xFF00CCFF" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme7">
<color_fill color = "0xFFFF0000" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme8">
<color_fill color = "0xFF00B200" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme9">
<color_fill color = "0xFF588FBA" opacity="0.25"/>
<color_rect color = "0xFFFFFFFF" opacity="0.25"/>
</imagestyle>
<imagestyle name="theme10">
<color_fill color = "theme10_color2" opacity="0.25"/>
<color_rect color = "theme10_color3" opacity="0.25"/>
</imagestyle>
<window name="balance_label_window" type="textdisplay" alignment="0,0,0,0" offset="2,2,62,14" transparent="true">
<property font_style="my_font_10" font_color="color3" font_justification="right|v_center" />
<script name="OnInit"> SetText( :language.Translate("eqwindow/label.balance")); </script>
</window>
<window name="pitch_label_window" type="textdisplay" alignment="0,0,0,0" offset="2,16,62,28" transparent="true">
<property font_style="my_font_10" font_color="color3" font_justification="right|v_center" />
<script name="OnInit"> SetText( :language.Translate("eqwindow/label.pitch")); </script>
</window>
<window name="amp_label_window" type="textdisplay" alignment="0,0,0,0" offset="2,30,62,44" transparent="true">
<property font_style="my_font_10" font_color="color3" font_justification="right|v_center" />
<script name="OnInit"> SetText( :language.Translate("eqwindow/label.amp")); </script>
</window>
<window name="bal_fillbar" type="fillbar" transparent="true" hitstyle="ACTIVE"
offset="64,6,-16,12" alignment="0,0,1,0" >
<property orientation="left_to_right" outer_handle_offset_rect="-3.5,0,3.5,7"/>
<imagestyle name="barempty"> <raster source="color.psd|pab_bar_empty" fillmode="tile" tile_size="6,6" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<imagestyle name="barfilled"><raster source="color.psd|pab_bar_full" fillmode="tile" tile_size="6,6" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<imagestyle name="handle"><raster source="color.psd|pab_bar_handle" blendmode="ps_normal" /></imagestyle>
<script name="OnInit">
SetHoverHint(:language.Translate("eqwindow/hint.balance"));
SetMin(-100);
SetMax(100);
:sonique.players.default.pitchampbal.RegisterChangeCallback("", "UpdateDisplay()", this);
UpdateDisplay();
</script>
<script name="OnDestroy">
// NB: bug - this OnDestroy being called twice! todo.
:sonique.players.default.pitchampbal.UnregisterChangeCallback("", this);
</script>
<script name="OnPosChange">
$bal = GetIntPos();
$realbal = $bal/100;
if($bal gt 0){
$pos = :language.Translate("eqwindow/hint.right");
}
if($bal lt 0){
$pos = :language.Translate("eqwindow/hint.left");
$bal = -1*$bal;
}
if($bal == 0){
$pos = :language.Translate("eqwindow/hint.center");
}
:sonique.Status(:language.Translate("eqwindow/hint.balance") | " " | $bal | "% " | $pos);
:sonique.players.default.pitchampbal.SetBalance($realbal);
:sonique.players.default.SendFilterMessage("PitchAmpBalReloadSettings");
</script>
<script name="UpdateDisplay">
$bal = :sonique.players.default.pitchampbal.GetBalance()*100;
SetIntPos($bal);
</script>
</window>
<window name="pitch_fillbar" type="fillbar" transparent="true" hitstyle="ACTIVE"
offset="64,20,-16,26" alignment="0,0,1,0" >
<property orientation="left_to_right" outer_handle_offset_rect="-3.5,0,3.5,7"/>
<imagestyle name="barempty"> <raster source="color.psd|pab_bar_empty" fillmode="tile" tile_size="6,6" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<imagestyle name="barfilled"> <raster source="color.psd|pab_bar_full" fillmode="tile" tile_size="6,6" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<imagestyle name="handle"><raster source="color.psd|pab_bar_handle" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<script name="OnInit">
SetHoverHint(:language.Translate("eqwindow/hint.pitch"));
// 0.125 to 8.0 is the range for pitch. convert it to relative integers (reals don't seem to work so well right now with the fillbar)
$min = :math.Truncate(100*((:math.Log( 2, 0.125 )+3)/6));
$max = :math.Truncate(100*((:math.Log( 2, 8.0 )+3)/6));
SetMin($min);
SetMax($max);
:sonique.players.default.pitchampbal.RegisterChangeCallback("", "UpdateDisplay()", this);
UpdateDisplay();
</script>
<script name="OnDestroy">
:sonique.players.default.pitchampbal.UnregisterChangeCallback("", this);
</script>
<script name="OnPosChange">
$pitch= :math.Power( 2, ( (GetIntPos()/100)*6-3 ) );
:sonique.players.default.pitchampbal.SetPitch($pitch);
:sonique.players.default.SendFilterMessage("PitchAmpBalReloadSettings");
:sonique.Status(:language.Translate("eqwindow/hint.pitch") | " " | $pitch*100 | "%");
</script>
<script name="UpdateDisplay">
$pitch = :sonique.players.default.pitchampbal.GetPitch();
$relpitch = :math.Truncate(100*((:math.Log( 2, $pitch )+3)/6));
SetIntPos( $relpitch );
</script>
</window>
<window name="amp_fillbar" type="fillbar" transparent="true" hitstyle="ACTIVE"
offset="64,34,-16,40" alignment="0,0,1,0" >
<property orientation="left_to_right" outer_handle_offset_rect="-3.5,0,3.5,7"/>
<imagestyle name="barempty"> <raster source="color.psd|pab_bar_empty" fillmode="tile" tile_size="6,6" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<imagestyle name="barfilled"> <raster source="color.psd|pab_bar_full" fillmode="tile" tile_size="6,6" blendmode="ps_normal" opacity="1.0" /></imagestyle>
<imagestyle name="handle"><raster source="color.psd|pab_bar_handle" blendmode="ps_normal" /></imagestyle>
<script name="OnInit">
SetHoverHint(:language.Translate("eqwindow/hint.amp"));
// 0.125 to 8.0 is the range for amplification. convert it to relative integers (reals don't seem to work so well right now with the fillbar)
$min = :math.Truncate(100*((:math.Log( 2, 0.125 )+3)/6));
$max = :math.Truncate(100*((:math.Log( 2, 8.0 )+3)/6));
SetMin($min);
SetMax($max);
:sonique.players.default.pitchampbal.RegisterChangeCallback("", "UpdateDisplay()", this);
UpdateDisplay();
</script>
<script name="OnDestroy">
// NB: bug - this OnDestroy being called twice! todo.
:sonique.players.default.pitchampbal.UnregisterChangeCallback("", this);
</script>
<script name="OnPosChange">
$amp= :math.Power( 2, ( (GetIntPos()/100)*6-3 ) );
:sonique.players.default.pitchampbal.SetAmplification($amp);
:sonique.players.default.SendFilterMessage("PitchAmpBalReloadSettings");
:sonique.Status(:language.Translate("eqwindow/hint.amp") | " " | $amp*100 | "%");
</script>
<script name="UpdateDisplay">
$amp = :sonique.players.default.pitchampbal.GetAmplification();
$relAmp = :math.Truncate(100*((:math.Log( 2, $amp )+3)/6));
SetIntPos( $relAmp );
</script>
</window>
<window name="reset_balance_button_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-12,5,-2,14" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="color.psd|pab_reset_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("eqwindow/hint.resetbalance")); </script>
<script name="OnClick">
:sonique.players.default.pitchampbal.SetBalance(0);
:sonique.players.default.SendFilterMessage("PitchAmpBalReloadSettings");
:sonique.Status(:language.Translate("eqwindow/hint.balance") | " 0% " | :language.Translate("eqwindow/hint.center"));
</script>
</window>
<window name="reset_pitch_button_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-12,19,-2,28" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="color.psd|pab_reset_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("eqwindow/hint.resetpitch")); </script>
<script name="OnClick">
:sonique.players.default.pitchampbal.SetPitch(1);
:sonique.players.default.SendFilterMessage("PitchAmpBalReloadSettings");
:sonique.Status(:language.Translate("eqwindow/hint.pitch") | " 100%");
</script>
</window>
<window name="reset_amp_button_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-12,33,-3,42" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="color.psd|pab_reset_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="color.psd|pab_reset_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("eqwindow/hint.resetamp")); </script>
<script name="OnClick">
:sonique.players.default.pitchampbal.SetAmplification(1);
:sonique.players.default.SendFilterMessage("PitchAmpBalReloadSettings");
:sonique.Status(:language.Translate("eqwindow/hint.amp") | " 100%");
</script>
</window>
</window> // eq_pab_window
</window> <!-- main_eq_window -->
</window> <!-- container -->
<window name="eq_controls_window" transparent="true" >
<script name="OnIntro">
main_window_icon_window.SetOffset({-26,33,-15,43},0,1000,"linear_accel");
</script>
<window name="main_window_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-84,-33,-73,-43" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="popup.psd|main_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="popup.psd|main_window_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="popup.psd|main_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="popup.psd|main_window_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.attachwindow")); </script>
<script name="OnClick"> parent.parent.AttachWindow(); </script>
</window> <!-- main_window_icon_window -->
</window> <!-- eq_controls_window -->
</window> <!-- eq popup -->
<!-- online -->
<window name="online_popup" hitstyle="frame_hitstyle" shape="popup_chassis_shape" transparent="false" default_size="400,200" min_size="400,200">
<imagestyle name="background">
<raster
source ="popup.psd|chassis"
offset ="0,0,0,0"
alignment ="0,0,1,1"
blendmode ="ps_normal"
fillmode ="resize" opacity="1"
inner_rect ="40,45,100,100"
outer_rect ="popup.psd|chassis"
/>
</imagestyle>
<hitstyle name="frame_hitstyle" default_hitcode="DRAG" >
<hitcode type="LEFT">
<shape>
<shape_rect alignment="0,0,0,1" offset="0,0,5,0" />
</shape>
</hitcode>
<hitcode type="BOTTOM">
<shape>
<shape_rect alignment="0,1,1,1" offset="0,-5,0,0" />
</shape>
</hitcode>
<hitcode type="TOP">
<shape>
<shape_rect alignment="0,0,1,0" offset="0,0,0,5" />
</shape>
</hitcode>
<hitcode type="RIGHT">
<shape>
<shape_rect alignment="1,0,1,1" offset="-5,0,0,0" />
</shape>
</hitcode>
<hitcode type="BOTTOMRIGHT">
<shape>
<shape_rect alignment="1,1,1,1" offset="-20,-20,0,0" />
</shape>
</hitcode>
</hitstyle>
<!-- monitor dock points -->
<dock_point type="slave" name="MonitorUL" alignment="0,0,0,0" />
<dock_point type="slave" name="MonitorTC" alignment="0.5,0,0.5,0" />
<dock_point type="slave" name="MonitorUR" alignment="1,0,1,0" />
<dock_point type="slave" name="MonitorLL" alignment="0,1,0,1" />
<dock_point type="slave" name="MonitorBC" alignment="0.5,1,0.5,1" />
<dock_point type="slave" name="MonitorLR" alignment="1,1,1,1" />
<dock_point type="slave" name="MonitorRC" alignment="1,0.5,1,0.5" />
<dock_point type="slave" name="MonitorLC" alignment="0,0.5,0,0.5" />
<!-- master dock points -->
<dock_point type="master" name="Popup_UL" alignment="0,0,0,0" />
<dock_point type="master" name="Popup_TC" alignment="0.5,0,0.5,0" />
<dock_point type="master" name="Popup_UR" alignment="1,0,1,0" />
<dock_point type="master" name="Popup_LL" alignment="0,1,0,1" />
<dock_point type="master" name="Popup_BC" alignment="0.5,1,0.5,1" />
<dock_point type="master" name="Popup_LR" alignment="1,1,1,1" />
<dock_point type="master" name="Popup_RC" alignment="1,0.5,1,0.5" />
<dock_point type="master" name="Popup_LC" alignment="0,0.5,0,0.5" />
<!-- slave to other popups -->
<dock_point type="slave" name="Popup_UL" alignment="1,0,1,0" />
<dock_point type="slave" name="Popup_UL" alignment="0,1,0,1" />
<dock_point type="slave" name="Popup_UR" alignment="0,0,0,0" />
<dock_point type="slave" name="Popup_UR" alignment="1,1,1,1" />
<dock_point type="slave" name="Popup_LL" alignment="0,0,0,0" />
<dock_point type="slave" name="Popup_LL" alignment="1,1,1,1" />
<dock_point type="slave" name="Popup_LR" alignment="0,1,0,1" />
<dock_point type="slave" name="Popup_LR" alignment="1,0,1,0" />
<!-- slave to the main window -->
<dock_point type="slave" name="Main_UL" alignment="1,0,1,0" />
<dock_point type="slave" name="Main_UL" alignment="0,1,0,1" />
<dock_point type="slave" name="Main_UR" alignment="0,0,0,0" />
<dock_point type="slave" name="Main_UR" alignment="1,1,1,1" />
<dock_point type="slave" name="Main_LL" alignment="0,0,0,0" />
<dock_point type="slave" name="Main_LL" alignment="1,1,1,1" />
<dock_point type="slave" name="Main_LR" alignment="0,1,0,1" />
<dock_point type="slave" name="Main_LR" alignment="1,0,1,0" />
<script name="OnInit">
rightQuadReady = 1;
// todo deal with FPS better - user settings
SetDesiredFPS(45);
SetWindowTitle(:language.Translate("topmenu/view.onlinewindow"),true);
StartIntro();
:sonique.InterfacePrefsCreateSection("online_popup");
$size = :sonique.InterfacePrefsGetStringArray("online_popup", "size");
if ($size.IsArray() == true) {
if ( ($size[0] gt 0) and ($size[1] gt 0) ){
// todo - fix bug where if SetSize comes to early, the OS window shape sometimes isn't updated. grrr...
SetSize($size, 0, 0, "linear_accel");
}
}
$location = :sonique.InterfacePrefsGetStringArray("online_popup", "location");
if ($location.IsArray()) {
$dim = :app.GetScreenDimensions();
if ( ($location[0] gte $dim[0]["left"]) and ($location[1] gte $dim[0]["top"]) ) {
if ( ($location[0] lt $dim[0]["right"]) and ($location[1] lt $dim[0]["bottom"]) ) {
SetLocation($location);
}
}
}
if( :sonique.InterfacePrefsGetString("online_popup", "alwaysontop") ) { SetAlwaysOnTop( 1 ); }
else { SetAlwaysOnTop( 0 ); }
// hotkeys
$section = "sonique/gui/slate/hotkeys";
:sonique.prefs.CreateSection($section);
alwaysontop = :sonique.prefs.GetString($section, "alwaysontop");
if (alwaysontop) { :app.RegisterWindowKeyScript( alwaysontop, "SetAlwaysOnTop(!GetAlwaysOnTop());", this ); }
theme = :sonique.prefs.GetString("misc", "theme");
SetTheme();
</script>
<script name="OnDestroy">
$size = GetSize();
:sonique.InterfacePrefsSetStringArray("online_popup", "size", $size);
$location = GetLocation();
:sonique.InterfacePrefsSetStringArray("online_popup", "location", $location );
:sonique.InterfacePrefsSetString("online_popup", "alwaysontop", GetAlwaysOnTop());
// hotkeys
if (alwaysontop) { :app.UnregisterWindowKeyScript( alwaysontop, "SetAlwaysOnTop(!GetAlwaysOnTop());", this ); }
</script>
<script name="OnAlwaysOnTopChange">
window_controls_window.always_on_top_button_window.UpdateAlwaysOnTopState($params[0]);
</script>
<script name="OnActivate">
background_window.left_quadrant_window.SetOffset({12,32,20,-110},0,1000,"linear_decel");
if (rightQuadReady == 1) { background_window.right_quadrant_window.MoveSomething(1000); }
window_controls_window.help_button_window.SetOpacity(1.0);
window_controls_window.always_on_top_button_window.SetOpacity(1.0);
window_controls_window.minimize_button_window.SetOpacity(1.0);
window_controls_window.close_button_window.SetOpacity(1.0);
</script>
<script name="OnDeactivate">
background_window.left_quadrant_window.SetOffset({12,1112,20,20},0,1000,"linear_accel" );
if (rightQuadReady == 1) { background_window.right_quadrant_window.MoveSomething(1000); }
window_controls_window.help_button_window.SetOpacity(0.5);
window_controls_window.always_on_top_button_window.SetOpacity(0.5);
window_controls_window.minimize_button_window.SetOpacity(0.5);
window_controls_window.close_button_window.SetOpacity(0.5);
</script>
<script name="AttachWindow">
// find main and tell it to show me
$bFound = false;
foreach ($window in :app.interfaces["teamsonique/default_interface/Sonique2Default"].windows ) {
if ($window.Name() == "main") {
$bFound = true;
$window.AttachPopup(Name());
}
}
if ($bFound == false) {
// launch main and try it again.
:sonique.InterfacePrefsSetString("main", "currentwindow", "main_online_window");
:sonique.LaunchAppWindow("Default Skin");
}
// close me
DestroyWindow();
</script>
<script name="SetTheme">
// all popups need these:
SetMenuProperty("theme" | theme | "_popupmenu");
background_window.SetImageStyle("background","theme" | theme);
title_window.SetImageStyle("background","theme" | theme);
status_display_window.SetImageStyle("background","theme" | theme);
</script>
<window name="background_window" transparent="true" shape="background_shape" _hitstyle="DRAG">
<shape name="background_shape">
<shape_raster
fillmode ="resize"
alignment ="0,0,1,1"
source ="popup.psd|backgound_color_region"
source_offset ="popup.psd|backgound_color_region @ popup.psd|chassis"
inner_rect ="40,45,100,100"
outer_rect ="popup.psd|chassis"
/>
</shape>
<imagestyle name="background"><color_fill color="color1" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme1"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme2"><color_fill color="0xFFFF9900" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme3"><color_fill color="0xFF28497F" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme4"><color_fill color="0xFF000000" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme5"><color_fill color="0xFF888888" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme6"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme7"><color_fill color="0xFF606060" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme8"><color_fill color="0xFF143B14" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme9"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme10"><color_fill color="theme10_color1" alignment="0,0,1,1"/></imagestyle>
<window name="main_background_grid" transparent="true" >
<imagestyle name="background" transparent="true"><raster source="popup.psd|background_tile_grid" opacity="0.1" fillmode="tile" blendmode="ps_normal" /></imagestyle>
</window>
<window name="display_lines_window" transparent="true" _hitstyle="ACTIVE">
<imagestyle name="background">
<raster source="popup.psd|display_corner_top_left" offset="popup.psd|display_corner_top_left @ popup.psd|chassis" alignment="0,0,0,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_corner_top_right" offset="popup.psd|display_corner_top_right @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_corner_bottom_right" offset="popup.psd|display_corner_bottom_right @ popup.psd|chassis" alignment="1,1,1,1" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_line_over_mini_windows" offset="popup.psd|display_line_over_mini_windows @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_top_line_level_1" offset="popup.psd|display_top_line_level_1 @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source = "popup.psd|display_vertical_left_line" offset="popup.psd|display_vertical_left_line @ popup.psd|chassis" alignment="0,1,0,1" blendmode = "ps_normal" opacity="0.45" />
<!-- main left and right vertical lines -->
<color_line color="color3" alignment="0,0,0,1" offset="7,33,7,-116" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,1" offset="-9,41,-9,-36" opacity="0.45" />
<!--top horizontal lines -->
<color_line color="color3" alignment="1,0,1,0" offset="-105,26,-87,26" opacity="0.45" />
<!-- right hand tiny very line-->
<color_line color="color3" alignment="1,0,1,0" offset="-106,21,-106,25" opacity="0.45" />
<!-- lefthand tiny vert line-->
<color_line color="color3" alignment="0,0,0,0" offset="122,17,122,20" opacity="0.45" />
<!-- first long horizontal line -->
<color_line color="color3" alignment="0,0,1,0" offset="90,16,-13,16" opacity="0.45" />
<!-- second long horizontal line -->
<color_line color="color3" alignment="0,0,1,0" offset="123,20,-107,20" opacity="0.45" />
<!-- top_right_lines -->
<color_line color="color3" alignment="1,0,1,0" offset="-248,5,-9,5" opacity="0.45" />
<!-- lower hor. -->
<color_line color="color3" alignment="1,0,1,0" offset="-252,9,-89,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-17,9,-10,9" opacity="0.45" />
<!-- righthand mini vert -->
<color_line color="color3" alignment="1,0,1,0" offset="-9,6,-9,9" opacity="0.45" />
<!-- center mini verts -->
<color_line color="color3" alignment="1,0,1,0" offset="-145,6,-145,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-173,6,-173,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-123,6,-111,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-101,6,-89,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-208,6,-196,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-230,6,-218,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-251,8,-249,6" opacity="0.45" />
<!-- bottom left lines with squares -->
<color_line color="color3" alignment="0,1,0,1" offset="9,-93,,9,-19" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="10,-93,12,-93" opacity="0.45" />
<color_fill color="color3" alignment="0,1,0,1" offset="10,-74,13,-62" opacity="0.45" />
<color_fill color="color3" alignment="0,1,0,1" offset="10,-52,13,-40" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="10,-19,12,-19" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="13,-93,13,-19" opacity="0.45" />
<!-- bottom left criss cross -->
<color_line color="color3" alignment="0,1,0,1" offset="5,-15,19,-15" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="13,-17,13,-8" opacity="0.45" />
<!-- righthand criss cross lines on bottom -->
<color_line color="color3" alignment="1,1,1,1" offset="-197,-6,-167,-6" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-192,-9,-188,-9" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-191,-13,-191,0" opacity="0.45" />
<!-- bottom lines -->
<!-- horizontals -->
<!-- leaving spaces for the playbar controls -->
<color_line color="color3" alignment="1,1,1,1" offset="-191,-18,-107,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-95,-18,-90,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-78,-18,-73,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-61,-18,-56,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-44,-18,-29,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-191,-14,-130,-14" opacity="0.45" />
<!-- verts -->
<color_line color="color3" alignment="1,1,1,1" offset="-191,-17,-191,-15" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-129,-17,-129,-14" opacity="0.45" />
<!-- rects -->
<color_fill color="color3" alignment="1,1,1,1" offset="-176,-17,-164,-14" opacity="0.45" />
<color_fill color="color3" alignment="1,1,1,1" offset="-154,-17,-142,-14" opacity="0.45" />
</imagestyle>
</window> <!-- display_lines_window -->
<window name="left_quadrant_window" alignment="0,0,0,1" offset="12,2112,20,20" transparent="true" _hitstyle="ACTIVE">
<imagestyle name="background">
<raster source="popup.psd|left_quad" fillmode="tile" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<script name="OnIntro">
SetOffset({12,32,20,-115},0,1000,"linear_decel");
</script>
</window>
<window name="right_quadrant_window" transparent="true" alignment="1,0,1,1" offset="-95,-200,-87,0" _hitstyle="ACTIVE">
<imagestyle name="background"><raster source="popup.psd|right_quad" fillmode="tile" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<script name="OnInit">
position = -1;
</script>
<script name="OnIntro">
OnInit();
MoveSomething();
</script>
<script name="MoveSomething">
if ( position == -1 ) {
SetOffset({-95,0,-87,400},0,1000,"linear_decel");
position = 1;
} else {
SetOffset({-95,-400,-87,0},0,1000,"linear_decel");
position = -1;
}
</script>
</window>
</window> <!-- background_window -->
<window name="title_window" type="textdisplay" transparent="true" shape="my_shape"
alignment="0,0,1,0" offset="22,11,-259,26" >
<property font_style="my_font_10" font_color="color3" font_justification="left|v_center|single_line_only|trim_chars_w_ellipses"
edge_offset_rect="7,1,-7,-1"/>
<shape name="my_shape"><shape_roundrect corner_size="5,5" /></shape>
<imagestyle name="background">
<color_rect color="color2" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_rect color="0xFF99EE00" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_rect color="0xFFB83F3F" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_rect color="0xFFCBFF66" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_rect color="0xFFFF0000" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_rect color="0xFFBBBBBB" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_rect color="0xFF00CCFF" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_rect color="0xFFFF0000" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_rect color="0xFF00B200" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_rect color="0xFF588FBA" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_rect color="theme10_color2" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<script name="OnInit">
SetText(:language.Translate("topmenu/view.onlinewindow"));
</script>
</window> <!-- title_window -->
<window name="status_display_window" type="Sonique2_StatusBar" transparent="true" shape="my_shape"
alignment="0,1,1,1"
offset="20,-26,-191,-10" >
<shape name="my_shape"><shape_roundrect corner_size="5,5" /></shape>
<imagestyle name="background">
<color_fill color="color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_fill color="0xFF99EE00" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_fill color="0xFFB83F3F" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_fill color="0xFFCBFF66" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_fill color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_fill color="0xFF00CCFF" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_fill color="0xFF00B200" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_fill color="0xFF588FBA" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_fill color="theme10_color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<property scroll_mode="horizontal" scroll_speed="50" whitespace="50"
rect_status_offset= "7,1,-7,-1" rect_progress_offset="7,1,-7,-1"
info_font_color="color3" info_font_style="my_font_10" info_font_justification="left|v_center|single_line_only"
error_font_color="color1" error_font_style="my_font_10" error_font_justification="left|v_center|single_line_only"
warning_font_color="color1" warning_font_style="my_font_10" warning_font_justification="left|v_center|single_line_only"
fallback_font_color="color3" fallback_font_style="my_font_10" fallback_font_justification="left|v_center|single_line_only"
/>
</window> <!-- status_display_window -->
<window name="window_controls_window" transparent="true">
<window name="help_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("general/hint.help")); // todo pl </script>
<script name="OnClick"> :sonique.LaunchHelp(); </script>
</window>
<window name="always_on_top_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
<raster state="normal" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<script name="OnInit">
$topstate = parent.parent.GetAlwaysOnTop();
if ($topstate == true) { SetButtonState(1); } else { SetButtonState(0); }
SetHoverHint(:language.Translate("topmenu/file.ontop"));
</script>
<script name="OnClick">
$topstate = parent.parent.GetAlwaysOnTop();
if ($topstate == true) {
parent.parent.SetAlwaysOnTop(0);
SetButtonState(0);
} else {
parent.parent.SetAlwaysOnTop(1);
SetButtonState(1);
}
</script>
<script name="UpdateAlwaysOnTopState">
if ($params[0] == true) { SetButtonState(1); } else { SetButtonState(0); }
</script>
</window>
<window name="minimize_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("topmenu/file.minwin")); </script>
<script name="OnClick"> parent.parent.MinimizeWindow(true); </script>
</window>
<window name="close_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("topmenu/file.closewin")); </script>
<script name="OnClick">
parent.parent.DestroyWindow();
</script>
</window>
</window> <!-- window_controls_window -->
<window name="playbar_controls_window" transparent="true">
<imagestyle name="background">
<raster opacity="0.75" source="popup.psd|control_circles" offset="popup.psd|control_circles @ popup.psd|chassis" alignment="1,1,1,1" blendmode="ps_normal" />
</imagestyle>
<window name="prev_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|prev_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|prev_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|prev_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.prevtrack")); </script>
<script name="OnClick"> :sonique.players.default.Prev();</script>
</window>
<window name="playpause_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|pause_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hover" source="popup.psd|play_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|play_button" blendmode="ps_normal" opacity="1.0" />
<raster state="hit" source="popup.psd|pause_button" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<imagestyle name="state1">
<raster state="hover" source="popup.psd|pause_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|pause_button" blendmode="ps_normal" opacity="1.0" />
<raster state="hit" source="popup.psd|play_button" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<script name="OnInit">
:sonique.players.default.RegisterCallback("Playing","UpdateState()", this);
:sonique.players.default.RegisterCallback("Stopping","UpdateState()", this);
:sonique.players.default.RegisterCallback("Pausing","UpdateState()", this);
UpdateState();
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("Playing", this);
:sonique.players.default.UnregisterCallback("Stopping", this);
:sonique.players.default.UnregisterCallback("Pausing", this);
</script>
<script name="OnClick">
if (:sonique.players.default.IsPlaying()) {
:sonique.players.default.TogglePause();
} else {
:sonique.players.default.Play();
}
UpdateState();
</script>
<script name="UpdateState">
if (:sonique.players.default.IsPlaying()) {
if (:sonique.players.default.IsPaused()) {
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.play"));
} else {
SetButtonState(1);
SetHoverHint(:language.Translate("general/hint.pause"));
}
} else {
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.play"));
}
</script>
</window>
<window name="stop_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|stop_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|stop_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|stop_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.stop")); </script>
<script name="OnClick"> :sonique.players.default.Stop(); </script>
</window>
<window name="next_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|next_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|next_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|next_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.nexttrack")); </script>
<script name="OnClick"> :sonique.players.default.Next();</script>
</window>
</window> <!-- playbar_controls_window -->
<window name="main_online_window" transparent="true" offset="25,33,-30,-35" alignment="0,0,1,1" >
<window name="online_window" type="Sonique2_Online" transparent="true" hitstyle="ACTIVE" />
</window>
<window name="online_controls_window" transparent="true" >
<script name="OnIntro">
main_window_icon_window.SetOffset({-26,33,-15,43},0,1000,"linear_accel");
refresh_window_icon_window.SetOffset({-26,50,-14,61},0,1000,"linear_accel");
</script>
<window name="main_window_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-84,-33,-73,-43" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="popup.psd|main_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="popup.psd|main_window_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="popup.psd|main_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="popup.psd|main_window_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.attachwindow")); </script>
<script name="OnClick"> parent.parent.AttachWindow(); </script>
</window> <!-- main_window_icon_window -->
<window name="refresh_window_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-26,-50,-14,-61" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|online_refresh_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|online_refresh_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|online_refresh_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|online_refresh_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("onlinewindow/hint.refresh"));</script>
<script name="OnClick"> main_online_window.online_window.ReloadContent(); </script>
</window> <!-- refresh -->
</window> <!-- online_controls_window -->
</window>
<!-- console -->
<window name="console_popup" hitstyle="frame_hitstyle" shape="popup_chassis_shape" transparent="false" default_size="485,565" min_size="400,200">
<imagestyle name="background">
<raster
source ="popup.psd|chassis"
offset ="0,0,0,0"
alignment ="0,0,1,1"
blendmode ="ps_normal"
fillmode ="resize" opacity="1"
inner_rect ="40,45,100,100"
outer_rect ="popup.psd|chassis"
/>
</imagestyle>
<hitstyle name="frame_hitstyle" default_hitcode="DRAG" >
<hitcode type="LEFT">
<shape>
<shape_rect alignment="0,0,0,1" offset="0,0,5,0" />
</shape>
</hitcode>
<hitcode type="BOTTOM">
<shape>
<shape_rect alignment="0,1,1,1" offset="0,-5,0,0" />
</shape>
</hitcode>
<hitcode type="TOP">
<shape>
<shape_rect alignment="0,0,1,0" offset="0,0,0,5" />
</shape>
</hitcode>
<hitcode type="RIGHT">
<shape>
<shape_rect alignment="1,0,1,1" offset="-5,0,0,0" />
</shape>
</hitcode>
<hitcode type="BOTTOMRIGHT">
<shape>
<shape_rect alignment="1,1,1,1" offset="-20,-20,0,0" />
</shape>
</hitcode>
</hitstyle>
<!-- monitor dock points -->
<dock_point type="slave" name="MonitorUL" alignment="0,0,0,0" />
<dock_point type="slave" name="MonitorTC" alignment="0.5,0,0.5,0" />
<dock_point type="slave" name="MonitorUR" alignment="1,0,1,0" />
<dock_point type="slave" name="MonitorLL" alignment="0,1,0,1" />
<dock_point type="slave" name="MonitorBC" alignment="0.5,1,0.5,1" />
<dock_point type="slave" name="MonitorLR" alignment="1,1,1,1" />
<dock_point type="slave" name="MonitorRC" alignment="1,0.5,1,0.5" />
<dock_point type="slave" name="MonitorLC" alignment="0,0.5,0,0.5" />
<!-- master dock points -->
<dock_point type="master" name="Popup_UL" alignment="0,0,0,0" />
<dock_point type="master" name="Popup_TC" alignment="0.5,0,0.5,0" />
<dock_point type="master" name="Popup_UR" alignment="1,0,1,0" />
<dock_point type="master" name="Popup_LL" alignment="0,1,0,1" />
<dock_point type="master" name="Popup_BC" alignment="0.5,1,0.5,1" />
<dock_point type="master" name="Popup_LR" alignment="1,1,1,1" />
<dock_point type="master" name="Popup_RC" alignment="1,0.5,1,0.5" />
<dock_point type="master" name="Popup_LC" alignment="0,0.5,0,0.5" />
<!-- slave to other popups -->
<dock_point type="slave" name="Popup_UL" alignment="1,0,1,0" />
<dock_point type="slave" name="Popup_UL" alignment="0,1,0,1" />
<dock_point type="slave" name="Popup_UR" alignment="0,0,0,0" />
<dock_point type="slave" name="Popup_UR" alignment="1,1,1,1" />
<dock_point type="slave" name="Popup_LL" alignment="0,0,0,0" />
<dock_point type="slave" name="Popup_LL" alignment="1,1,1,1" />
<dock_point type="slave" name="Popup_LR" alignment="0,1,0,1" />
<dock_point type="slave" name="Popup_LR" alignment="1,0,1,0" />
<!-- slave to the main window -->
<dock_point type="slave" name="Main_UL" alignment="1,0,1,0" />
<dock_point type="slave" name="Main_UL" alignment="0,1,0,1" />
<dock_point type="slave" name="Main_UR" alignment="0,0,0,0" />
<dock_point type="slave" name="Main_UR" alignment="1,1,1,1" />
<dock_point type="slave" name="Main_LL" alignment="0,0,0,0" />
<dock_point type="slave" name="Main_LL" alignment="1,1,1,1" />
<dock_point type="slave" name="Main_LR" alignment="0,1,0,1" />
<dock_point type="slave" name="Main_LR" alignment="1,0,1,0" />
<script name="OnInit">
rightQuadReady = 1;
// todo deal with FPS better - user settings
SetDesiredFPS(45);
SetWindowTitle(:language.Translate("topmenu/view.console"),true);
StartIntro();
:sonique.InterfacePrefsCreateSection("console_popup");
$size = :sonique.InterfacePrefsGetStringArray("console_popup", "size");
if ($size.IsArray() == true) {
if ( ($size[0] gt 0) and ($size[1] gt 0) ){
// todo - fix bug where if SetSize comes to early, the OS window shape sometimes isn't updated. grrr...
SetSize($size, 0, 0, "linear_accel");
}
}
$location = :sonique.InterfacePrefsGetStringArray("console_popup", "location");
if ($location.IsArray()) {
$dim = :app.GetScreenDimensions();
if ( ($location[0] gte $dim[0]["left"]) and ($location[1] gte $dim[0]["top"]) ) {
if ( ($location[0] lt $dim[0]["right"]) and ($location[1] lt $dim[0]["bottom"]) ) {
SetLocation($location);
}
}
}
if( :sonique.InterfacePrefsGetString("console_popup", "alwaysontop") ) { SetAlwaysOnTop( 1 ); }
else { SetAlwaysOnTop( 0 ); }
// hotkeys
$section = "sonique/gui/slate/hotkeys";
:sonique.prefs.CreateSection($section);
alwaysontop = :sonique.prefs.GetString($section, "alwaysontop");
if (alwaysontop) { :app.RegisterWindowKeyScript( alwaysontop, "SetAlwaysOnTop(!GetAlwaysOnTop());", this ); }
theme = :sonique.prefs.GetString("misc", "theme");
SetTheme();
</script>
<script name="OnDestroy">
$size = GetSize();
:sonique.InterfacePrefsSetStringArray("console_popup", "size", $size);
$location = GetLocation();
:sonique.InterfacePrefsSetStringArray("console_popup", "location", $location );
:sonique.InterfacePrefsSetString("console_popup", "alwaysontop", GetAlwaysOnTop());
// hotkeys
if (alwaysontop) { :app.UnregisterWindowKeyScript( alwaysontop, "SetAlwaysOnTop(!GetAlwaysOnTop());", this ); }
</script>
<script name="OnAlwaysOnTopChange">
window_controls_window.always_on_top_button_window.UpdateAlwaysOnTopState($params[0]);
</script>
<script name="OnActivate">
background_window.left_quadrant_window.SetOffset({12,32,20,-110},0,1000,"linear_decel");
if (rightQuadReady == 1) { background_window.right_quadrant_window.MoveSomething(1000); }
window_controls_window.help_button_window.SetOpacity(1.0);
window_controls_window.always_on_top_button_window.SetOpacity(1.0);
window_controls_window.minimize_button_window.SetOpacity(1.0);
window_controls_window.close_button_window.SetOpacity(1.0);
</script>
<script name="OnDeactivate">
background_window.left_quadrant_window.SetOffset({12,1112,20,20},0,1000,"linear_accel" );
if (rightQuadReady == 1) { background_window.right_quadrant_window.MoveSomething(1000); }
window_controls_window.help_button_window.SetOpacity(0.5);
window_controls_window.always_on_top_button_window.SetOpacity(0.5);
window_controls_window.minimize_button_window.SetOpacity(0.5);
window_controls_window.close_button_window.SetOpacity(0.5);
</script>
<script name="AttachWindow">
// find main and tell it to show me
$bFound = false;
foreach ($window in :app.interfaces["teamsonique/default_interface/Sonique2Default"].windows ) {
if ($window.Name() == "main") {
$bFound = true;
$window.AttachPopup(Name());
}
}
if ($bFound == false) {
:sonique.InterfacePrefsSetString("main", "currentwindow", "main_console_window");
:sonique.LaunchAppWindow("Default Skin");
}
// close me
DestroyWindow();
</script>
<script name="SetTheme">
// all popups need these:
SetMenuProperty("theme" | theme | "_popupmenu");
background_window.SetImageStyle("background","theme" | theme);
title_window.SetImageStyle("background","theme" | theme);
status_display_window.SetImageStyle("background","theme" | theme);
</script>
<window name="background_window" transparent="true" shape="background_shape" _hitstyle="DRAG">
<shape name="background_shape">
<shape_raster
fillmode ="resize"
alignment ="0,0,1,1"
source ="popup.psd|backgound_color_region"
source_offset ="popup.psd|backgound_color_region @ popup.psd|chassis"
inner_rect ="40,45,100,100"
outer_rect ="popup.psd|chassis"
/>
</shape>
<imagestyle name="background"><color_fill color="color1" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme1"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme2"><color_fill color="0xFFFF9900" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme3"><color_fill color="0xFF28497F" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme4"><color_fill color="0xFF000000" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme5"><color_fill color="0xFF888888" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme6"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme7"><color_fill color="0xFF606060" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme8"><color_fill color="0xFF143B14" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme9"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme10"><color_fill color="theme10_color1" alignment="0,0,1,1"/></imagestyle>
<window name="main_background_grid" transparent="true" >
<imagestyle name="background" transparent="true"><raster source="popup.psd|background_tile_grid" opacity="0.1" fillmode="tile" blendmode="ps_normal" /></imagestyle>
</window>
<window name="display_lines_window" transparent="true" _hitstyle="ACTIVE">
<imagestyle name="background">
<raster source="popup.psd|display_corner_top_left" offset="popup.psd|display_corner_top_left @ popup.psd|chassis" alignment="0,0,0,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_corner_top_right" offset="popup.psd|display_corner_top_right @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_corner_bottom_right" offset="popup.psd|display_corner_bottom_right @ popup.psd|chassis" alignment="1,1,1,1" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_line_over_mini_windows" offset="popup.psd|display_line_over_mini_windows @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_top_line_level_1" offset="popup.psd|display_top_line_level_1 @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source = "popup.psd|display_vertical_left_line" offset="popup.psd|display_vertical_left_line @ popup.psd|chassis" alignment="0,1,0,1" blendmode = "ps_normal" opacity="0.45" />
<!-- main left and right vertical lines -->
<color_line color="color3" alignment="0,0,0,1" offset="7,33,7,-116" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,1" offset="-9,41,-9,-36" opacity="0.45" />
<!--top horizontal lines -->
<color_line color="color3" alignment="1,0,1,0" offset="-105,26,-87,26" opacity="0.45" />
<!-- right hand tiny very line-->
<color_line color="color3" alignment="1,0,1,0" offset="-106,21,-106,25" opacity="0.45" />
<!-- lefthand tiny vert line-->
<color_line color="color3" alignment="0,0,0,0" offset="122,17,122,20" opacity="0.45" />
<!-- first long horizontal line -->
<color_line color="color3" alignment="0,0,1,0" offset="90,16,-13,16" opacity="0.45" />
<!-- second long horizontal line -->
<color_line color="color3" alignment="0,0,1,0" offset="123,20,-107,20" opacity="0.45" />
<!-- top_right_lines -->
<color_line color="color3" alignment="1,0,1,0" offset="-248,5,-9,5" opacity="0.45" />
<!-- lower hor. -->
<color_line color="color3" alignment="1,0,1,0" offset="-252,9,-89,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-17,9,-10,9" opacity="0.45" />
<!-- righthand mini vert -->
<color_line color="color3" alignment="1,0,1,0" offset="-9,6,-9,9" opacity="0.45" />
<!-- center mini verts -->
<color_line color="color3" alignment="1,0,1,0" offset="-145,6,-145,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-173,6,-173,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-123,6,-111,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-101,6,-89,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-208,6,-196,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-230,6,-218,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-251,8,-249,6" opacity="0.45" />
<!-- bottom left lines with squares -->
<color_line color="color3" alignment="0,1,0,1" offset="9,-93,,9,-19" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="10,-93,12,-93" opacity="0.45" />
<color_fill color="color3" alignment="0,1,0,1" offset="10,-74,13,-62" opacity="0.45" />
<color_fill color="color3" alignment="0,1,0,1" offset="10,-52,13,-40" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="10,-19,12,-19" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="13,-93,13,-19" opacity="0.45" />
<!-- bottom left criss cross -->
<color_line color="color3" alignment="0,1,0,1" offset="5,-15,19,-15" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="13,-17,13,-8" opacity="0.45" />
<!-- righthand criss cross lines on bottom -->
<color_line color="color3" alignment="1,1,1,1" offset="-197,-6,-167,-6" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-192,-9,-188,-9" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-191,-13,-191,0" opacity="0.45" />
<!-- bottom lines -->
<!-- horizontals -->
<!-- leaving spaces for the playbar controls -->
<color_line color="color3" alignment="1,1,1,1" offset="-191,-18,-107,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-95,-18,-90,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-78,-18,-73,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-61,-18,-56,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-44,-18,-29,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-191,-14,-130,-14" opacity="0.45" />
<!-- verts -->
<color_line color="color3" alignment="1,1,1,1" offset="-191,-17,-191,-15" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-129,-17,-129,-14" opacity="0.45" />
<!-- rects -->
<color_fill color="color3" alignment="1,1,1,1" offset="-176,-17,-164,-14" opacity="0.45" />
<color_fill color="color3" alignment="1,1,1,1" offset="-154,-17,-142,-14" opacity="0.45" />
</imagestyle>
</window> <!-- display_lines_window -->
<window name="left_quadrant_window" alignment="0,0,0,1" offset="12,2112,20,20" transparent="true" _hitstyle="ACTIVE">
<imagestyle name="background">
<raster source="popup.psd|left_quad" fillmode="tile" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<script name="OnIntro">
SetOffset({12,32,20,-115},0,1000,"linear_decel");
</script>
</window>
<window name="right_quadrant_window" transparent="true" alignment="1,0,1,1" offset="-95,-200,-87,0" _hitstyle="ACTIVE">
<imagestyle name="background"><raster source="popup.psd|right_quad" fillmode="tile" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<script name="OnInit">
position = -1;
</script>
<script name="OnIntro">
OnInit();
MoveSomething();
</script>
<script name="MoveSomething">
if ( position == -1 ) {
SetOffset({-95,0,-87,400},0,1000,"linear_decel");
position = 1;
} else {
SetOffset({-95,-400,-87,0},0,1000,"linear_decel");
position = -1;
}
</script>
</window>
</window> <!-- background_window -->
<window name="title_window" type="textdisplay" transparent="true" shape="my_shape"
alignment="0,0,1,0" offset="22,11,-259,26" >
<property font_style="my_font_10" font_color="color3" font_justification="left|v_center|single_line_only|trim_chars_w_ellipses"
edge_offset_rect="7,1,-7,-1"/>
<shape name="my_shape"><shape_roundrect corner_size="5,5" /></shape>
<imagestyle name="background">
<color_rect color="color2" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_rect color="0xFF99EE00" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_rect color="0xFFB83F3F" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_rect color="0xFFCBFF66" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_rect color="0xFFFF0000" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_rect color="0xFFBBBBBB" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_rect color="0xFF00CCFF" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_rect color="0xFFFF0000" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_rect color="0xFF00B200" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_rect color="0xFF588FBA" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_rect color="theme10_color2" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<script name="OnInit">
SetText(:language.Translate("topmenu/view.console"));
</script>
</window> <!-- title_window -->
<window name="status_display_window" type="Sonique2_StatusBar" transparent="true" shape="my_shape"
alignment="0,1,1,1"
offset="20,-26,-191,-10" >
<shape name="my_shape"><shape_roundrect corner_size="5,5" /></shape>
<imagestyle name="background">
<color_fill color="color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_fill color="0xFF99EE00" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_fill color="0xFFB83F3F" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_fill color="0xFFCBFF66" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_fill color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_fill color="0xFF00CCFF" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_fill color="0xFF00B200" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_fill color="0xFF588FBA" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_fill color="theme10_color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<property scroll_mode="horizontal" scroll_speed="50" whitespace="50"
rect_status_offset= "7,1,-7,-1" rect_progress_offset="7,1,-7,-1"
info_font_color="color3" info_font_style="my_font_10" info_font_justification="left|v_center|single_line_only"
error_font_color="color1" error_font_style="my_font_10" error_font_justification="left|v_center|single_line_only"
warning_font_color="color1" warning_font_style="my_font_10" warning_font_justification="left|v_center|single_line_only"
fallback_font_color="color3" fallback_font_style="my_font_10" fallback_font_justification="left|v_center|single_line_only"
/>
</window> <!-- status_display_window -->
<window name="window_controls_window" transparent="true">
<window name="help_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("general/hint.help")); // todo pl </script>
<script name="OnClick"> :sonique.LaunchHelp(); </script>
</window>
<window name="always_on_top_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
<raster state="normal" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<script name="OnInit">
$topstate = parent.parent.GetAlwaysOnTop();
if ($topstate == true) { SetButtonState(1); } else { SetButtonState(0); }
SetHoverHint(:language.Translate("topmenu/file.ontop"));
</script>
<script name="OnClick">
$topstate = parent.parent.GetAlwaysOnTop();
if ($topstate == true) {
parent.parent.SetAlwaysOnTop(0);
SetButtonState(0);
} else {
parent.parent.SetAlwaysOnTop(1);
SetButtonState(1);
}
</script>
<script name="UpdateAlwaysOnTopState">
if ($params[0] == true) { SetButtonState(1); } else { SetButtonState(0); }
</script>
</window>
<window name="minimize_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("topmenu/file.minwin")); </script>
<script name="OnClick"> parent.parent.MinimizeWindow(true); </script>
</window>
<window name="close_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("topmenu/file.closewin")); </script>
<script name="OnClick">
parent.parent.DestroyWindow();
</script>
</window>
</window> <!-- window_controls_window -->
<window name="playbar_controls_window" transparent="true">
<imagestyle name="background">
<raster opacity="0.75" source="popup.psd|control_circles" offset="popup.psd|control_circles @ popup.psd|chassis" alignment="1,1,1,1" blendmode="ps_normal" />
</imagestyle>
<window name="prev_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|prev_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|prev_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|prev_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.prevtrack")); </script>
<script name="OnClick"> :sonique.players.default.Prev();</script>
</window>
<window name="playpause_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|pause_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hover" source="popup.psd|play_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|play_button" blendmode="ps_normal" opacity="1.0" />
<raster state="hit" source="popup.psd|pause_button" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<imagestyle name="state1">
<raster state="hover" source="popup.psd|pause_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|pause_button" blendmode="ps_normal" opacity="1.0" />
<raster state="hit" source="popup.psd|play_button" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<script name="OnInit">
:sonique.players.default.RegisterCallback("Playing","UpdateState()", this);
:sonique.players.default.RegisterCallback("Stopping","UpdateState()", this);
:sonique.players.default.RegisterCallback("Pausing","UpdateState()", this);
UpdateState();
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("Playing", this);
:sonique.players.default.UnregisterCallback("Stopping", this);
:sonique.players.default.UnregisterCallback("Pausing", this);
</script>
<script name="OnClick">
if (:sonique.players.default.IsPlaying()) {
:sonique.players.default.TogglePause();
} else {
:sonique.players.default.Play();
}
UpdateState();
</script>
<script name="UpdateState">
if (:sonique.players.default.IsPlaying()) {
if (:sonique.players.default.IsPaused()) {
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.play"));
} else {
SetButtonState(1);
SetHoverHint(:language.Translate("general/hint.pause"));
}
} else {
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.play"));
}
</script>
</window>
<window name="stop_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|stop_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|stop_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|stop_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.stop")); </script>
<script name="OnClick"> :sonique.players.default.Stop(); </script>
</window>
<window name="next_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|next_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|next_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|next_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.nexttrack")); </script>
<script name="OnClick"> :sonique.players.default.Next();</script>
</window>
</window> <!-- playbar_controls_window -->
<window name="console_window" type="console" offset="25,35,-20,-35" alignment="0,0,1,1" transparent="false">
<imagestyle name="background"> <color_fill color="0x00000000"/> </imagestyle>
</window>
<window name="console_controls_window" transparent="true" >
<script name="OnIntro">
main_window_icon_window.SetOffset({-26,33,-15,43},0,1000,"linear_accel");
</script>
<window name="main_window_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-84,-33,-73,-43" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="popup.psd|main_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="popup.psd|main_window_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="popup.psd|main_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="popup.psd|main_window_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.attachwindow")); </script>
<script name="OnClick"> parent.parent.AttachWindow(); </script>
</window> <!-- main_window_icon_window -->
</window> <!-- console_controls_window -->
</window>
<!-- settings -->
<window name="settings_popup" hitstyle="frame_hitstyle" shape="popup_chassis_shape" transparent="false" default_size="485,365" min_size="400,200">
<imagestyle name="background">
<raster
source ="popup.psd|chassis"
offset ="0,0,0,0"
alignment ="0,0,1,1"
blendmode ="ps_normal"
fillmode ="resize" opacity="1"
inner_rect ="40,45,100,100"
outer_rect ="popup.psd|chassis"
/>
</imagestyle>
<hitstyle name="frame_hitstyle" default_hitcode="DRAG" >
<hitcode type="LEFT">
<shape>
<shape_rect alignment="0,0,0,1" offset="0,0,5,0" />
</shape>
</hitcode>
<hitcode type="BOTTOM">
<shape>
<shape_rect alignment="0,1,1,1" offset="0,-5,0,0" />
</shape>
</hitcode>
<hitcode type="TOP">
<shape>
<shape_rect alignment="0,0,1,0" offset="0,0,0,5" />
</shape>
</hitcode>
<hitcode type="RIGHT">
<shape>
<shape_rect alignment="1,0,1,1" offset="-5,0,0,0" />
</shape>
</hitcode>
<hitcode type="BOTTOMRIGHT">
<shape>
<shape_rect alignment="1,1,1,1" offset="-20,-20,0,0" />
</shape>
</hitcode>
</hitstyle>
<!-- monitor dock points -->
<dock_point type="slave" name="MonitorUL" alignment="0,0,0,0" />
<dock_point type="slave" name="MonitorTC" alignment="0.5,0,0.5,0" />
<dock_point type="slave" name="MonitorUR" alignment="1,0,1,0" />
<dock_point type="slave" name="MonitorLL" alignment="0,1,0,1" />
<dock_point type="slave" name="MonitorBC" alignment="0.5,1,0.5,1" />
<dock_point type="slave" name="MonitorLR" alignment="1,1,1,1" />
<dock_point type="slave" name="MonitorRC" alignment="1,0.5,1,0.5" />
<dock_point type="slave" name="MonitorLC" alignment="0,0.5,0,0.5" />
<!-- master dock points -->
<dock_point type="master" name="Popup_UL" alignment="0,0,0,0" />
<dock_point type="master" name="Popup_TC" alignment="0.5,0,0.5,0" />
<dock_point type="master" name="Popup_UR" alignment="1,0,1,0" />
<dock_point type="master" name="Popup_LL" alignment="0,1,0,1" />
<dock_point type="master" name="Popup_BC" alignment="0.5,1,0.5,1" />
<dock_point type="master" name="Popup_LR" alignment="1,1,1,1" />
<dock_point type="master" name="Popup_RC" alignment="1,0.5,1,0.5" />
<dock_point type="master" name="Popup_LC" alignment="0,0.5,0,0.5" />
<!-- slave to other popups -->
<dock_point type="slave" name="Popup_UL" alignment="1,0,1,0" />
<dock_point type="slave" name="Popup_UL" alignment="0,1,0,1" />
<dock_point type="slave" name="Popup_UR" alignment="0,0,0,0" />
<dock_point type="slave" name="Popup_UR" alignment="1,1,1,1" />
<dock_point type="slave" name="Popup_LL" alignment="0,0,0,0" />
<dock_point type="slave" name="Popup_LL" alignment="1,1,1,1" />
<dock_point type="slave" name="Popup_LR" alignment="0,1,0,1" />
<dock_point type="slave" name="Popup_LR" alignment="1,0,1,0" />
<!-- slave to the main window -->
<dock_point type="slave" name="Main_UL" alignment="1,0,1,0" />
<dock_point type="slave" name="Main_UL" alignment="0,1,0,1" />
<dock_point type="slave" name="Main_UR" alignment="0,0,0,0" />
<dock_point type="slave" name="Main_UR" alignment="1,1,1,1" />
<dock_point type="slave" name="Main_LL" alignment="0,0,0,0" />
<dock_point type="slave" name="Main_LL" alignment="1,1,1,1" />
<dock_point type="slave" name="Main_LR" alignment="0,1,0,1" />
<dock_point type="slave" name="Main_LR" alignment="1,0,1,0" />
<script name="OnInit">
rightQuadReady = 1;
// todo deal with FPS better - user settings
SetDesiredFPS(45);
SetWindowTitle(:language.Translate("topmenu/view.setup"),true);
StartIntro();
:sonique.InterfacePrefsCreateSection("settings_popup");
$size = :sonique.InterfacePrefsGetStringArray("settings_popup", "size");
if ($size.IsArray() == true) {
if ( ($size[0] gt 0) and ($size[1] gt 0) ){
// todo - fix bug where if SetSize comes to early, the OS window shape sometimes isn't updated. grrr...
SetSize($size, 0, 0, "linear_accel");
}
}
$location = :sonique.InterfacePrefsGetStringArray("settings_popup", "location");
if ($location.IsArray()) {
$dim = :app.GetScreenDimensions();
if ( ($location[0] gte $dim[0]["left"]) and ($location[1] gte $dim[0]["top"]) ) {
if ( ($location[0] lt $dim[0]["right"]) and ($location[1] lt $dim[0]["bottom"]) ) {
SetLocation($location);
}
}
}
if( :sonique.InterfacePrefsGetString("settings_popup", "alwaysontop") ) { SetAlwaysOnTop( 1 ); }
else { SetAlwaysOnTop( 0 ); }
// hotkeys
$section = "sonique/gui/slate/hotkeys";
:sonique.prefs.CreateSection($section);
alwaysontop = :sonique.prefs.GetString($section, "alwaysontop");
if (alwaysontop) { :app.RegisterWindowKeyScript( alwaysontop, "SetAlwaysOnTop(!GetAlwaysOnTop());", this ); }
main.skin_settings_window.careful=0;
theme = :sonique.prefs.GetString("misc", "theme");
main.skin_settings_window.SelectTheme();
</script>
<script name="OnDestroy">
$size = GetSize();
:sonique.InterfacePrefsSetStringArray("settings_popup", "size", $size);
$location = GetLocation();
:sonique.InterfacePrefsSetStringArray("settings_popup", "location", $location );
:sonique.InterfacePrefsSetString("settings_popup", "alwaysontop", GetAlwaysOnTop());
// hotkeys
if (alwaysontop) { :app.UnregisterWindowKeyScript( alwaysontop, "SetAlwaysOnTop(!GetAlwaysOnTop());", this ); }
</script>
<script name="OnAlwaysOnTopChange">
window_controls_window.always_on_top_button_window.UpdateAlwaysOnTopState($params[0]);
</script>
<script name="OnActivate">
background_window.left_quadrant_window.SetOffset({12,32,20,-110},0,1000,"linear_decel");
if (rightQuadReady == 1) { background_window.right_quadrant_window.MoveSomething(1000); }
window_controls_window.help_button_window.SetOpacity(1.0);
window_controls_window.always_on_top_button_window.SetOpacity(1.0);
window_controls_window.minimize_button_window.SetOpacity(1.0);
window_controls_window.close_button_window.SetOpacity(1.0);
</script>
<script name="OnDeactivate">
background_window.left_quadrant_window.SetOffset({12,1112,20,20},0,1000,"linear_accel" );
if (rightQuadReady == 1) { background_window.right_quadrant_window.MoveSomething(1000); }
window_controls_window.help_button_window.SetOpacity(0.5);
window_controls_window.always_on_top_button_window.SetOpacity(0.5);
window_controls_window.minimize_button_window.SetOpacity(0.5);
window_controls_window.close_button_window.SetOpacity(0.5);
</script>
<script name="AttachWindow">
// find main and tell it to show me
$bFound = false;
foreach ($window in :app.interfaces["teamsonique/default_interface/Sonique2Default"].windows ) {
if ($window.Name() == "main") {
$bFound = true;
$window.AttachPopup(Name());
}
}
if ($bFound == false) {
// launch main and try it again.
:sonique.InterfacePrefsSetString("main", "currentwindow", "main_settings_window");
:sonique.LaunchAppWindow("Default Skin");
}
// close me
DestroyWindow();
</script>
<script name="SetTheme">
// all popups need these:
SetMenuProperty("theme" | theme | "_popupmenu");
background_window.SetImageStyle("background","theme" | theme);
title_window.SetImageStyle("background","theme" | theme);
status_display_window.SetImageStyle("background","theme" | theme);
main.app_settings_tab_window.SetImageStyle("state0", "theme" | theme | "_state0");
main.app_settings_tab_window.SetImageStyle("state1", "theme" | theme | "_state1");
main.skin_settings_tab_window.SetImageStyle("state0", "theme" | theme | "_state0");
main.skin_settings_tab_window.SetImageStyle("state1", "theme" | theme | "_state1");
</script>
<window name="background_window" transparent="true" shape="background_shape" _hitstyle="DRAG">
<shape name="background_shape">
<shape_raster
fillmode ="resize"
alignment ="0,0,1,1"
source ="popup.psd|backgound_color_region"
source_offset ="popup.psd|backgound_color_region @ popup.psd|chassis"
inner_rect ="40,45,100,100"
outer_rect ="popup.psd|chassis"
/>
</shape>
<imagestyle name="background"><color_fill color="color1" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme1"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme2"><color_fill color="0xFFFF9900" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme3"><color_fill color="0xFF28497F" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme4"><color_fill color="0xFF000000" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme5"><color_fill color="0xFF888888" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme6"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme7"><color_fill color="0xFF606060" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme8"><color_fill color="0xFF143B14" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme9"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme10"><color_fill color="theme10_color1" alignment="0,0,1,1"/></imagestyle>
<window name="main_background_grid" transparent="true" >
<imagestyle name="background" transparent="true"><raster source="popup.psd|background_tile_grid" opacity="0.1" fillmode="tile" blendmode="ps_normal" /></imagestyle>
</window>
<window name="display_lines_window" transparent="true" _hitstyle="ACTIVE">
<imagestyle name="background">
<raster source="popup.psd|display_corner_top_left" offset="popup.psd|display_corner_top_left @ popup.psd|chassis" alignment="0,0,0,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_corner_top_right" offset="popup.psd|display_corner_top_right @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_corner_bottom_right" offset="popup.psd|display_corner_bottom_right @ popup.psd|chassis" alignment="1,1,1,1" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_line_over_mini_windows" offset="popup.psd|display_line_over_mini_windows @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_top_line_level_1" offset="popup.psd|display_top_line_level_1 @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source = "popup.psd|display_vertical_left_line" offset="popup.psd|display_vertical_left_line @ popup.psd|chassis" alignment="0,1,0,1" blendmode = "ps_normal" opacity="0.45" />
<!-- main left and right vertical lines -->
<color_line color="color3" alignment="0,0,0,1" offset="7,33,7,-116" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,1" offset="-9,41,-9,-36" opacity="0.45" />
<!--top horizontal lines -->
<color_line color="color3" alignment="1,0,1,0" offset="-105,26,-87,26" opacity="0.45" />
<!-- right hand tiny very line-->
<color_line color="color3" alignment="1,0,1,0" offset="-106,21,-106,25" opacity="0.45" />
<!-- lefthand tiny vert line-->
<color_line color="color3" alignment="0,0,0,0" offset="122,17,122,20" opacity="0.45" />
<!-- first long horizontal line -->
<color_line color="color3" alignment="0,0,1,0" offset="90,16,-13,16" opacity="0.45" />
<!-- second long horizontal line -->
<color_line color="color3" alignment="0,0,1,0" offset="123,20,-107,20" opacity="0.45" />
<!-- top_right_lines -->
<color_line color="color3" alignment="1,0,1,0" offset="-248,5,-9,5" opacity="0.45" />
<!-- lower hor. -->
<color_line color="color3" alignment="1,0,1,0" offset="-252,9,-89,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-17,9,-10,9" opacity="0.45" />
<!-- righthand mini vert -->
<color_line color="color3" alignment="1,0,1,0" offset="-9,6,-9,9" opacity="0.45" />
<!-- center mini verts -->
<color_line color="color3" alignment="1,0,1,0" offset="-145,6,-145,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-173,6,-173,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-123,6,-111,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-101,6,-89,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-208,6,-196,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-230,6,-218,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-251,8,-249,6" opacity="0.45" />
<!-- bottom left lines with squares -->
<color_line color="color3" alignment="0,1,0,1" offset="9,-93,,9,-19" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="10,-93,12,-93" opacity="0.45" />
<color_fill color="color3" alignment="0,1,0,1" offset="10,-74,13,-62" opacity="0.45" />
<color_fill color="color3" alignment="0,1,0,1" offset="10,-52,13,-40" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="10,-19,12,-19" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="13,-93,13,-19" opacity="0.45" />
<!-- bottom left criss cross -->
<color_line color="color3" alignment="0,1,0,1" offset="5,-15,19,-15" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="13,-17,13,-8" opacity="0.45" />
<!-- righthand criss cross lines on bottom -->
<color_line color="color3" alignment="1,1,1,1" offset="-197,-6,-167,-6" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-192,-9,-188,-9" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-191,-13,-191,0" opacity="0.45" />
<!-- bottom lines -->
<!-- horizontals -->
<!-- leaving spaces for the playbar controls -->
<color_line color="color3" alignment="1,1,1,1" offset="-191,-18,-107,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-95,-18,-90,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-78,-18,-73,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-61,-18,-56,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-44,-18,-29,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-191,-14,-130,-14" opacity="0.45" />
<!-- verts -->
<color_line color="color3" alignment="1,1,1,1" offset="-191,-17,-191,-15" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-129,-17,-129,-14" opacity="0.45" />
<!-- rects -->
<color_fill color="color3" alignment="1,1,1,1" offset="-176,-17,-164,-14" opacity="0.45" />
<color_fill color="color3" alignment="1,1,1,1" offset="-154,-17,-142,-14" opacity="0.45" />
</imagestyle>
</window> <!-- display_lines_window -->
<window name="left_quadrant_window" alignment="0,0,0,1" offset="12,2112,20,20" transparent="true" _hitstyle="ACTIVE">
<imagestyle name="background">
<raster source="popup.psd|left_quad" fillmode="tile" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<script name="OnIntro">
SetOffset({12,32,20,-115},0,1000,"linear_decel");
</script>
</window>
<window name="right_quadrant_window" transparent="true" alignment="1,0,1,1" offset="-95,-200,-87,0" _hitstyle="ACTIVE">
<imagestyle name="background"><raster source="popup.psd|right_quad" fillmode="tile" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<script name="OnInit">
position = -1;
</script>
<script name="OnIntro">
OnInit();
MoveSomething();
</script>
<script name="MoveSomething">
if ( position == -1 ) {
SetOffset({-95,0,-87,400},0,1000,"linear_decel");
position = 1;
} else {
SetOffset({-95,-400,-87,0},0,1000,"linear_decel");
position = -1;
}
</script>
</window>
</window> <!-- background_window -->
<window name="title_window" type="textdisplay" transparent="true" shape="my_shape"
alignment="0,0,1,0" offset="22,11,-259,26" >
<property font_style="my_font_10" font_color="color3" font_justification="left|v_center|single_line_only|trim_chars_w_ellipses"
edge_offset_rect="7,1,-7,-1"/>
<shape name="my_shape"><shape_roundrect corner_size="5,5" /></shape>
<imagestyle name="background">
<color_rect color="color2" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_rect color="0xFF99EE00" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_rect color="0xFFB83F3F" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_rect color="0xFFCBFF66" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_rect color="0xFFFF0000" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_rect color="0xFFBBBBBB" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_rect color="0xFF00CCFF" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_rect color="0xFFFF0000" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_rect color="0xFF00B200" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_rect color="0xFF588FBA" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_rect color="theme10_color2" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<script name="OnInit">
SetText(:language.Translate("topmenu/view.setup"));
</script>
</window> <!-- title_window -->
<window name="status_display_window" type="Sonique2_StatusBar" transparent="true" shape="my_shape"
alignment="0,1,1,1"
offset="20,-26,-191,-10" >
<shape name="my_shape"><shape_roundrect corner_size="5,5" /></shape>
<imagestyle name="background">
<color_fill color="color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_fill color="0xFF99EE00" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_fill color="0xFFB83F3F" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_fill color="0xFFCBFF66" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_fill color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_fill color="0xFF00CCFF" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_fill color="0xFF00B200" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_fill color="0xFF588FBA" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_fill color="theme10_color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<property scroll_mode="horizontal" scroll_speed="50" whitespace="50"
rect_status_offset= "7,1,-7,-1" rect_progress_offset="7,1,-7,-1"
info_font_color="color3" info_font_style="my_font_10" info_font_justification="left|v_center|single_line_only"
error_font_color="color1" error_font_style="my_font_10" error_font_justification="left|v_center|single_line_only"
warning_font_color="color1" warning_font_style="my_font_10" warning_font_justification="left|v_center|single_line_only"
fallback_font_color="color3" fallback_font_style="my_font_10" fallback_font_justification="left|v_center|single_line_only"
/>
<script name="OnInit">
:sonique.LocalStatus("", "fallback", this);
</script>
</window> <!-- status_display_window -->
<window name="window_controls_window" transparent="true">
<window name="help_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("general/hint.help")); // todo pl </script>
<script name="OnClick"> :sonique.LaunchHelp(); </script>
</window>
<window name="always_on_top_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
<raster state="normal" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<script name="OnInit">
$topstate = parent.parent.GetAlwaysOnTop();
if ($topstate == true) { SetButtonState(1); } else { SetButtonState(0); }
SetHoverHint(:language.Translate("topmenu/file.ontop"));
</script>
<script name="OnClick">
$topstate = parent.parent.GetAlwaysOnTop();
if ($topstate == true) {
parent.parent.SetAlwaysOnTop(0);
SetButtonState(0);
} else {
parent.parent.SetAlwaysOnTop(1);
SetButtonState(1);
}
</script>
<script name="UpdateAlwaysOnTopState">
if ($params[0] == true) { SetButtonState(1); } else { SetButtonState(0); }
</script>
</window>
<window name="minimize_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("topmenu/file.minwin")); </script>
<script name="OnClick"> parent.parent.MinimizeWindow(true); </script>
</window>
<window name="close_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("topmenu/file.closewin")); </script>
<script name="OnClick">
parent.parent.DestroyWindow();
</script>
</window>
</window> <!-- window_controls_window -->
<window name="playbar_controls_window" transparent="true">
<imagestyle name="background">
<raster opacity="0.75" source="popup.psd|control_circles" offset="popup.psd|control_circles @ popup.psd|chassis" alignment="1,1,1,1" blendmode="ps_normal" />
</imagestyle>
<window name="prev_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|prev_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|prev_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|prev_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.prevtrack")); </script>
<script name="OnClick"> :sonique.players.default.Prev();</script>
</window>
<window name="playpause_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|pause_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hover" source="popup.psd|play_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|play_button" blendmode="ps_normal" opacity="1.0" />
<raster state="hit" source="popup.psd|pause_button" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<imagestyle name="state1">
<raster state="hover" source="popup.psd|pause_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|pause_button" blendmode="ps_normal" opacity="1.0" />
<raster state="hit" source="popup.psd|play_button" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<script name="OnInit">
:sonique.players.default.RegisterCallback("Playing","UpdateState()", this);
:sonique.players.default.RegisterCallback("Stopping","UpdateState()", this);
:sonique.players.default.RegisterCallback("Pausing","UpdateState()", this);
UpdateState();
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("Playing", this);
:sonique.players.default.UnregisterCallback("Stopping", this);
:sonique.players.default.UnregisterCallback("Pausing", this);
</script>
<script name="OnClick">
if (:sonique.players.default.IsPlaying()) {
:sonique.players.default.TogglePause();
} else {
:sonique.players.default.Play();
}
UpdateState();
</script>
<script name="UpdateState">
if (:sonique.players.default.IsPlaying()) {
if (:sonique.players.default.IsPaused()) {
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.play"));
} else {
SetButtonState(1);
SetHoverHint(:language.Translate("general/hint.pause"));
}
} else {
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.play"));
}
</script>
</window>
<window name="stop_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|stop_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|stop_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|stop_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.stop")); </script>
<script name="OnClick"> :sonique.players.default.Stop(); </script>
</window>
<window name="next_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|next_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|next_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|next_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.nexttrack")); </script>
<script name="OnClick"> :sonique.players.default.Next();</script>
</window>
</window> <!-- playbar_controls_window -->
<window name="main" transparent="true" offset="25,35,-20,-35" alignment="0,0,1,1" >
<window name="app_settings_tab_window" shape="MyShape" type="button" transparent="true" alignment="0,0,0,0" offset="26,2,171,21" hitstyle="ACTIVE">
<property hover="true" default_delay = "150" font_color= "color3" font_style = "my_font_10" />
<shape name="MyShape"><shape_roundrect corner_size="4,4" /> </shape>
<imagestyle name="state0"><color_rect filled="true" cornerradius="4.0" color="color2" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="state1"><color_rect filled="true" cornerradius="4.0" color="color2" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme1_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme1_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme2_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme2_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme3_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme3_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme4_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme4_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme5_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme5_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme6_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme6_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme7_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme7_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme8_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme8_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme9_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme9_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme10_state0"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme10_state1"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<script name="OnInit">
SetButtonState(1);
SetText("Sonique");
SetHoverHint(:language.Translate("defaultskin/hint.appsettings"));
</script>
<script name="OnClick">
SetButtonState(1);
skin_settings_tab_window.SetButtonState(0);
tabs_foreground_window.SetImageStyle("background", "left_tab_selected");
skin_settings_window.Hide();
settings_window.Show();
</script>
</window>
<window name="skin_settings_tab_window" shape="MyShape" type="button" transparent="true" alignment="0,0,0,0"
offset="180,2,325,21" hitstyle="ACTIVE">
<property hover="true" default_delay = "150" font_color= "color3" font_style = "my_font_10" />
<shape name="MyShape"><shape_roundrect corner_size="4,4" /></shape>
<imagestyle name="state0"><color_rect filled="true" cornerradius="4.0" color="color2" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="state1"><color_rect filled="true" cornerradius="4.0" color="color2" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme1_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme1_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF99EE00" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme2_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme2_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFB83F3F" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme3_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme3_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFCBFF66" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme4_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme4_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme5_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme5_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme6_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme6_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00CCFF" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme7_state0"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme7_state1"><color_rect filled="true" cornerradius="4.0" color="0xFFFF0000" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme8_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme8_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF00B200" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme9_state0"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme9_state1"><color_rect filled="true" cornerradius="4.0" color="0xFF588FBA" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<imagestyle name="theme10_state0"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<imagestyle name="theme10_state1"><color_rect filled="true" cornerradius="4.0" color="theme10_color2" blendmode="ps_normal" opacity="0.1" /></imagestyle>
<script name="OnInit">
SetText(:language.Translate("defaultskin/label.skinsettings"));
SetHoverHint(:language.Translate("defaultskin/hint.skinsettings"));
</script>
<script name="OnClick">
SetButtonState(1);
app_settings_tab_window.SetButtonState(0);
tabs_foreground_window.SetImageStyle("background", "right_tab_selected");
settings_window.Hide();
skin_settings_window.Show();
</script>
</window>
<window name="tabs_foreground_window" alignment="0,0,1,0" offset="0,0,0,34" transparent="true">
<imagestyle name="background" transparent="true" >
<raster source="grayscale.psd|tabs_front_left" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<imagestyle name="right_tab_selected" transparent="true" >
<raster source="grayscale.psd|tabs_front_right" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<imagestyle name="left_tab_selected" transparent="true" >
<raster source="grayscale.psd|tabs_front_left" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
</window>
<window name="settings_window" type="Sonique2_Settings" transparent="true" alignment="0,0,1,1" offset="0,33,0,0">
<imagestyle name="background" transparent="true" ><color_rect color="color3"/></imagestyle>
</window>
<window name="skin_settings_window" type="textdisplay" hidden="true" transparent="true" alignment="0,0,1,1" offset="0,33,0,0">
<imagestyle name="background" transparent="true" ><color_rect color="color3"/></imagestyle>
<script name="SelectTheme">
if (theme == "1") {
theme_highlight.SetOffset({17,27,42,98},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Mamboreta");
}
if (theme == "2") {
theme_highlight.SetOffset({57,27,82,98},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Earth");
}
if (theme == "3") {
theme_highlight.SetOffset({97,27,122,98},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Sea");
}
if (theme == "4") {
theme_highlight.SetOffset({137,27,162,98},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Metropolitan");
}
if (theme == "5") {
theme_highlight.SetOffset({177,27,202,98},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Absence");
}
if (theme == "6") {
theme_highlight.SetOffset({17,107,42,178},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Lagoon");
}
if (theme == "7") {
theme_highlight.SetOffset({57,107,82,178},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "red");
}
if (theme == "8") {
theme_highlight.SetOffset({97,107,122,178},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Grass");
}
if (theme == "9") {
theme_highlight.SetOffset({137,107,162,178},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Metal");
}
if (theme == "10") {
theme_highlight.SetOffset({177,107,202,178},0,500,"linear_accel");
current_label_window.SetText(:language.Translate("defaultskin/label.currenttheme") | "Desert");
}
:sonique.prefs.SetString("misc", "theme", theme);
SetTheme();
if(careful){
foreach ($window in :app.interfaces["teamsonique/default_interface/Sonique2Default"].windows ) {
if ($window.Name() == "main") {
$window.theme = theme;
$window.main_settings_window.skin_settings_window.SelectTheme();
}
}
}
careful=1;
</script>
<window name="themes_label_window" type="textdisplay" alignment="0,0,1,0" offset="5,5,-5,20" transparent="true">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center" />
<script name="OnInit"> SetText(:language.Translate("defaultskin/label.choosetheme")); </script>
</window>
<window name="theme_1_button" type="button" alignment="0,0,0,0" offset="20,30,40,95" hitstyle="ACTIVE">
<imagestyle name="background" >
<color_fill color="0xFF303030" />
<color_fill color="0xFF99EE00" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Mamboreta");</script>
<script name="OnClick">theme=1; SelectTheme();</script>
</window>
<window name="theme_2_button" type="button" alignment="0,0,0,0" offset="60,30,80,95" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFFFF9900" />
<color_fill color="0xFFB83F3F" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Earth");</script>
<script name="OnClick">theme=2; SelectTheme();</script>
</window>
<window name="theme_3_button" type="button" alignment="0,0,0,0" offset="100,30,120,95" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFF28497F"/>
<color_fill color="0xFFCBFF66" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Sea");</script>
<script name="OnClick">theme=3; SelectTheme();</script>
</window>
<window name="theme_4_button" type="button" alignment="0,0,0,0" offset="140,30,160,95" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFF000000"/>
<color_fill color="0xFFFF0000" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Metropolitan");</script>
<script name="OnClick">theme=4; SelectTheme();</script>
</window>
<window name="theme_5_button" type="button" alignment="0,0,0,0" offset="180,30,200,95" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFF888888"/>
<color_fill color="0xFFBBBBBB" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Absence");</script>
<script name="OnClick">theme=5; SelectTheme();</script>
</window>
<window name="theme_6_button" type="button" alignment="0,0,0,0" offset="20,110,40,175" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFF303030"/>
<color_fill color="0xFF00CCFF" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Lagoon");</script>
<script name="OnClick">theme=6; SelectTheme();</script>
</window>
<window name="theme_7_button" type="button" alignment="0,0,0,0" offset="60,110,80,175" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFF606060"/>
<color_fill color="0xFFFF0000" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("red");</script>
<script name="OnClick">theme=7; SelectTheme();</script>
</window>
<window name="theme_8_button" type="button" alignment="0,0,0,0" offset="100,110,120,175" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFF143B14"/>
<color_fill color="0xFF00B200" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Grass");</script>
<script name="OnClick">theme=8; SelectTheme();</script>
</window>
<window name="theme_9_button" type="button" alignment="0,0,0,0" offset="140,110,160,175" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="0xFF303030"/>
<color_fill color="0xFF588FBA" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Metal");</script>
<script name="OnClick">theme=9; SelectTheme();</script>
</window>
<window name="theme_10_button" type="button" alignment="0,0,0,0" offset="180,110,200,175" hitstyle="ACTIVE">
<imagestyle name="background" transparent="true" >
<color_fill color="theme10_color1"/>
<color_fill color="theme10_color2" opacity="0.45" />
</imagestyle>
<script name="OnInit">SetHoverHint("Desert");</script>
<script name="OnClick">theme=10; SelectTheme();</script>
</window>
<window name="theme_highlight" alignment="0,0,0,0" offset="17,27,42,98" hitstyle="none" transparent="true">
<imagestyle name="background" transparent="true" >
<color_rect color="color3" cornerradius="3.0" />
</imagestyle>
</window>
<window name="current_label_window" type="textdisplay" alignment="0,0,1,0" offset="5,190,-5,200" transparent="true">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center" />
</window>
<window name="song_popup_button" type="button" alignment="0,0,0,0" offset="20,200,40,220" transparent="true" hitstyle="ACTIVE">
<property hover="true" />
<imagestyle name="state0">
<include source="MML_Mood_DlgCheckBoxState0" />
</imagestyle>
<imagestyle name="state1">
<include source="MML_Mood_DlgCheckBoxState1" />
</imagestyle>
<script name="OnInit">
SetToggle(true);
if(:sonique.InterfacePrefsGetString("song_popup", "enabled")){
SetButtonState(1);
}
</script>
<script name="OnClick">
if(GetButtonState()){
:sonique.InterfacePrefsSetString("song_popup", "enabled", 1);
}
else{
:sonique.InterfacePrefsSetString("song_popup", "enabled", 0);
}
</script>
</window>
<window name="song_popup_label_window" type="textdisplay" alignment="0,0,0,0" offset="50,200,160,220" transparent="true">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center" />
<script name="OnInit"> SetText("Song Tooltips"); </script>
</window>
<window name="song_popup_fillbar_label_window" type="textdisplay" alignment="0,0,0,0" offset="40,224,80,234" transparent="true">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center" />
<script name="OnInit"> SetText("Offset"); </script>
</window>
<window name="song_popup_fillbar" type="fillbar" transparent="true" hitstyle="ACTIVE" offset="90,224,200,234" alignment="0,0,0,0" >
<property orientation="left_to_right"/>
<imagestyle name="barempty"> <color_fill color="0xFF8080FF" alignment="entire"/> </imagestyle>
<imagestyle name="barfilled"> <color_fill color="0xFF0000FF" alignment="entire"/> </imagestyle>
<script name="OnInit">
SetHoverHint("song popup offset");
SetMin(0);
SetMax(400);
UpdateDisplay();
</script>
<script name="OnPosChange">
$offset=GetIntPos();
:sonique.Status("song popup offset " | $offset);
song_popup_fillbar_number_label_window.SetText($offset);
</script>
<script name="OnPosFinalized">
:sonique.InterfacePrefsSetString("song_popup", "offset", GetIntPos());
$bFound=0;
foreach ($window in :app.interfaces["teamsonique/default_interface/Sonique2Default"].windows ) {
if ($window.Name() =="main") {
$window.main_settings_window.skin_settings_window.song_popup_fillbar.UpdateDisplay();
}
if ($window.Name() == "song_popup") {
$bFound=1;
$window.Update();
}
}
if($bFound == 0 and :sonique.InterfacePrefsGetString("song_popup", "enabled")){
:sonique.LaunchLocalWindow("song_popup");
}
</script>
<script name="UpdateDisplay">
$offset=:sonique.InterfacePrefsGetString("song_popup", "offset");
SetIntPos($offset);
song_popup_fillbar_number_label_window.SetText($offset);
</script>
</window>
<window name="song_popup_fillbar_number_label_window" type="textdisplay" alignment="0,0,0,0" offset="210,224,260,234" transparent="true">
<property font_style="my_font_8" font_color="color3" font_justification="left|v_center" />
</window>
</window>
</window>
</window>
<!-- vis -->
<window name="vis_popup" hitstyle="frame_hitstyle" shape="popup_chassis_shape" transparent="false" default_size="485,365" min_size="400,200">
<imagestyle name="background">
<raster
source ="popup.psd|chassis"
offset ="0,0,0,0"
alignment ="0,0,1,1"
blendmode ="ps_normal"
fillmode ="resize" opacity="1"
inner_rect ="40,45,100,100"
outer_rect ="popup.psd|chassis"
/>
</imagestyle>
<hitstyle name="frame_hitstyle" default_hitcode="DRAG" >
<hitcode type="LEFT">
<shape>
<shape_rect alignment="0,0,0,1" offset="0,0,5,0" />
</shape>
</hitcode>
<hitcode type="BOTTOM">
<shape>
<shape_rect alignment="0,1,1,1" offset="0,-5,0,0" />
</shape>
</hitcode>
<hitcode type="TOP">
<shape>
<shape_rect alignment="0,0,1,0" offset="0,0,0,5" />
</shape>
</hitcode>
<hitcode type="RIGHT">
<shape>
<shape_rect alignment="1,0,1,1" offset="-5,0,0,0" />
</shape>
</hitcode>
<hitcode type="BOTTOMRIGHT">
<shape>
<shape_rect alignment="1,1,1,1" offset="-20,-20,0,0" />
</shape>
</hitcode>
</hitstyle>
<!-- monitor dock points -->
<dock_point type="slave" name="MonitorUL" alignment="0,0,0,0" />
<dock_point type="slave" name="MonitorTC" alignment="0.5,0,0.5,0" />
<dock_point type="slave" name="MonitorUR" alignment="1,0,1,0" />
<dock_point type="slave" name="MonitorLL" alignment="0,1,0,1" />
<dock_point type="slave" name="MonitorBC" alignment="0.5,1,0.5,1" />
<dock_point type="slave" name="MonitorLR" alignment="1,1,1,1" />
<dock_point type="slave" name="MonitorRC" alignment="1,0.5,1,0.5" />
<dock_point type="slave" name="MonitorLC" alignment="0,0.5,0,0.5" />
<!-- master dock points -->
<dock_point type="master" name="Popup_UL" alignment="0,0,0,0" />
<dock_point type="master" name="Popup_TC" alignment="0.5,0,0.5,0" />
<dock_point type="master" name="Popup_UR" alignment="1,0,1,0" />
<dock_point type="master" name="Popup_LL" alignment="0,1,0,1" />
<dock_point type="master" name="Popup_BC" alignment="0.5,1,0.5,1" />
<dock_point type="master" name="Popup_LR" alignment="1,1,1,1" />
<dock_point type="master" name="Popup_RC" alignment="1,0.5,1,0.5" />
<dock_point type="master" name="Popup_LC" alignment="0,0.5,0,0.5" />
<!-- slave to other popups -->
<dock_point type="slave" name="Popup_UL" alignment="1,0,1,0" />
<dock_point type="slave" name="Popup_UL" alignment="0,1,0,1" />
<dock_point type="slave" name="Popup_UR" alignment="0,0,0,0" />
<dock_point type="slave" name="Popup_UR" alignment="1,1,1,1" />
<dock_point type="slave" name="Popup_LL" alignment="0,0,0,0" />
<dock_point type="slave" name="Popup_LL" alignment="1,1,1,1" />
<dock_point type="slave" name="Popup_LR" alignment="0,1,0,1" />
<dock_point type="slave" name="Popup_LR" alignment="1,0,1,0" />
<!-- slave to the main window -->
<dock_point type="slave" name="Main_UL" alignment="1,0,1,0" />
<dock_point type="slave" name="Main_UL" alignment="0,1,0,1" />
<dock_point type="slave" name="Main_UR" alignment="0,0,0,0" />
<dock_point type="slave" name="Main_UR" alignment="1,1,1,1" />
<dock_point type="slave" name="Main_LL" alignment="0,0,0,0" />
<dock_point type="slave" name="Main_LL" alignment="1,1,1,1" />
<dock_point type="slave" name="Main_LR" alignment="0,1,0,1" />
<dock_point type="slave" name="Main_LR" alignment="1,0,1,0" />
<script name="OnInit">
rightQuadReady = 1;
// todo deal with FPS better - user settings
SetDesiredFPS(45);
SetWindowTitle(:language.Translate("topmenu/view.visuals"),true);
StartIntro();
:sonique.InterfacePrefsCreateSection("vis_popup");
$size = :sonique.InterfacePrefsGetStringArray("vis_popup", "size");
if ($size.IsArray() == true) {
if ( ($size[0] gt 0) and ($size[1] gt 0) ){
// todo - fix bug where if SetSize comes to early, the OS window shape sometimes isn't updated. grrr...
SetSize($size, 0, 0, "linear_accel");
}
}
$location = :sonique.InterfacePrefsGetStringArray("vis_popup", "location");
if ($location.IsArray()) {
$dim = :app.GetScreenDimensions();
if ( ($location[0] gte $dim[0]["left"]) and ($location[1] gte $dim[0]["top"]) ) {
if ( ($location[0] lt $dim[0]["right"]) and ($location[1] lt $dim[0]["bottom"]) ) {
SetLocation($location);
}
}
}
if( :sonique.InterfacePrefsGetString("vis_popup", "alwaysontop") ) { SetAlwaysOnTop( 1 ); }
else { SetAlwaysOnTop( 0 ); }
// hotkeys
$section = "sonique/gui/slate/hotkeys";
:sonique.prefs.CreateSection($section);
alwaysontop = :sonique.prefs.GetString($section, "alwaysontop");
if (alwaysontop) { :app.RegisterWindowKeyScript( alwaysontop, "SetAlwaysOnTop(!GetAlwaysOnTop());", this ); }
theme = :sonique.prefs.GetString("misc", "theme");
SetTheme();
</script>
<script name="OnDestroy">
$size = GetSize();
:sonique.InterfacePrefsSetStringArray("vis_popup", "size", $size);
$location = GetLocation();
:sonique.InterfacePrefsSetStringArray("vis_popup", "location", $location );
:sonique.InterfacePrefsSetString("vis_popup", "alwaysontop", GetAlwaysOnTop());
// hotkeys
if (alwaysontop) { :app.UnregisterWindowKeyScript( alwaysontop, "SetAlwaysOnTop(!GetAlwaysOnTop());", this ); }
</script>
<script name="OnAlwaysOnTopChange">
window_controls_window.always_on_top_button_window.UpdateAlwaysOnTopState($params[0]);
</script>
<script name="OnActivate">
background_window.left_quadrant_window.SetOffset({12,32,20,-110},0,1000,"linear_decel");
if (rightQuadReady == 1) { background_window.right_quadrant_window.MoveSomething(1000); }
window_controls_window.help_button_window.SetOpacity(1.0);
window_controls_window.always_on_top_button_window.SetOpacity(1.0);
window_controls_window.minimize_button_window.SetOpacity(1.0);
window_controls_window.close_button_window.SetOpacity(1.0);
</script>
<script name="OnDeactivate">
background_window.left_quadrant_window.SetOffset({12,1112,20,20},0,1000,"linear_accel" );
if (rightQuadReady == 1) { background_window.right_quadrant_window.MoveSomething(1000); }
window_controls_window.help_button_window.SetOpacity(0.5);
window_controls_window.always_on_top_button_window.SetOpacity(0.5);
window_controls_window.minimize_button_window.SetOpacity(0.5);
window_controls_window.close_button_window.SetOpacity(0.5);
</script>
<script name="AttachWindow">
// find main and tell it to show me
$bFound = false;
foreach ($window in :app.interfaces["teamsonique/default_interface/Sonique2Default"].windows ) {
if ($window.Name() == "main") {
$bFound = true;
$window.AttachPopup(Name());
}
}
if ($bFound == false) {
// launch main and try it again.
:sonique.InterfacePrefsSetString("main", "currentwindow", "main_vis_window");
:sonique.LaunchAppWindow("Default Skin");
}
// close me
DestroyWindow();
</script>
<script name="SetTheme">
// all popups need these:
SetMenuProperty("theme" | theme | "_popupmenu");
background_window.SetImageStyle("background","theme" | theme);
title_window.SetImageStyle("background","theme" | theme);
status_display_window.SetImageStyle("background","theme" | theme);
main_vis_window.vis_info_container.visual_info_window.SetImageStyle("background","theme" | theme);
</script>
<window name="background_window" transparent="true" shape="background_shape" _hitstyle="DRAG">
<shape name="background_shape">
<shape_raster
fillmode ="resize"
alignment ="0,0,1,1"
source ="popup.psd|backgound_color_region"
source_offset ="popup.psd|backgound_color_region @ popup.psd|chassis"
inner_rect ="40,45,100,100"
outer_rect ="popup.psd|chassis"
/>
</shape>
<imagestyle name="background"><color_fill color="color1" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme1"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme2"><color_fill color="0xFFFF9900" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme3"><color_fill color="0xFF28497F" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme4"><color_fill color="0xFF000000" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme5"><color_fill color="0xFF888888" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme6"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme7"><color_fill color="0xFF606060" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme8"><color_fill color="0xFF143B14" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme9"><color_fill color="0xFF303030" alignment="0,0,1,1"/></imagestyle>
<imagestyle name="theme10"><color_fill color="theme10_color1" alignment="0,0,1,1"/></imagestyle>
<window name="main_background_grid" transparent="true" >
<imagestyle name="background" transparent="true"><raster source="popup.psd|background_tile_grid" opacity="0.1" fillmode="tile" blendmode="ps_normal" /></imagestyle>
</window>
<window name="display_lines_window" transparent="true" _hitstyle="ACTIVE">
<imagestyle name="background">
<raster source="popup.psd|display_corner_top_left" offset="popup.psd|display_corner_top_left @ popup.psd|chassis" alignment="0,0,0,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_corner_top_right" offset="popup.psd|display_corner_top_right @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_corner_bottom_right" offset="popup.psd|display_corner_bottom_right @ popup.psd|chassis" alignment="1,1,1,1" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_line_over_mini_windows" offset="popup.psd|display_line_over_mini_windows @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source="popup.psd|display_top_line_level_1" offset="popup.psd|display_top_line_level_1 @ popup.psd|chassis" alignment="1,0,1,0" blendmode="ps_normal" opacity="0.45" />
<raster source = "popup.psd|display_vertical_left_line" offset="popup.psd|display_vertical_left_line @ popup.psd|chassis" alignment="0,1,0,1" blendmode = "ps_normal" opacity="0.45" />
<!-- main left and right vertical lines -->
<color_line color="color3" alignment="0,0,0,1" offset="7,33,7,-116" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,1" offset="-9,41,-9,-36" opacity="0.45" />
<!--top horizontal lines -->
<color_line color="color3" alignment="1,0,1,0" offset="-105,26,-87,26" opacity="0.45" />
<!-- right hand tiny very line-->
<color_line color="color3" alignment="1,0,1,0" offset="-106,21,-106,25" opacity="0.45" />
<!-- lefthand tiny vert line-->
<color_line color="color3" alignment="0,0,0,0" offset="122,17,122,20" opacity="0.45" />
<!-- first long horizontal line -->
<color_line color="color3" alignment="0,0,1,0" offset="90,16,-13,16" opacity="0.45" />
<!-- second long horizontal line -->
<color_line color="color3" alignment="0,0,1,0" offset="123,20,-107,20" opacity="0.45" />
<!-- top_right_lines -->
<color_line color="color3" alignment="1,0,1,0" offset="-248,5,-9,5" opacity="0.45" />
<!-- lower hor. -->
<color_line color="color3" alignment="1,0,1,0" offset="-252,9,-89,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-17,9,-10,9" opacity="0.45" />
<!-- righthand mini vert -->
<color_line color="color3" alignment="1,0,1,0" offset="-9,6,-9,9" opacity="0.45" />
<!-- center mini verts -->
<color_line color="color3" alignment="1,0,1,0" offset="-145,6,-145,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-173,6,-173,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-123,6,-111,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-101,6,-89,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-208,6,-196,9" opacity="0.45" />
<color_fill color="color3" alignment="1,0,1,0" offset="-230,6,-218,9" opacity="0.45" />
<color_line color="color3" alignment="1,0,1,0" offset="-251,8,-249,6" opacity="0.45" />
<!-- bottom left lines with squares -->
<color_line color="color3" alignment="0,1,0,1" offset="9,-93,,9,-19" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="10,-93,12,-93" opacity="0.45" />
<color_fill color="color3" alignment="0,1,0,1" offset="10,-74,13,-62" opacity="0.45" />
<color_fill color="color3" alignment="0,1,0,1" offset="10,-52,13,-40" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="10,-19,12,-19" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="13,-93,13,-19" opacity="0.45" />
<!-- bottom left criss cross -->
<color_line color="color3" alignment="0,1,0,1" offset="5,-15,19,-15" opacity="0.45" />
<color_line color="color3" alignment="0,1,0,1" offset="13,-17,13,-8" opacity="0.45" />
<!-- righthand criss cross lines on bottom -->
<color_line color="color3" alignment="1,1,1,1" offset="-197,-6,-167,-6" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-192,-9,-188,-9" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-191,-13,-191,0" opacity="0.45" />
<!-- bottom lines -->
<!-- horizontals -->
<!-- leaving spaces for the playbar controls -->
<color_line color="color3" alignment="1,1,1,1" offset="-191,-18,-107,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-95,-18,-90,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-78,-18,-73,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-61,-18,-56,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-44,-18,-29,-18" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-191,-14,-130,-14" opacity="0.45" />
<!-- verts -->
<color_line color="color3" alignment="1,1,1,1" offset="-191,-17,-191,-15" opacity="0.45" />
<color_line color="color3" alignment="1,1,1,1" offset="-129,-17,-129,-14" opacity="0.45" />
<!-- rects -->
<color_fill color="color3" alignment="1,1,1,1" offset="-176,-17,-164,-14" opacity="0.45" />
<color_fill color="color3" alignment="1,1,1,1" offset="-154,-17,-142,-14" opacity="0.45" />
</imagestyle>
</window> <!-- display_lines_window -->
<window name="left_quadrant_window" alignment="0,0,0,1" offset="12,2112,20,20" transparent="true" _hitstyle="ACTIVE">
<imagestyle name="background">
<raster source="popup.psd|left_quad" fillmode="tile" blendmode="ps_normal" opacity="0.45" />
</imagestyle>
<script name="OnIntro">
SetOffset({12,32,20,-115},0,1000,"linear_decel");
</script>
</window>
<window name="right_quadrant_window" transparent="true" alignment="1,0,1,1" offset="-95,-200,-87,0" _hitstyle="ACTIVE">
<imagestyle name="background"><raster source="popup.psd|right_quad" fillmode="tile" blendmode="ps_normal" opacity="0.45" /></imagestyle>
<script name="OnInit">
position = -1;
</script>
<script name="OnIntro">
OnInit();
MoveSomething();
</script>
<script name="MoveSomething">
if ( position == -1 ) {
SetOffset({-95,0,-87,400},0,1000,"linear_decel");
position = 1;
} else {
SetOffset({-95,-400,-87,0},0,1000,"linear_decel");
position = -1;
}
</script>
</window>
</window> <!-- background_window -->
<window name="title_window" type="textdisplay" transparent="true" shape="my_shape"
alignment="0,0,1,0" offset="22,11,-259,26" >
<property font_style="my_font_10" font_color="color3" font_justification="left|v_center|single_line_only|trim_chars_w_ellipses"
edge_offset_rect="7,1,-7,-1"/>
<shape name="my_shape"><shape_roundrect corner_size="5,5" /></shape>
<imagestyle name="background">
<color_rect color="color2" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_rect color="0xFF99EE00" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_rect color="0xFFB83F3F" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_rect color="0xFFCBFF66" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_rect color="0xFFFF0000" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_rect color="0xFFBBBBBB" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_rect color="0xFF00CCFF" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_rect color="0xFFFF0000" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_rect color="0xFF00B200" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_rect color="0xFF588FBA" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_rect color="theme10_color2" filled="true" cornerradius="5.0" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<script name="OnInit">
SetText(:language.Translate("topmenu/view.visuals"));
</script>
</window> <!-- title_window -->
<window name="status_display_window" type="Sonique2_StatusBar" transparent="true" shape="my_shape"
alignment="0,1,1,1"
offset="20,-26,-191,-10" >
<shape name="my_shape"><shape_roundrect corner_size="5,5" /></shape>
<imagestyle name="background">
<color_fill color="color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme1">
<color_fill color="0xFF99EE00" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme2">
<color_fill color="0xFFB83F3F" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme3">
<color_fill color="0xFFCBFF66" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme4">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme5">
<color_fill color="0xFFBBBBBB" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme6">
<color_fill color="0xFF00CCFF" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme7">
<color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme8">
<color_fill color="0xFF00B200" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme9">
<color_fill color="0xFF588FBA" blendmode="ps_normal" opacity="0.45" />
<color_rect color="0xFFFFFFFF" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<imagestyle name="theme10">
<color_fill color="theme10_color2" blendmode="ps_normal" opacity="0.45" />
<color_rect color="theme10_color3" cornerradius="5.0" blendmode="ps_normal" opacity="0.5"/>
</imagestyle>
<property scroll_mode="horizontal" scroll_speed="50" whitespace="50"
rect_status_offset= "7,1,-7,-1" rect_progress_offset="7,1,-7,-1"
info_font_color="color3" info_font_style="my_font_10" info_font_justification="left|v_center|single_line_only"
error_font_color="color1" error_font_style="my_font_10" error_font_justification="left|v_center|single_line_only"
warning_font_color="color1" warning_font_style="my_font_10" warning_font_justification="left|v_center|single_line_only"
fallback_font_color="color3" fallback_font_style="my_font_10" fallback_font_justification="left|v_center|single_line_only"
/>
</window> <!-- status_display_window -->
<window name="window_controls_window" transparent="true">
<window name="help_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|help_button" offset="popup.psd|help_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("general/hint.help")); // todo pl </script>
<script name="OnClick"> :sonique.LaunchHelp(); </script>
</window>
<window name="always_on_top_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
<raster state="normal" source="popup.psd|always_on_top_button" offset="popup.psd|always_on_top_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<script name="OnInit">
$topstate = parent.parent.GetAlwaysOnTop();
if ($topstate == true) { SetButtonState(1); } else { SetButtonState(0); }
SetHoverHint(:language.Translate("topmenu/file.ontop"));
</script>
<script name="OnClick">
$topstate = parent.parent.GetAlwaysOnTop();
if ($topstate == true) {
parent.parent.SetAlwaysOnTop(0);
SetButtonState(0);
} else {
parent.parent.SetAlwaysOnTop(1);
SetButtonState(1);
}
</script>
<script name="UpdateAlwaysOnTopState">
if ($params[0] == true) { SetButtonState(1); } else { SetButtonState(0); }
</script>
</window>
<window name="minimize_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|minimize_button" offset="popup.psd|minimize_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("topmenu/file.minwin")); </script>
<script name="OnClick"> parent.parent.MinimizeWindow(true); </script>
</window>
<window name="close_button_window" type="button" shape="my_shape" transparent="true" hitstyle="ACTIVE" >
<property hover="true" />
<shape name="my_shape"><shape_raster source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis" alignment="1,0,1,0" /></shape>
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|close_button" offset="popup.psd|close_button @ popup.psd|chassis"
alignment="1,0,1,0" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("topmenu/file.closewin")); </script>
<script name="OnClick">
parent.parent.DestroyWindow();
</script>
</window>
</window> <!-- window_controls_window -->
<window name="playbar_controls_window" transparent="true">
<imagestyle name="background">
<raster opacity="0.75" source="popup.psd|control_circles" offset="popup.psd|control_circles @ popup.psd|chassis" alignment="1,1,1,1" blendmode="ps_normal" />
</imagestyle>
<window name="prev_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|prev_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|prev_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|prev_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.prevtrack")); </script>
<script name="OnClick"> :sonique.players.default.Prev();</script>
</window>
<window name="playpause_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|pause_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hover" source="popup.psd|play_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|play_button" blendmode="ps_normal" opacity="1.0" />
<raster state="hit" source="popup.psd|pause_button" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<imagestyle name="state1">
<raster state="hover" source="popup.psd|pause_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|pause_button" blendmode="ps_normal" opacity="1.0" />
<raster state="hit" source="popup.psd|play_button" blendmode="ps_normal" opacity="0.75" />
</imagestyle>
<script name="OnInit">
:sonique.players.default.RegisterCallback("Playing","UpdateState()", this);
:sonique.players.default.RegisterCallback("Stopping","UpdateState()", this);
:sonique.players.default.RegisterCallback("Pausing","UpdateState()", this);
UpdateState();
</script>
<script name="OnDestroy">
:sonique.players.default.UnregisterCallback("Playing", this);
:sonique.players.default.UnregisterCallback("Stopping", this);
:sonique.players.default.UnregisterCallback("Pausing", this);
</script>
<script name="OnClick">
if (:sonique.players.default.IsPlaying()) {
:sonique.players.default.TogglePause();
} else {
:sonique.players.default.Play();
}
UpdateState();
</script>
<script name="UpdateState">
if (:sonique.players.default.IsPlaying()) {
if (:sonique.players.default.IsPaused()) {
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.play"));
} else {
SetButtonState(1);
SetHoverHint(:language.Translate("general/hint.pause"));
}
} else {
SetButtonState(0);
SetHoverHint(:language.Translate("general/hint.play"));
}
</script>
</window>
<window name="stop_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|stop_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|stop_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|stop_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.stop")); </script>
<script name="OnClick"> :sonique.players.default.Stop(); </script>
</window>
<window name="next_button_window" type="button" transparent="true" hitstyle="ACTIVE"
offset="popup.psd|next_button @ popup.psd|chassis" alignment="1,1,1,1" >
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" source="popup.psd|next_button" blendmode="ps_normal" opacity="0.75" />
<raster state="normal" source="popup.psd|next_button" blendmode="ps_normal" opacity="1.0" />
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("general/hint.nexttrack")); </script>
<script name="OnClick"> :sonique.players.default.Next();</script>
</window>
</window> <!-- playbar_controls_window -->
<window name="main_vis_window" offset="25,35,-30,-35" alignment="0,0,1,1" transparent="true" hitstyle="ACTIVE">
<!--
<imagestyle name="background" transparent="true" ><color_rect filled="true" cornerradius="4.0" color="color3" opacity="0.3" alignment="0,0,1,1"/></imagestyle>
-->
<script name="OnMouseOver">vis_info_container.SetOffset({0,0,250,100},0,500,"linear_decel");</script>
<script name="OnMouseExit">vis_info_container.SetOffset({-250,0,0,100},0,500,"linear_decel");</script>
<window name="vis_window" type="Sonique2_Visual" transparent="false" hitstyle="ACTIVE" >
<imagestyle name="background"><color_fill color="0xFF000000" alignment="0,0,1,1"/></imagestyle>
<property blendmode="RGB" />
<script name="OnInit">:sonique.visuals.GroupEnablePostEffect("default","10B82A0E-1B28-4F4E-AF53-145248A73AB5",false);
:sonique.visuals.GroupEnablePostEffect("default","10B82A0E-1B28-4F4E-AF53-145248A73AB5",true);</script>
<script name="OnVisualChanged">vis_info_container.visual_info_window.UpdateBar();</script>
<script name="OnMouseOver">main_vis_window.vis_info_container.SetOffset({0,0,250,100},0,500,"linear_decel");</script>
<script name="OnMouseExit">main_vis_window.vis_info_container.SetOffset({-250,0,0,100},0,500,"linear_decel");</script>
</window>
<window name="vis_info_container" transparent="true" alignment="0,0,0,0" offset="-250,0,0,100">
<shape name="my_shape">
<shape_raster source="grayscale.psd|select_visual_button_background" />
</shape>
<window name="visual_info_shadow_window" transparent="true" alignment="0,0,0,0" offset="12,9,237,58" >
<imagestyle name="background">
<raster source="grayscale.psd|vis_info_shadow" blendmode="ps_normal" />
</imagestyle>
</window>
<window name="visual_prev_background" transparent="true" alignment="0,0,0,0" shape="my_shape" offset="140,39,149,48" >
<imagestyle name="background">
<color_fill color="color1" blendmode="ps_normal" opacity="0.25"/>
</imagestyle>
</window>
<window name="visual_next_background" transparent="true" alignment="0,0,0,0" shape="my_shape" offset="159,39,168,48" >
<imagestyle name="background">
<color_fill color="color1" blendmode="ps_normal" opacity="0.25"/>
</imagestyle>
</window>
<window name="visual_info_window" type="textdisplay" transparent="true" alignment="0,0,0,0" shape="my_shape" offset="12,9,231,50" >
<property
font_color ="color3"
font_style ="my_font_10"
font_justification ="left|v_center|trim_chars|single_line_only"
whitespace ="20"
scroll_mode ="horizontal"
scroll_speed ="25"
edge_offset_rect ="5,5,-5,-25"
/>
<shape name="my_shape">
<shape_raster source="grayscale.psd|vis_info_background" />
</shape>
<imagestyle name="background"><color_fill color="color1" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme1"><color_fill color="0xFF99EE00" blendmode="ps_normal" opacity="0.45"/></imagestyle>
<imagestyle name="theme2"><color_fill color="0xFFFF9900" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme3"><color_fill color="0xFF28497F" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme4"><color_fill color="0xFFFF0000" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme5"><color_fill color="0xFF888888" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme6"><color_fill color="0xFF303030" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme7"><color_fill color="0xFF606060" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme8"><color_fill color="0xFF00B200" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme9"><color_fill color="0xFF303030" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<imagestyle name="theme10"><color_fill color="theme10_color1" blendmode="ps_normal" opacity="0.65"/></imagestyle>
<script name="OnInit"> UpdateBar(); </script>
<script name="UpdateBar" >
$cur=vis_window.GetVisual();
if( $cur ) { SetText( :sonique.visuals.GetVisualInfo( $cur )["name"] ); }
</script>
</window>
<window name="select_prev_visual_button_window" type="button" transparent="true" hitstyle="ACTIVE" offset="138,36,150,51" alignment="0,0,0,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|select_prev_visual_button" source_offset="4,4,-4,-4" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|select_prev_visual_button" source_offset="4,4,-4,-4" blendmode="ps_normal"/>
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("viswindow/hint.prevvis")); </script>
<script name="OnClick"> :sonique.visuals.GroupPrevVisual("default"); </script>
</window>
<window name="select_next_visual_button_window" type="button" transparent="true" hitstyle="ACTIVE" offset="158,36,170,51" alignment="0,0,0,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|select_next_visual_button" source_offset="4,4,-4,-4" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|select_next_visual_button" source_offset="4,4,-4,-4" blendmode="ps_normal"/>
</imagestyle>
<script name="OnInit">SetHoverHint(:language.Translate("viswindow/hint.nextvis")); </script>
<script name="OnClick"> :sonique.visuals.GroupNextVisual("default");</script>
</window>
</window> //vis_info_container
</window> //main_vis_window
<window name="vis_controls_window" transparent="true">
<script name="OnIntro">
main_window_icon_window.SetOffset({-27,32,-16,42},0,1000,"linear_accel");
full_screen_visual_icon_window.SetOffset({-25,48,-15,57},0,1000,"linear_accel");
</script>
<window name="main_window_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-84,-33,-73,-43" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="popup.psd|main_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="popup.psd|main_window_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="popup.psd|main_window_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="popup.psd|main_window_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("defaultskin/hint.attachwindow")); </script>
<script name="OnClick"> parent.parent.AttachWindow(); </script>
</window> <!-- detach_window_icon_window -->
<window name="full_screen_visual_icon_window" type="button" transparent="true" hitstyle="ACTIVE" offset="-82,-53,-74,-60" alignment="1,0,1,0">
<property hover="true" />
<imagestyle name="state0">
<raster state="hit,hover" opacity="0.75" source="grayscale.psd|full_screen_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="1.0" source="grayscale.psd|full_screen_visual_icon" blendmode="ps_normal"/>
</imagestyle>
<imagestyle name="state1">
<raster state="hit,hover" opacity="1.0" source="grayscale.psd|full_screen_visual_icon" blendmode="ps_normal" />
<raster state="normal" opacity="0.75" source="grayscale.psd|full_screen_visual_icon" blendmode="ps_normal" />
</imagestyle>
<script name="OnInit"> SetHoverHint(:language.Translate("viswindow/hint.fullscreen"));</script>
<script name="OnClick">
:sonique.visuals.LaunchFullScreenVis( main_vis_window.vis_window.GetVisual(), "default", {800,600} );
:sonique.CompactMem();
</script>
</window> <!-- full_screen_visual_icon_window -->
</window>
</window>
</interface>
</mml>