Initial community commit
BIN
Src/resources/skins/Bento/screenshot.png
Normal file
After Width: | Height: | Size: 22 KiB |
487
Src/resources/skins/Bento/scripts/mcvcore.m
Normal file
@ -0,0 +1,487 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: mcvcore.m
|
||||
Version: 4.5
|
||||
|
||||
Type: maki
|
||||
Date: 13. Aug. 2007 - 11:22
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
|
||||
Note: This script is based on drawer.m
|
||||
from Winamp Modern, but extended to
|
||||
5 components presets!
|
||||
Like in drawer.m I warn everybody not
|
||||
to modify this script, cause it can be
|
||||
harmed very fast! And you don't want
|
||||
a buggy winamp skin, want you?
|
||||
|
||||
Since script version 3.1
|
||||
(onesie build #022)
|
||||
the script is devided into subscripts
|
||||
for better debugging.
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#include <lib/std.mi>
|
||||
|
||||
//define DEBUG
|
||||
#define FILE_NAME "infocompcore.m"
|
||||
#include <lib/com/debug.m>
|
||||
|
||||
#include workingdir.m
|
||||
|
||||
#define BIG_BENTO_WORKINGDIR 1
|
||||
|
||||
#ifdef BIG_BENTO_WORKINGDIR
|
||||
#include ../../Big Bento/scripts/attribs/init_windowpage.m
|
||||
#include ../../Big Bento/scripts/attribs/init_vis.m
|
||||
#include ../../Big Bento/scripts/attribs/init_appearance.m
|
||||
#else
|
||||
#include ../../__codename_onesie/scripts/attribs/init_windowpage.m
|
||||
#include ../../__codename_onesie/scripts/attribs/init_vis.m
|
||||
#include ../../__codename_onesie/scripts/attribs/init_appearance.m
|
||||
#endif
|
||||
|
||||
#define VIS_GUID "{0000000A-000C-0010-FF7B-01014263450C}"
|
||||
|
||||
#ifndef DOHIDEMCV
|
||||
#define updateSaving //
|
||||
#endif
|
||||
|
||||
//define FIT_W2_COMP fit(sui_fi, 159, 0, 2, 0, -162, 1, 76, 0)
|
||||
#define FIT_W2_COMP fit(sui_fi, 180, 0, 2, 0, -183, 1, 76, 0)
|
||||
//define FIT_W_COMP fit(sui_fi, 81, 0, 2, 0, -84, 1, 76, 0)
|
||||
#define FIT_W_COMP fit(sui_fi, 92, 0, 2, 0, -95, 1, 76, 0)
|
||||
#define FIT_WO_COMP fit(sui_fi, 4, 0, 2, 0, -7, 1, 76, 0)
|
||||
|
||||
Global Boolean bypasscancel;
|
||||
Global Timer callbackTimer, tempDisable;
|
||||
|
||||
#define CURR_COMP plsc
|
||||
#include ../../Big Bento/scripts/mcvcore/defs.m
|
||||
|
||||
#ifdef IC_COVERFLOW
|
||||
#undef CURR_COMP
|
||||
#define CURR_COMP cflow
|
||||
#include mcvcore/defs.m
|
||||
#endif
|
||||
|
||||
Function fit (group g, int x, int rx, int y, int ry, int w, int rw, int h, int rh);
|
||||
|
||||
Function switchToIcOnly();
|
||||
Function switchToCover();
|
||||
Function switchToVisCover();
|
||||
Function switchToVis();
|
||||
Function switchToEQ();
|
||||
Function switchToCfg();
|
||||
Function switchToVis_Full();
|
||||
Function updateFileInfo();
|
||||
|
||||
Function hideFi();
|
||||
Function showFi();
|
||||
Function hideCover();
|
||||
Function showCover();
|
||||
Function hideVis();
|
||||
Function showVis();
|
||||
Function hideVis_Full();
|
||||
Function showVis_Full();
|
||||
Function hideEq();
|
||||
Function showEq();
|
||||
Function hideCfg();
|
||||
Function showCfg();
|
||||
Function openIC();
|
||||
Function closeIC();
|
||||
Function openLC();
|
||||
Function closeLC();
|
||||
#ifdef DOHIDEMCV
|
||||
Function hideMCV();
|
||||
#endif
|
||||
|
||||
Function onHideFi();
|
||||
Function onShowFi();
|
||||
Function onHideCover();
|
||||
Function onShowCover();
|
||||
Function onHideVis();
|
||||
Function onShowVis();
|
||||
Function onHideVis_Full();
|
||||
Function onShowVis_Full();
|
||||
Function onHideEq();
|
||||
Function onShowEq();
|
||||
Function onHideCfg();
|
||||
Function onShowCfg();
|
||||
Function onCloseIC();
|
||||
Function onOpenIC();
|
||||
Function onhideMCV();
|
||||
|
||||
Function dc_hideFi();
|
||||
Function dc_showFi();
|
||||
Function dc_showEq();
|
||||
Function dc_hideEq();
|
||||
Function dc_showCfg();
|
||||
Function dc_hideCfg();
|
||||
Function dc_hideCover();
|
||||
Function dc_showCover();
|
||||
Function dc_hideVis();
|
||||
Function dc_showVis();
|
||||
Function dc_hideVis_Full();
|
||||
Function dc_showVis_Full();
|
||||
|
||||
Function updateFooter();
|
||||
|
||||
Function ProcessMenuResult (int a);
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
function updateSaving (int l);
|
||||
#endif
|
||||
|
||||
Global Group sg, sui_cover, sui_vis_full, sui_vis, sui_fi, sui_eq, sui_cfg, g_footer, g_visbtns;
|
||||
Global WindowHolder sui_vis_wdh, sui_vis_full_wdh;
|
||||
Global Layout main;
|
||||
Global Boolean callback_showing_vis, callback_hiding_vis, callback_showing_vis_full, callback_hiding_vis_full, callback_showing_cover, callback_hiding_cover, callback_showing_fi, callback_hiding_fi, callback_hiding_eq, callback_showing_eq, callback_hiding_cfg, callback_showing_cfg;
|
||||
Global Boolean showing_vis, hiding_vis, showing_vis_full, hiding_vis_full, showing_cover, hiding_cover, hiding_fi, showing_fi, showing_eq, hiding_eq, showing_cfg, hiding_cfg;
|
||||
Global Boolean Mychange;
|
||||
Global Boolean prevent_vis = 1;
|
||||
Global Frame dualwnd, mainframe;
|
||||
Global GuiObject footerGrid, sendToBtn;
|
||||
|
||||
Global Popupmenu compMenu;
|
||||
//Global Button compChoose, nowPlayingBtn, webSearchBtn;
|
||||
Global Button compChoose;
|
||||
Global Boolean startup_done;
|
||||
Global Int substract = 0;
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
Global Int last_menu_sel;
|
||||
#endif
|
||||
|
||||
// script loading/unloading goes here
|
||||
#include mcvcore/load_handles.m
|
||||
|
||||
// showing and hiding the components
|
||||
#include mcvcore/show_hide.m
|
||||
|
||||
#ifdef BIG_BENTO_WORKINGDIR
|
||||
// open / hiding components not caused by button clicks
|
||||
#include ../../Big Bento/scripts/mcvcore/external_handles.m
|
||||
#else
|
||||
// open / hiding components not caused by button clicks
|
||||
#include ../../__codename_onesie/scripts/mcvcore/external_handles.m
|
||||
#endif
|
||||
|
||||
/* Switching menu */
|
||||
compChoose.onRightButtonUp(int x, int y)
|
||||
{
|
||||
complete;
|
||||
}
|
||||
|
||||
compChoose.onRightClick () {
|
||||
compChoose.onLeftClick ();
|
||||
}
|
||||
|
||||
compChoose.onLeftClick ()
|
||||
{
|
||||
compMenu = new Popupmenu;
|
||||
popupmenu fiSub = new Popupmenu;
|
||||
compMenu.addCommand("File Info", 1, ic_fileinfo.getData() == "1", 0);
|
||||
#ifdef IC_COVERFLOW
|
||||
compMenu.addCommand("Cover Flow", 7, _cflow_ic_attrib.getData() == "1", 0);
|
||||
#endif
|
||||
// System.isSafeMode() is not recognized by mc.exe
|
||||
// if(!System.isSafeMode())
|
||||
// {
|
||||
compMenu.addCommand("Visualization", 2, ic_vis.getData() == "1", 0);
|
||||
// }
|
||||
compMenu.addCommand("Stored Playlists", 3, _plsc_ic_attrib.getData() == "1", 0);
|
||||
compMenu.addCommand("Equalizer", 4, ic_eq.getData() == "1", 0);
|
||||
compMenu.addCommand("Skin Settings", 5, ic_config.getData() == "1", 0);
|
||||
#ifdef DOHIDEMCV
|
||||
compMenu.addCommand("Hide Multi Content View", 6, ic_hidden.getData() == "1", 0);
|
||||
#endif
|
||||
compMenu.addSeparator();
|
||||
compMenu.addSubmenu(fiSub, "File Info Components");
|
||||
|
||||
// System.isSafeMode() is not recognized by mc.exe
|
||||
// if(!System.isSafeMode())
|
||||
// {
|
||||
fiSub.addCommand("Visualization", 12, ic_vis_fileinfo.getData() == "1", 0);
|
||||
// }
|
||||
fiSub.addCommand("Album Art", 11, ic_cover_fileinfo.getData() == "1", 0);
|
||||
fiSub.addSeparator();
|
||||
fiSub.addCommand("Show Track #", 24, infocomp_show_track.getData() == "1", 0);
|
||||
fiSub.addCommand("Show Year", 21, infocomp_show_year.getData() == "1", 0);
|
||||
fiSub.addCommand("Show Genre", 22, infocomp_show_genre.getData() == "1", 0);
|
||||
fiSub.addCommand("Show Disc", 28, infocomp_show_disc.getData() == "1", 0);
|
||||
fiSub.addCommand("Show Album Artist", 25, infocomp_show_albumartist.getData() == "1", 0);
|
||||
fiSub.addCommand("Show Composer", 26, infocomp_show_composer.getData() == "1", 0);
|
||||
fiSub.addCommand("Show Publisher", 23, infocomp_show_publisher.getData() == "1", 0);
|
||||
fiSub.addCommand("Show Decoder", 27, infocomp_show_format.getData() == "1", 0);
|
||||
fiSub.addCommand("Show Song Rating", 20, infocomp_show_rating.getData() == "1", 0);
|
||||
fiSub.addSeparator();
|
||||
fiSub.addCommand("Cycle File Info", 30, infocomp_cycle.getData() == "1", 0);
|
||||
fiSub.addSeparator();
|
||||
//fiSub.addCommand("Open Links in Now Playing", 40, infocomp_nowplaying.getData() == "1", 0);
|
||||
//fiSub.addCommand("Open Links in Browser", 41, infocomp_browser.getData() == "1", 0);
|
||||
|
||||
ProcessMenuResult (compMenu.popAtXY(clientToScreenX(compChoose.getLeft()), clientToScreenY(compChoose.getTop() + compChoose.getHeight())));
|
||||
delete compMenu;
|
||||
delete fiSub;
|
||||
complete;
|
||||
}
|
||||
|
||||
ProcessMenuResult (int a)
|
||||
{
|
||||
if (a < 1) return;
|
||||
if (a == 1)
|
||||
{
|
||||
ic_fileinfo.setData("1");
|
||||
}
|
||||
else if (a == 2)
|
||||
{
|
||||
ic_vis.setData("1");
|
||||
}
|
||||
else if (a == 3)
|
||||
{
|
||||
_plsc_ic_attrib.setData("1");
|
||||
}
|
||||
#ifdef IC_COVERFLOW
|
||||
else if (a == 7)
|
||||
{
|
||||
_cflow_ic_attrib.setData("1");
|
||||
}
|
||||
#endif
|
||||
else if (a == 4)
|
||||
{
|
||||
ic_eq.setData("1");
|
||||
}
|
||||
else if (a == 5)
|
||||
{
|
||||
ic_config.setData("1");
|
||||
}
|
||||
#ifdef DOHIDEMCV
|
||||
else if (a == 6)
|
||||
{
|
||||
ic_hidden.setData("1");
|
||||
}
|
||||
#endif
|
||||
else if (a == 11)
|
||||
{
|
||||
toggleAttrib(ic_cover_fileinfo);
|
||||
}
|
||||
else if (a == 12)
|
||||
{
|
||||
toggleAttrib(ic_vis_fileinfo);
|
||||
}
|
||||
else if (a == 20)
|
||||
{
|
||||
toggleAttrib(infocomp_show_rating);
|
||||
}
|
||||
else if (a == 21)
|
||||
{
|
||||
toggleAttrib(infocomp_show_year);
|
||||
}
|
||||
else if (a == 22)
|
||||
{
|
||||
toggleAttrib(infocomp_show_genre);
|
||||
}
|
||||
else if (a == 23)
|
||||
{
|
||||
toggleAttrib(infocomp_show_publisher);
|
||||
}
|
||||
else if (a == 24)
|
||||
{
|
||||
toggleAttrib(infocomp_show_track);
|
||||
}
|
||||
else if (a == 25)
|
||||
{
|
||||
toggleAttrib(infocomp_show_albumartist);
|
||||
}
|
||||
else if (a == 26)
|
||||
{
|
||||
toggleAttrib(infocomp_show_composer);
|
||||
}
|
||||
else if (a == 27)
|
||||
{
|
||||
toggleAttrib(infocomp_show_format);
|
||||
}
|
||||
else if (a == 28)
|
||||
{
|
||||
toggleAttrib(infocomp_show_disc);
|
||||
}
|
||||
else if (a == 30)
|
||||
{
|
||||
toggleAttrib(infocomp_cycle);
|
||||
}
|
||||
/* else if (a == 40)
|
||||
{
|
||||
toggleAttrib(infocomp_nowplaying);
|
||||
}
|
||||
else if (a == 41)
|
||||
{
|
||||
toggleAttrib(infocomp_browser);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
// Hiding footer buttons (for file info view)
|
||||
|
||||
/* artist_info_buttons_attrib.onDataChanged ()
|
||||
{
|
||||
|
||||
updateFooter ();
|
||||
}
|
||||
*/
|
||||
|
||||
g_footer.onResize (int x, int y, int w, int h)
|
||||
{
|
||||
if (substract == 1)
|
||||
w += stringToInteger(dualwnd.getXmlParam("maxwidth")) + 101;
|
||||
else if (substract == 2)
|
||||
w += stringToInteger(dualwnd.getXmlParam("maxwidth")) + 135;
|
||||
else if (substract == 3)
|
||||
w += stringToInteger(dualwnd.getXmlParam("maxwidth")) + 66;
|
||||
|
||||
/* if (artist_info_buttons_attrib.getData() == "1")
|
||||
{
|
||||
if (w < 117) footerGrid.hide();
|
||||
else footerGrid.show();
|
||||
|
||||
if (w < 97) nowPlayingBtn.hide();
|
||||
else nowPlayingBtn.show();
|
||||
|
||||
if (w < 74) webSearchBtn.hide();
|
||||
else webSearchBtn.show();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (w < 70) footerGrid.hide();
|
||||
else footerGrid.show();
|
||||
nowPlayingBtn.hide();
|
||||
webSearchBtn.hide();
|
||||
}
|
||||
*/
|
||||
if (w < 50) sendToBtn.hide();
|
||||
else sendToBtn.show();
|
||||
|
||||
if (w < 26) compChoose.hide();
|
||||
else compChoose.show();
|
||||
}
|
||||
|
||||
updateFooter ()
|
||||
{
|
||||
g_footer.onResize (0, 0, g_footer.getWidth(), 0);
|
||||
}
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
// Switching back from no comp
|
||||
|
||||
sg.onResize (int x, int y, int w, int h)
|
||||
{
|
||||
|
||||
if (ic_hidden.getData() == "0" || last_menu_sel == 0 || w == 0)// && dualwnd.getXmlParam("from") == "left")
|
||||
{
|
||||
return;
|
||||
}
|
||||
ProcessMenuResult (getPrivateInt(getSkinName(), "MCV last sel", 1));
|
||||
}
|
||||
|
||||
// save last pos
|
||||
|
||||
updateSaving (int l)
|
||||
{
|
||||
if (last_menu_sel == l)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (last_menu_sel != 0) setPrivateInt(getSkinName(), "MCV last sel", last_menu_sel);
|
||||
last_menu_sel = l;
|
||||
}
|
||||
#endif
|
||||
|
||||
/** OSD */
|
||||
/*
|
||||
Global boolean mouse_is_over = FALSE;
|
||||
|
||||
osd_trigger.onEnterArea ()
|
||||
{
|
||||
//setXmlParam("ghost", "1");
|
||||
}
|
||||
|
||||
osd_trigger.onMouseMove (int x, int y)
|
||||
{
|
||||
if (!isMouseOverRect() && mouse_is_over)
|
||||
{
|
||||
mouse_is_over = 0;
|
||||
component c = sui_vis_full.findObject("vis");
|
||||
c.sendAction("setregion", "vis.normal.region", 0, 0, 0, 0);
|
||||
c = sui_vis.findObject("vis");
|
||||
c.sendAction("setregion", "vis.normal.region", 0, 0, 0, 0);
|
||||
}
|
||||
else if (isMouseOverRect() && !mouse_is_over)
|
||||
{
|
||||
mouse_is_over = 1;
|
||||
component c = sui_vis_full.findObject("vis");
|
||||
c.sendAction("setregion", "vis.button.region", 0, 0, 0, 0);
|
||||
c = sui_vis.findObject("vis");
|
||||
c.sendAction("setregion", "vis.button.region", 0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
osd_trigger.onLeaveArea ()
|
||||
{
|
||||
component c = sui_vis_full.findObject("vis");
|
||||
c.sendAction("setregion", "vis.normal.region", 0, 0, 0, 0);
|
||||
}*/
|
||||
|
||||
/** Calls after comp is shown */
|
||||
|
||||
onCloseIC() {}
|
||||
onOpenIC() {}
|
||||
|
||||
onShowCover() {}
|
||||
|
||||
onHideCover() {}
|
||||
|
||||
onShowFi() {}
|
||||
|
||||
onHideFi() {}
|
||||
|
||||
onShowEq() {}
|
||||
|
||||
onHideEq() {}
|
||||
|
||||
onShowCfg() {}
|
||||
|
||||
onHideCfg() {}
|
||||
|
||||
onShowVis()
|
||||
{
|
||||
g_visbtns.show();
|
||||
}
|
||||
onHideVis()
|
||||
{
|
||||
g_visbtns.hide();
|
||||
}
|
||||
|
||||
onShowVis_Full() {}
|
||||
|
||||
onHideVis_Full() {}
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
onhideMCV() {}
|
||||
#endif
|
||||
|
||||
fit (group g, int x, int rx, int y, int ry, int w, int rw, int h, int rh)
|
||||
{
|
||||
if (!g) return;
|
||||
g.setXmlParam("x", integerToString(x));
|
||||
g.setXmlParam("y", integerToString(y));
|
||||
g.setXmlParam("w", integerToString(w));
|
||||
g.setXmlParam("h", integerToString(h));
|
||||
g.setXmlParam("relatx", integerToString(rx));
|
||||
g.setXmlParam("relaty", integerToString(ry));
|
||||
g.setXmlParam("relatw", integerToString(rw));
|
||||
g.setXmlParam("relath", integerToString(rh));
|
||||
}
|
BIN
Src/resources/skins/Bento/scripts/mcvcore.maki
Normal file
131
Src/resources/skins/Bento/scripts/mcvcore/load_handles.m
Normal file
@ -0,0 +1,131 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: load_handles.m
|
||||
Version: 1.0
|
||||
|
||||
Type: maki
|
||||
Date: 28. Dez. 2006 - 08:40
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
Depending Files:
|
||||
scripts/infocompcore.maki
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#ifndef included
|
||||
#error This script can only be compiled as a #include
|
||||
#endif
|
||||
|
||||
System.onScriptLoaded ()
|
||||
{
|
||||
initAttribs_windowpage();
|
||||
initAttribs_vis();
|
||||
initAttribs_Appearance();
|
||||
|
||||
debugString(DEBUG_PREFIX "System.onScriptLoded() {", 0);
|
||||
|
||||
sg = getScriptGroup();
|
||||
main = sg.getParentLayout();
|
||||
|
||||
mainframe = main.getObject("player.mainframe");
|
||||
dualwnd = mainframe.findObject("player.dualwnd");
|
||||
|
||||
sui_cover = sg.findObject("info.component.cover");
|
||||
sui_vis = sg.findObject("info.component.vis");
|
||||
sui_vis_full = sg.findObject("info.component.vis.full");
|
||||
sui_vis_wdh = sui_vis.getObject("vis");
|
||||
sui_vis_full_wdh = sui_vis_full.getObject("vis");
|
||||
sui_fi = sg.findObject("info.component.infodisplay");
|
||||
sui_eq = sg.findObject("info.component.eq");
|
||||
sui_cfg = sg.findObject("info.component.config");
|
||||
#ifdef IC_COVERFLOW
|
||||
_cflow_sui = sg.findObject("info.component.coverflow");
|
||||
#endif
|
||||
_plsc_sui = sg.findObject("info.component.plsidecar");
|
||||
g_footer = sg.findObject("infocomp.background.footer");
|
||||
g_visbtns = g_footer.findObject("infocomp.visbuttons");
|
||||
footerGrid = g_footer.findObject("footer.background.grid");
|
||||
|
||||
compChoose = sg.findObject("comp.menu");
|
||||
sendToBtn = sg.findObject("sendTo");
|
||||
//nowPlayingBtn = sg.findObject("nowplaying");
|
||||
//webSearchBtn = sg.findObject("search");
|
||||
#ifdef DOHIDEMCV
|
||||
last_menu_sel = getPrivateInt(getSkinName(), "MCV last sel", 1);
|
||||
#endif
|
||||
callbackTimer = new Timer;
|
||||
callbackTimer.setDelay(1);
|
||||
tempDisable = new Timer;
|
||||
tempDisable.setDelay(50);
|
||||
|
||||
|
||||
if (ic_fileinfo.getData() == "1")
|
||||
{
|
||||
updateFileInfo ();
|
||||
}
|
||||
else if (ic_vis.getData() == "1")
|
||||
{
|
||||
switchToVis_Full();
|
||||
}
|
||||
else if (ic_eq.getData() == "1")
|
||||
{
|
||||
switchToEq();
|
||||
}
|
||||
else if (ic_config.getData() == "1")
|
||||
{
|
||||
switchToCfg();
|
||||
}
|
||||
else if (_plsc_ic_attrib.getData() == "1")
|
||||
{
|
||||
_plsc_switchTo();
|
||||
}
|
||||
#ifdef IC_COVERFLOW
|
||||
else if (_cflow_ic_attrib.getData() == "1")
|
||||
{
|
||||
_cflow_switchTo();
|
||||
}
|
||||
#endif
|
||||
#ifdef DOHIDEMCV
|
||||
else if (ic_hidden.getData() == "1")
|
||||
{
|
||||
hideMCV();
|
||||
}
|
||||
#endif
|
||||
startup_done = 1;
|
||||
debugString(DEBUG_PREFIX "}", 0);
|
||||
prevent_vis = 0;
|
||||
}
|
||||
|
||||
updateFileInfo ()
|
||||
{
|
||||
if (ic_vis_fileinfo.getData() == "1" && ic_cover_fileinfo.getData() == "1")
|
||||
{
|
||||
switchToVisCover();
|
||||
}
|
||||
else if (ic_vis_fileinfo.getData() == "1")
|
||||
{
|
||||
switchToVis();
|
||||
}
|
||||
else if (ic_cover_fileinfo.getData() == "1")
|
||||
{
|
||||
switchToCover();
|
||||
}
|
||||
else
|
||||
{
|
||||
switchToIcOnly();
|
||||
}
|
||||
}
|
||||
|
||||
System.onScriptUnloading ()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "System.onScriptUnloading() {", 0);
|
||||
|
||||
delete callbackTimer;
|
||||
delete tempDisable;
|
||||
|
||||
debugString(DEBUG_PREFIX " delete Timers;", 0);
|
||||
debugString(DEBUG_PREFIX "}", 0);
|
||||
}
|
916
Src/resources/skins/Bento/scripts/mcvcore/show_hide.m
Normal file
@ -0,0 +1,916 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: show_hide.m
|
||||
Version: 1.0
|
||||
|
||||
Type: maki
|
||||
Date: 29. Nov. 2006 - 15:57
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
Depending Files:
|
||||
scripts/infocompcore.maki
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#ifndef included
|
||||
#error This script can only be compiled as a #include
|
||||
#endif
|
||||
|
||||
switchToCover ()
|
||||
{
|
||||
if (callbackTimer.isRunning()) return;
|
||||
if (tempDisable.isRunning()) return;
|
||||
tempDisable.start();
|
||||
hideVis();
|
||||
hideVis_Full();
|
||||
hideEq();
|
||||
hideCfg();
|
||||
openIC();
|
||||
_Plsc_hide();
|
||||
#ifdef IC_COVERFLOW
|
||||
_Cflow_hide();
|
||||
#endif
|
||||
mychange = 1;
|
||||
if (startup_done)
|
||||
{
|
||||
ic_cover_fileinfo.setData("1");
|
||||
ic_fileinfo.setData("1");
|
||||
}
|
||||
mychange = 0;
|
||||
substract = 0;
|
||||
sui_cover.setXmlParam("x", "4");
|
||||
|
||||
dualwnd.setXmlParam("maxwidth", "-100");
|
||||
dualwnd.sendAction("set_maxwidth", "", -100, 0 , 0, 0);
|
||||
|
||||
g_footer.setXmlParam("x", "90");
|
||||
g_footer.setXmlParam("w", "-91");
|
||||
|
||||
updateFooter();
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
dualwnd.setXmlParam("from", "right");
|
||||
dualwnd.setXmlParam("minwidth", "147");
|
||||
#endif
|
||||
showCover();
|
||||
FIT_W_COMP;
|
||||
updateSaving(1);
|
||||
}
|
||||
|
||||
switchToVisCover ()
|
||||
{
|
||||
if (callbackTimer.isRunning()) return;
|
||||
if (tempDisable.isRunning()) return;
|
||||
tempDisable.start();
|
||||
hideVis_Full();
|
||||
hideEq();
|
||||
hideCfg();
|
||||
openIC();
|
||||
_Plsc_hide();
|
||||
#ifdef IC_COVERFLOW
|
||||
_Cflow_hide();
|
||||
#endif
|
||||
mychange = 1;
|
||||
if (startup_done)
|
||||
{
|
||||
ic_cover_fileinfo.setData("1");
|
||||
ic_vis_fileinfo.setData("1");
|
||||
vis_lefttoplayer_attrib.setData("1");
|
||||
ic_fileinfo.setData("1");
|
||||
}
|
||||
mychange = 0;
|
||||
substract = 0;
|
||||
sui_cover.setXmlParam("x", "92");
|
||||
|
||||
dualwnd.setXmlParam("maxwidth", "-188");
|
||||
dualwnd.sendAction("set_maxwidth", "", -188, 0 , 0, 0);
|
||||
|
||||
g_footer.setXmlParam("x", "178");
|
||||
g_footer.setXmlParam("w", "-179");
|
||||
|
||||
updateFooter();
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
dualwnd.setXmlParam("from", "right");
|
||||
dualwnd.setXmlParam("minwidth", "147");
|
||||
#endif
|
||||
showCover();
|
||||
showVis();
|
||||
FIT_W2_COMP;
|
||||
updateSaving(1);
|
||||
}
|
||||
switchToVis ()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "switchToVis();", D_WTF);
|
||||
if (callbackTimer.isRunning()) return;
|
||||
if (tempDisable.isRunning()) return;
|
||||
tempDisable.start();
|
||||
hideCover();
|
||||
hideVis_Full();
|
||||
hideEq();
|
||||
hideCfg();
|
||||
openIC();
|
||||
_Plsc_hide();
|
||||
#ifdef IC_COVERFLOW
|
||||
_Cflow_hide();
|
||||
#endif
|
||||
mychange = 1;
|
||||
if (startup_done)
|
||||
{
|
||||
ic_vis_fileinfo.setData("1");
|
||||
vis_lefttoplayer_attrib.setData("1");
|
||||
ic_fileinfo.setData("1");
|
||||
}
|
||||
mychange = 0;
|
||||
substract = 1;
|
||||
|
||||
dualwnd.setXmlParam("maxwidth", "-100");
|
||||
dualwnd.sendAction("set_maxwidth", "", -100, 0 , 0, 0);
|
||||
|
||||
g_footer.setXmlParam("x", "90");
|
||||
g_footer.setXmlParam("w", "-91");
|
||||
|
||||
updateFooter();
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
dualwnd.setXmlParam("from", "right");
|
||||
dualwnd.setXmlParam("minwidth", "147");
|
||||
#endif
|
||||
|
||||
showVis();
|
||||
FIT_W_COMP;
|
||||
updateSaving(1);
|
||||
}
|
||||
|
||||
switchToIcOnly ()
|
||||
{
|
||||
if (callbackTimer.isRunning()) return;
|
||||
if (tempDisable.isRunning()) return;
|
||||
tempDisable.start();
|
||||
hideVis_Full();
|
||||
hideVis();
|
||||
hideCover();
|
||||
hideEq();
|
||||
hideCfg();
|
||||
_Plsc_hide();
|
||||
#ifdef IC_COVERFLOW
|
||||
_Cflow_hide();
|
||||
#endif
|
||||
mychange = 1;
|
||||
if (startup_done) ic_fileinfo.setData("1");
|
||||
//ic_vis_fileinfo.setData("0");
|
||||
//ic_vis.setData("0");
|
||||
mychange = 0;
|
||||
substract = 0;
|
||||
|
||||
dualwnd.setXmlParam("maxwidth", "-100");
|
||||
dualwnd.sendAction("set_maxwidth", "", -100, 0 , 0, 0);
|
||||
|
||||
g_footer.setXmlParam("x", "6");
|
||||
g_footer.setXmlParam("w", "-7");
|
||||
|
||||
updateFooter();
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
dualwnd.setXmlParam("from", "right");
|
||||
dualwnd.setXmlParam("minwidth", "147");
|
||||
#endif
|
||||
showFi();
|
||||
FIT_WO_COMP;
|
||||
updateSaving(1);
|
||||
}
|
||||
|
||||
switchToEq ()
|
||||
{
|
||||
if (callbackTimer.isRunning()) return;
|
||||
if (tempDisable.isRunning()) return;
|
||||
tempDisable.start();
|
||||
hideVis_Full();
|
||||
hideVis();
|
||||
hideCover();
|
||||
hideFi();
|
||||
hideCfg();
|
||||
_Plsc_hide();
|
||||
#ifdef IC_COVERFLOW
|
||||
_Cflow_hide();
|
||||
#endif
|
||||
mychange = 1;
|
||||
substract = 1;
|
||||
ic_eq.setData("1");
|
||||
//ic_vis_fileinfo.setData("0");
|
||||
//ic_vis.setData("0");
|
||||
mychange = 0;
|
||||
|
||||
dualwnd.setXmlParam("maxwidth", "-196");
|
||||
dualwnd.sendAction("set_maxwidth", "", -196, 0 , 0, 0);
|
||||
|
||||
g_footer.setXmlParam("x", "6");
|
||||
g_footer.setXmlParam("w", "-7");
|
||||
|
||||
updateFooter();
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
dualwnd.setXmlParam("from", "right");
|
||||
dualwnd.setXmlParam("minwidth", "147");
|
||||
#endif
|
||||
|
||||
showEq();
|
||||
updateSaving(4);
|
||||
}
|
||||
|
||||
switchToCfg ()
|
||||
{
|
||||
if (callbackTimer.isRunning()) return;
|
||||
if (tempDisable.isRunning()) return;
|
||||
tempDisable.start();
|
||||
hideVis_Full();
|
||||
hideVis();
|
||||
hideCover();
|
||||
hideFi();
|
||||
hideEq();
|
||||
_Plsc_hide();
|
||||
#ifdef IC_COVERFLOW
|
||||
_Cflow_hide();
|
||||
#endif
|
||||
mychange = 1;
|
||||
ic_config.setData("1");
|
||||
//ic_vis_fileinfo.setData("0");
|
||||
//ic_vis.setData("0");
|
||||
mychange = 0;
|
||||
substract = 2;
|
||||
|
||||
dualwnd.setXmlParam("maxwidth", "-244");
|
||||
dualwnd.sendAction("set_maxwidth", "", -244, 0 , 0, 0);
|
||||
|
||||
g_footer.setXmlParam("x", "75");
|
||||
g_footer.setXmlParam("w", "-76");
|
||||
|
||||
updateFooter();
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
dualwnd.setXmlParam("from", "right");
|
||||
dualwnd.setXmlParam("minwidth", "147");
|
||||
#endif
|
||||
|
||||
showCfg();
|
||||
updateSaving(5);
|
||||
}
|
||||
|
||||
_Plsc_switchTo ()
|
||||
{
|
||||
if (callbackTimer.isRunning()) return;
|
||||
if (tempDisable.isRunning()) return;
|
||||
tempDisable.start();
|
||||
hideVis_Full();
|
||||
hideVis();
|
||||
hideCover();
|
||||
hideFi();
|
||||
hideEq();
|
||||
hideCfg();
|
||||
#ifdef IC_COVERFLOW
|
||||
_Cflow_hide();
|
||||
#endif
|
||||
mychange = 1;
|
||||
_plsc_ic_attrib.setData("1");
|
||||
//ic_vis_fileinfo.setData("0");
|
||||
//ic_vis.setData("0");
|
||||
mychange = 0;
|
||||
substract = 0;
|
||||
|
||||
dualwnd.setXmlParam("maxwidth", "-156");
|
||||
dualwnd.sendAction("set_maxwidth", "", -156, 0 , 0, 0);
|
||||
|
||||
g_footer.setXmlParam("x", "6");
|
||||
g_footer.setXmlParam("w", "-7");
|
||||
|
||||
updateFooter();
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
dualwnd.setXmlParam("from", "right");
|
||||
dualwnd.setXmlParam("minwidth", "147");
|
||||
#endif
|
||||
|
||||
_Plsc_show();
|
||||
updateSaving(3);
|
||||
}
|
||||
|
||||
#ifdef IC_COVERFLOW
|
||||
_Cflow_switchTo ()
|
||||
{
|
||||
if (callbackTimer.isRunning()) return;
|
||||
if (tempDisable.isRunning()) return;
|
||||
tempDisable.start();
|
||||
hideVis_Full();
|
||||
hideVis();
|
||||
hideCover();
|
||||
hideFi();
|
||||
hideEq();
|
||||
hideCfg();
|
||||
_Plsc_hide();
|
||||
mychange = 1;
|
||||
_cflow_ic_attrib.setData("1");
|
||||
//ic_vis_fileinfo.setData("0");
|
||||
//ic_vis.setData("0");
|
||||
mychange = 0;
|
||||
substract = 0;
|
||||
|
||||
dualwnd.setXmlParam("maxwidth", "-156");
|
||||
dualwnd.sendAction("set_maxwidth", "", -156, 0 , 0, 0);
|
||||
|
||||
g_footer.setXmlParam("x", "6");
|
||||
g_footer.setXmlParam("w", "-7");
|
||||
|
||||
updateFooter();
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
dualwnd.setXmlParam("from", "right");
|
||||
dualwnd.setXmlParam("minwidth", "147");
|
||||
#endif
|
||||
|
||||
_Cflow_show();
|
||||
updateSaving(3);
|
||||
}
|
||||
#endif
|
||||
|
||||
switchToVis_Full ()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "switchToVis_FULL();", D_WTF);
|
||||
if (callbackTimer.isRunning()) return;
|
||||
if (tempDisable.isRunning()) return;
|
||||
tempDisable.start();
|
||||
closeIC();
|
||||
hideVis();
|
||||
hideCover();
|
||||
hideEq();
|
||||
//hideFi();
|
||||
hideCfg();
|
||||
_Plsc_hide();
|
||||
#ifdef IC_COVERFLOW
|
||||
_Cflow_hide();
|
||||
#endif
|
||||
mychange = 1;
|
||||
ic_vis.setData("1");
|
||||
vis_lefttoplayer_full_attrib.setData("1");
|
||||
mychange = 0;
|
||||
substract = 1;
|
||||
|
||||
dualwnd.setXmlParam("maxwidth", "-156");
|
||||
dualwnd.sendAction("set_maxwidth", "", -156, 0 , 0, 0);
|
||||
|
||||
g_footer.setXmlParam("x", "6");
|
||||
g_footer.setXmlParam("w", "-7");
|
||||
|
||||
updateFooter();
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
dualwnd.setXmlParam("from", "right");
|
||||
dualwnd.setXmlParam("minwidth", "147");
|
||||
#endif
|
||||
|
||||
showVis_Full();
|
||||
updateSaving(2);
|
||||
}
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
hideMCV ()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "hideMCV();", D_WTF);
|
||||
if (callbackTimer.isRunning()) return;
|
||||
if (tempDisable.isRunning()) return;
|
||||
tempDisable.start();
|
||||
hideVis_Full();
|
||||
closeIC();
|
||||
hideVis();
|
||||
hideCover();
|
||||
hideEq();
|
||||
//hideFi();
|
||||
hideCfg();
|
||||
_Plsc_hide();
|
||||
#ifdef IC_COVERFLOW
|
||||
_Cflow_hide();
|
||||
#endif
|
||||
mychange = 1;
|
||||
ic_hidden.setData("1");
|
||||
mychange = 0;
|
||||
updateSaving(0);
|
||||
/*g_footer.setXmlParam("x", "6");
|
||||
g_footer.setXmlParam("w", "-7");
|
||||
dualwnd.setXmlParam("maxwidth", "-156");
|
||||
dualwnd.sendAction("set_maxwidth", "", -156, 0 , 0, 0);*/
|
||||
// dualwnd.setXmlParam("maxwidth", "-8");
|
||||
// dualwnd.sendAction("set_maxwidth", "", -8, 0 , 0, 0);
|
||||
dualwnd.setXmlParam("from", "left");
|
||||
dualwnd.setXmlParam("minwidth", integerToString(8 - stringtoInteger(dualwnd.getXmlParam("maxwidth"))));
|
||||
dualwnd.setXmlParam("maxwidth", "-155");
|
||||
dualwnd.sendAction("set_maxwidth", "", -155, 0 , 0, 0);
|
||||
dualwnd.setPosition(0);
|
||||
updateSaving(6);
|
||||
}
|
||||
#endif
|
||||
|
||||
tempDisable.onTimer()
|
||||
{
|
||||
stop();
|
||||
}
|
||||
|
||||
closeLC ()
|
||||
{
|
||||
if (callbackTimer.isRunning()) return;
|
||||
if (tempDisable.isRunning()) return;
|
||||
tempDisable.start();
|
||||
hideVis();
|
||||
hideCover();
|
||||
hideCfg();
|
||||
hideEq();
|
||||
hideVis_Full();
|
||||
_Plsc_hide();
|
||||
#ifdef IC_COVERFLOW
|
||||
_Cflow_hide();
|
||||
#endif
|
||||
}
|
||||
|
||||
closeIC ()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "closeIC() {", 0);
|
||||
|
||||
hideFi();
|
||||
|
||||
onCloseIC();
|
||||
|
||||
debugString(DEBUG_PREFIX "}", 0);
|
||||
}
|
||||
|
||||
openIC ()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "openIC() {", 0);
|
||||
|
||||
showFi();
|
||||
|
||||
onOpenIC();
|
||||
|
||||
debugString(DEBUG_PREFIX "}", 0);
|
||||
}
|
||||
|
||||
showFi()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "showFi() {", 0);
|
||||
|
||||
showing_fi = 1;
|
||||
setPrivateString(getSkinName(), "Component3", "File Info");
|
||||
GuiObject o = sui_fi;
|
||||
if (o != NULL)
|
||||
{
|
||||
bypasscancel = 1;
|
||||
if (o) o.show();
|
||||
bypasscancel = 0;
|
||||
debugString(DEBUG_PREFIX " --> ok", 0);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else debugString(DEBUG_PREFIX " --> (!) fi object not provided (show)", 0);
|
||||
#endif
|
||||
onShowFi();
|
||||
showing_Fi = 0;
|
||||
|
||||
debugString(DEBUG_PREFIX "}", 0);
|
||||
}
|
||||
|
||||
hideFi()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "hideFi() {", 0);
|
||||
|
||||
hiding_Fi = 1;
|
||||
GuiObject o = sui_fi;
|
||||
if (o != NULL) {
|
||||
bypasscancel = 1;
|
||||
if (o) o.hide();
|
||||
bypasscancel = 0;
|
||||
debugString(DEBUG_PREFIX " --> ok", 0);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else debugString(DEBUG_PREFIX " --> (!) sfi object not provided (hide)", 0);
|
||||
#endif
|
||||
onHideFi();
|
||||
hiding_Fi = 0;
|
||||
|
||||
debugString(DEBUG_PREFIX "}", 0);
|
||||
}
|
||||
|
||||
showVis()
|
||||
{
|
||||
//if (vis_inbig_attrib.getData() == "1") return;
|
||||
debugString(DEBUG_PREFIX "showVis() {", D_WTF);
|
||||
showing_vis = 1;
|
||||
GuiObject o = sui_vis;
|
||||
if (o != NULL)
|
||||
{
|
||||
bypasscancel = 1;
|
||||
if (o) o.show();
|
||||
bypasscancel = 0;
|
||||
debugString(DEBUG_PREFIX " --> ok", D_WTF);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else debugString(DEBUG_PREFIX " --> (!) vis object not provided (show)", D_WTF);
|
||||
#endif
|
||||
onShowVis();
|
||||
showing_vis = 0;
|
||||
|
||||
debugString(DEBUG_PREFIX "}", D_WTF);
|
||||
}
|
||||
|
||||
hideVis()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "hideVis() {", D_WTF);
|
||||
|
||||
hiding_vis = 1;
|
||||
GuiObject o = sui_vis;
|
||||
if (o != NULL) {
|
||||
bypasscancel = 1;
|
||||
if (o) o.hide();
|
||||
bypasscancel = 0;
|
||||
debugString(DEBUG_PREFIX " --> ok", D_WTF);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else debugString(DEBUG_PREFIX " --> (!) vis object not provided (hide)", D_WTF);
|
||||
#endif
|
||||
onHideVis();
|
||||
hiding_vis = 0;
|
||||
|
||||
debugString(DEBUG_PREFIX "}", D_WTF);
|
||||
}
|
||||
|
||||
showCover()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "showCover() {", 0);
|
||||
|
||||
showing_Cover = 1;
|
||||
GuiObject o = sui_Cover;
|
||||
if (o != NULL)
|
||||
{
|
||||
bypasscancel = 1;
|
||||
if (o) o.show();
|
||||
bypasscancel = 0;
|
||||
debugString(DEBUG_PREFIX " --> ok", 0);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else debugString(DEBUG_PREFIX " --> (!) Cover object not provided (show)", 0);
|
||||
#endif
|
||||
onShowCover();
|
||||
showing_Cover = 0;
|
||||
|
||||
debugString(DEBUG_PREFIX "}", 0);
|
||||
}
|
||||
|
||||
hideCover()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "hideCover() {", 0);
|
||||
|
||||
hiding_Cover = 1;
|
||||
GuiObject o = sui_Cover;
|
||||
if (o != NULL) {
|
||||
bypasscancel = 1;
|
||||
if (o) o.hide();
|
||||
bypasscancel = 0;
|
||||
debugString(DEBUG_PREFIX " --> ok", 0);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else debugString(DEBUG_PREFIX " --> (!) Cover object not provided (hide)", 0);
|
||||
#endif
|
||||
onHideCover();
|
||||
hiding_Cover = 0;
|
||||
|
||||
debugString(DEBUG_PREFIX "}", 0);
|
||||
}
|
||||
|
||||
showVis_Full()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "showVis_Full() {", D_WTF);
|
||||
|
||||
showing_vis_full = 1;
|
||||
GuiObject o = sui_vis_full;
|
||||
if (o != NULL)
|
||||
{
|
||||
bypasscancel = 1;
|
||||
if (o) o.show();
|
||||
bypasscancel = 0;
|
||||
debugString(DEBUG_PREFIX " --> ok", D_WTF);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else debugString(DEBUG_PREFIX " --> (!) Vis_Full object not provided (show)", D_WTF);
|
||||
#endif
|
||||
onShowVis_Full();
|
||||
showing_vis_full = 0;
|
||||
|
||||
debugString(DEBUG_PREFIX "}", D_WTF);
|
||||
}
|
||||
|
||||
hideVis_Full()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "hideVis_Full() {", D_WTF);
|
||||
|
||||
hiding_vis_full = 1;
|
||||
GuiObject o = sui_vis_full;
|
||||
if (o != NULL) {
|
||||
bypasscancel = 1;
|
||||
if (o) o.hide();
|
||||
bypasscancel = 0;
|
||||
debugString(DEBUG_PREFIX " --> ok", D_WTF);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else debugString(DEBUG_PREFIX " --> (!) Vis_Full object not provided (hide)", D_WTF);
|
||||
#endif
|
||||
onHideVis_Full();
|
||||
hiding_vis_full = 0;
|
||||
|
||||
debugString(DEBUG_PREFIX "}", D_WTF);
|
||||
}
|
||||
|
||||
showEq()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "showEq() {", D_WTF);
|
||||
|
||||
showing_eq = 1;
|
||||
GuiObject o = sui_eq;
|
||||
if (o != NULL)
|
||||
{
|
||||
bypasscancel = 1;
|
||||
if (o) o.show();
|
||||
bypasscancel = 0;
|
||||
debugString(DEBUG_PREFIX " --> ok", D_WTF);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else debugString(DEBUG_PREFIX " --> (!) Vis_Full object not provided (show)", D_WTF);
|
||||
#endif
|
||||
onShowEq();
|
||||
showing_eq = 0;
|
||||
|
||||
debugString(DEBUG_PREFIX "}", D_WTF);
|
||||
}
|
||||
|
||||
hideEq()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "hideVis_Full() {", D_WTF);
|
||||
|
||||
hiding_eq = 1;
|
||||
GuiObject o = sui_eq;
|
||||
if (o != NULL) {
|
||||
bypasscancel = 1;
|
||||
if (o) o.hide();
|
||||
bypasscancel = 0;
|
||||
debugString(DEBUG_PREFIX " --> ok", D_WTF);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else debugString(DEBUG_PREFIX " --> (!) Eq object not provided (hide)", D_WTF);
|
||||
#endif
|
||||
onHideEq();
|
||||
hiding_eq = 0;
|
||||
|
||||
debugString(DEBUG_PREFIX "}", D_WTF);
|
||||
}
|
||||
|
||||
showCfg()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "showCfg() {", D_WTF);
|
||||
|
||||
showing_cfg = 1;
|
||||
GuiObject o = sui_cfg;
|
||||
if (o != NULL)
|
||||
{
|
||||
bypasscancel = 1;
|
||||
if (o) o.show();
|
||||
bypasscancel = 0;
|
||||
debugString(DEBUG_PREFIX " --> ok", D_WTF);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else debugString(DEBUG_PREFIX " --> (!) cfg_Full object not provided (show)", D_WTF);
|
||||
#endif
|
||||
onShowcfg();
|
||||
showing_cfg = 0;
|
||||
|
||||
debugString(DEBUG_PREFIX "}", D_WTF);
|
||||
}
|
||||
|
||||
hideCfg()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "hideVis_Full() {", D_WTF);
|
||||
|
||||
hiding_cfg = 1;
|
||||
GuiObject o = sui_cfg;
|
||||
if (o != NULL) {
|
||||
bypasscancel = 1;
|
||||
if (o) o.hide();
|
||||
bypasscancel = 0;
|
||||
debugString(DEBUG_PREFIX " --> ok", D_WTF);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
else debugString(DEBUG_PREFIX " --> (!) cfg object not provided (hide)", D_WTF);
|
||||
#endif
|
||||
onHidecfg();
|
||||
hiding_cfg = 0;
|
||||
|
||||
debugString(DEBUG_PREFIX "}", D_WTF);
|
||||
}
|
||||
|
||||
callbackTimer.onTimer()
|
||||
{
|
||||
callbackTimer.stop();
|
||||
|
||||
debugString(DEBUG_PREFIX "callbackTimer();", D_WTF);
|
||||
|
||||
int _callback_showing_vis = callback_showing_vis;
|
||||
int _callback_hiding_vis = callback_hiding_vis;
|
||||
int _callback_showing_fi = callback_showing_fi;
|
||||
int _callback_hiding_fi = callback_hiding_fi;
|
||||
int _callback_showing_cover = callback_showing_cover;
|
||||
int _callback_hiding_cover = callback_hiding_cover;
|
||||
int _callback_showing_vis_full = callback_showing_vis_full;
|
||||
int _callback_hiding_vis_full = callback_hiding_vis_full;
|
||||
int _callback_showing_eq = callback_showing_eq;
|
||||
int _callback_hiding_eq = callback_hiding_eq;
|
||||
int _callback_showing_cfg = callback_showing_cfg;
|
||||
int _callback_hiding_cfg = callback_hiding_cfg;
|
||||
int _plsc_callback_showing_temp = _plsc_callback_showing;
|
||||
int _plsc_callback_hiding_temp = _plsc_callback_hiding;
|
||||
#ifdef IC_COVERFLOW
|
||||
int _cflow_callback_showing_temp = _cflow_callback_showing;
|
||||
int _cflow_callback_hiding_temp = _cflow_callback_hiding;
|
||||
#endif
|
||||
|
||||
callback_showing_vis = 0;
|
||||
callback_hiding_vis = 0;
|
||||
callback_showing_fi = 0;
|
||||
callback_hiding_fi = 0;
|
||||
callback_showing_cover = 0;
|
||||
callback_hiding_cover = 0;
|
||||
callback_showing_vis_full = 0;
|
||||
callback_hiding_vis_full = 0;
|
||||
callback_showing_eq = 0;
|
||||
callback_hiding_eq = 0;
|
||||
callback_showing_cfg = 0;
|
||||
callback_hiding_cfg = 0;
|
||||
_plsc_callback_showing = 0;
|
||||
_plsc_callback_hiding = 0;
|
||||
#ifdef IC_COVERFLOW
|
||||
_cflow_callback_showing = 0;
|
||||
_cflow_callback_hiding = 0;
|
||||
#endif
|
||||
|
||||
if (_callback_showing_vis == 1)
|
||||
{
|
||||
ic_vis_fileinfo.setData("1");
|
||||
ic_fileinfo.setData("1");
|
||||
}
|
||||
if (_callback_hiding_vis == 1)
|
||||
{
|
||||
ic_vis_fileinfo.setData("0");
|
||||
}
|
||||
if (_callback_showing_fi == 1)
|
||||
{
|
||||
showFi();
|
||||
}
|
||||
if (_callback_hiding_fi == 1)
|
||||
{
|
||||
hideFi();
|
||||
}
|
||||
if (_callback_showing_cover == 1)
|
||||
{
|
||||
ic_cover_fileinfo.setData("1");
|
||||
ic_fileinfo.setData("1");
|
||||
}
|
||||
if (_callback_hiding_cover == 1)
|
||||
{
|
||||
ic_cover_fileinfo.setData("0");
|
||||
}
|
||||
if (_callback_showing_vis_full == 1)
|
||||
{
|
||||
switchToVis_Full();
|
||||
}
|
||||
if (_callback_hiding_vis_full == 1)
|
||||
{
|
||||
hideVis_Full();
|
||||
}
|
||||
if (_callback_showing_eq == 1)
|
||||
{
|
||||
switchToEq();
|
||||
}
|
||||
if (_callback_hiding_eq == 1)
|
||||
{
|
||||
hideEq();
|
||||
}
|
||||
if (_callback_showing_cfg == 1)
|
||||
{
|
||||
switchTocfg();
|
||||
}
|
||||
if (_callback_hiding_cfg == 1)
|
||||
{
|
||||
hidecfg();
|
||||
}
|
||||
if (_plsc_callback_showing_temp == 1)
|
||||
{
|
||||
_Plsc_switchTo();
|
||||
}
|
||||
if (_plsc_callback_hiding_temp == 1)
|
||||
{
|
||||
_Plsc_hide();
|
||||
}
|
||||
#ifdef IC_COVERFLOW
|
||||
if (_cflow_callback_showing_temp == 1)
|
||||
{
|
||||
_Cflow_switchTo();
|
||||
}
|
||||
if (_cflow_callback_hiding_temp == 1)
|
||||
{
|
||||
_Cflow_hide();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
dc_showFi ()
|
||||
{
|
||||
callback_showing_fi = 1;
|
||||
callback_hiding_fi = 0;
|
||||
callbackTimer.start();
|
||||
}
|
||||
|
||||
dc_hideFi ()
|
||||
{
|
||||
callback_showing_fi = 0;
|
||||
callback_hiding_fi = 1;
|
||||
callbackTimer.start();
|
||||
}
|
||||
|
||||
dc_showCover ()
|
||||
{
|
||||
callback_showing_cover = 1;
|
||||
callback_hiding_cover = 0;
|
||||
callbackTimer.start();
|
||||
}
|
||||
|
||||
dc_hideCover ()
|
||||
{
|
||||
callback_showing_cover = 0;
|
||||
callback_hiding_cover = 1;
|
||||
callbackTimer.start();
|
||||
}
|
||||
|
||||
dc_showVis ()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "dc_showVis();", D_WTF);
|
||||
callback_showing_vis = 1;
|
||||
callback_hiding_vis = 0;
|
||||
callbackTimer.start();
|
||||
}
|
||||
|
||||
dc_hideVis ()
|
||||
{
|
||||
callback_showing_vis = 0;
|
||||
callback_hiding_vis = 1;
|
||||
callbackTimer.start();
|
||||
}
|
||||
|
||||
dc_showVis_Full ()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "dc_showVis_Full();", D_WTF);
|
||||
callback_showing_vis_full = 1;
|
||||
callback_hiding_vis_full = 0;
|
||||
callbackTimer.start();
|
||||
}
|
||||
|
||||
dc_hideVis_Full ()
|
||||
{
|
||||
callback_showing_vis_full = 0;
|
||||
callback_hiding_vis_full = 1;
|
||||
callbackTimer.start();
|
||||
}
|
||||
|
||||
dc_showEq ()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "dc_showVis_Full();", D_WTF);
|
||||
callback_showing_eq = 1;
|
||||
callback_hiding_eq = 0;
|
||||
callbackTimer.start();
|
||||
}
|
||||
|
||||
dc_hideEq ()
|
||||
{
|
||||
callback_showing_eq = 0;
|
||||
callback_hiding_eq = 1;
|
||||
callbackTimer.start();
|
||||
}
|
||||
|
||||
dc_showCfg ()
|
||||
{
|
||||
debugString(DEBUG_PREFIX "dc_showVis_Full();", D_WTF);
|
||||
callback_showing_Cfg = 1;
|
||||
callback_hiding_Cfg = 0;
|
||||
callbackTimer.start();
|
||||
}
|
||||
|
||||
dc_hideCfg ()
|
||||
{
|
||||
callback_showing_Cfg = 0;
|
||||
callback_hiding_Cfg = 1;
|
||||
callbackTimer.start();
|
||||
}
|
426
Src/resources/skins/Bento/scripts/playlistpro.m
Normal file
@ -0,0 +1,426 @@
|
||||
/*
|
||||
|
||||
PlaylistPro build 005
|
||||
Originally done by pjn123 (www.skinconsortium.com) for the Classic Pro plugin
|
||||
|
||||
*/
|
||||
|
||||
#include "lib/std.mi"
|
||||
#include "lib/pldir.mi"
|
||||
#include "init_Playlist.m"
|
||||
|
||||
Function resizeResults(int items);
|
||||
Function doSearch(String input);
|
||||
Function setSearchBox(boolean onOff);
|
||||
Function clearSearchBox();
|
||||
Function int getPlEntry(int search_item);
|
||||
Function String replaceString(string baseString, string toreplace, string replacedby);
|
||||
|
||||
Global Group frameGroup, topbar;
|
||||
Global Edit searchBox;
|
||||
Global Text helpSearch, searchNews;// fakeText;
|
||||
Global GuiObject fakeSB, searchXUI, searchButtonXui;
|
||||
Global Button searchButton, clearButton, clearButtonText;
|
||||
Global GuiList searchResults;
|
||||
Global Boolean foundsomething;
|
||||
Global int tn, h_tune;
|
||||
Global String temptoken;
|
||||
Global Windowholder plwh;
|
||||
GLobal Timer refreshActiveCheck;
|
||||
Global PopupMenu search_rc;
|
||||
|
||||
Global Container results_container;
|
||||
Global Layout results_layout, main_layout;
|
||||
|
||||
System.onScriptLoaded() {
|
||||
frameGroup = getScriptGroup();
|
||||
topbar = frameGroup.findObject("PlaylistPro.topbar");
|
||||
plwh = frameGroup.findObject("wdh.playlist");
|
||||
|
||||
searchBox = frameGroup.findObject("wasabi.edit.box");
|
||||
searchXUI = frameGroup.findObject("pl.search.edit");
|
||||
searchButton = frameGroup.findObject("pl.search.go");
|
||||
searchButtonXui = frameGroup.findObject("pl.search.go");
|
||||
fakeSB = frameGroup.findObject("pl.search.edit.rect");
|
||||
clearButton = frameGroup.findObject("pl.search.edit.clear");
|
||||
clearButtonText = frameGroup.findObject("pl.search.edit.clear.text");
|
||||
helpSearch = frameGroup.findObject("pl.search.edit.searchhelp");
|
||||
//fakeText = frameGroup.findObject("pl.search.go.text.fake");
|
||||
|
||||
results_container = newDynamicContainer("searchresults");
|
||||
results_layout = results_container.getLayout("normal");
|
||||
searchResults = results_layout.findObject("PlaylistPro.list");
|
||||
searchResults.setFontSize(16);
|
||||
searchNews = results_layout.findObject("PlaylistPro.list.news");
|
||||
|
||||
main_layout = getContainer("main").getLayout("normal");
|
||||
|
||||
initAttribs_Playlist();
|
||||
|
||||
//translation workaround
|
||||
/*searchButtonXui.setXmlParam("text", System.translate("Search"));
|
||||
searchButtonXui.setXmlParam("x", integerToString(-1*fakeText.getAutoWidth()-4));
|
||||
searchButtonXui.setXmlParam("w", integerToString(fakeText.getAutoWidth()+2));
|
||||
searchXUI.setXmlParam("w", integerToString(-1*fakeText.getAutoWidth()-9));*/
|
||||
|
||||
refreshActiveCheck = new Timer;
|
||||
refreshActiveCheck.setDelay(100);
|
||||
}
|
||||
System.onScriptUnLoading() {
|
||||
delete refreshActiveCheck;
|
||||
}
|
||||
|
||||
refreshActiveCheck.onTimer(){
|
||||
if((!System.isAppActive() || System.isMinimized()) && results_layout.isVisible() ) results_layout.hide();
|
||||
}
|
||||
|
||||
results_layout.onSetVisible(boolean onOff){
|
||||
if(onOff){
|
||||
refreshActiveCheck.start();
|
||||
}
|
||||
else{
|
||||
refreshActiveCheck.stop();
|
||||
}
|
||||
}
|
||||
|
||||
System.onShowLayout(Layout _layout){
|
||||
if(main_layout.isVisible()) results_layout.setXmlParam("ontop", "1");
|
||||
}
|
||||
|
||||
frameGroup.onSetVisible(boolean onOff){
|
||||
if(!onOff) clearSearchBox();
|
||||
}
|
||||
|
||||
searchButton.onLeftClick(){
|
||||
doSearch(searchBox.getText());
|
||||
}
|
||||
|
||||
resizeResults(int items){
|
||||
/*results_layout.setTargetX(results_layout.getLeft());
|
||||
results_layout.setTargetY(results_layout.getTop());
|
||||
results_layout.setTargetW(results_layout.getWidth());
|
||||
results_layout.setTargetH(500);
|
||||
results_layout.setTargetSpeed(1);
|
||||
results_layout.gotoTarget();*/
|
||||
|
||||
//items++; //temp add one extra for info... xx items found
|
||||
if(items>20) items=20;
|
||||
|
||||
|
||||
if(items>=1) h_tune=29;
|
||||
else h_tune=25;
|
||||
|
||||
//results_layout.setXmlParam("h", integerToString(20+items*18));
|
||||
|
||||
/*results_layout.setTargetX(results_layout.getLeft());
|
||||
results_layout.setTargetY(results_layout.getTop());
|
||||
results_layout.setTargetW(results_layout.getWidth());
|
||||
results_layout.setTargetH(h_tune+items*16);
|
||||
results_layout.setTargetSpeed(0.3);
|
||||
results_layout.gotoTarget();*/
|
||||
results_layout.resize(results_layout.getLeft(), results_layout.getTop(), results_layout.getWidth(), h_tune+items*16);
|
||||
}
|
||||
|
||||
searchBox.onEnter(){
|
||||
doSearch(searchBox.getText());
|
||||
}
|
||||
|
||||
doSearch(String input){
|
||||
if(input==""){
|
||||
clearSearchBox();
|
||||
return;
|
||||
}
|
||||
|
||||
//search history stuff
|
||||
String history = getPublicString("cPro.PlaylistPro.history", "");
|
||||
history = replaceString(history, input, "");
|
||||
history = replaceString(history, ";;", ";");
|
||||
if(strleft(history, 1)==";") history = strright(history, strlen(history)-1);
|
||||
if(strright(history, 1)==";") history = strleft(history, strlen(history)-1);
|
||||
if(history=="") history= input;
|
||||
else history= input+";"+history;
|
||||
|
||||
String output = getToken(history, ";", 0);
|
||||
for(int i = 1; i<15; i++){
|
||||
if(getToken(history, ";", i)=="") break;
|
||||
output+=";"+getToken(history, ";", i);
|
||||
}
|
||||
setPublicString("cPro.PlaylistPro.history", history);
|
||||
|
||||
|
||||
int itemsfound = 0;
|
||||
input = strlower(input);
|
||||
|
||||
results_layout.setXmlParam("x", integerToString(fakeSB.clientToScreenX(fakeSB.getLeft()-2)));
|
||||
results_layout.setXmlParam("y", integerToString(fakeSB.clientToScreenY(fakeSB.getTop() + fakeSB.getHeight())));
|
||||
results_layout.setXmlParam("w", integerToString(frameGroup.getWidth()-19));
|
||||
|
||||
if(!results_layout.isVisible()) results_layout.setXmlParam("h", "1");
|
||||
|
||||
searchResults.deleteAllItems();
|
||||
searchResults.scrollToItem(0);
|
||||
|
||||
for(int i = 0; i<PlEdit.getNumTracks(); i++){
|
||||
foundsomething=false;
|
||||
|
||||
for(tn = 0; tn<10; tn++){
|
||||
if(getToken(input, " ", tn)==""){
|
||||
break;
|
||||
}
|
||||
|
||||
temptoken = getToken(input, " ", tn);
|
||||
if(strsearch(strlower(PlEdit.getTitle(i) + " " + PlEdit.getFileName(i)), temptoken)>=0){
|
||||
foundsomething=true;
|
||||
}
|
||||
else{
|
||||
foundsomething=false;
|
||||
}
|
||||
|
||||
if(!foundsomething){
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(foundsomething){
|
||||
itemsfound++;
|
||||
searchResults.addItem(integerToString(i+1)+". " + PlEdit.getTitle(i));
|
||||
if(itemsfound>500){
|
||||
searchNews.setText("Search result limited to 500 items");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(itemsfound==0){
|
||||
searchNews.setText("Nothing was found");
|
||||
}
|
||||
else if(itemsfound<=500){
|
||||
searchNews.setText(System.translate("Items found: ") +integerToString(itemsfound));
|
||||
}
|
||||
|
||||
if(!results_layout.isVisible()) results_layout.show();
|
||||
|
||||
// Fix if always on top is enabled.. it just refresh the ontop ;)
|
||||
results_layout.setXmlParam("ontop", "1");
|
||||
|
||||
resizeResults(itemsfound);
|
||||
}
|
||||
|
||||
searchResults.onDoubleClick(Int itemnum){
|
||||
PlEdit.playTrack (getPlEntry(itemnum));
|
||||
setSearchBox(false);
|
||||
}
|
||||
|
||||
searchResults.onRightClick(Int itemnum){
|
||||
search_rc = new PopupMenu;
|
||||
search_rc.addCommand("Move selected to top", 1, 0, 0);
|
||||
search_rc.addCommand("Move selected to bottom", 2, 0, 0);
|
||||
search_rc.addCommand("Move selected after current", 3, 0, 0);
|
||||
search_rc.addCommand("Move selected together", 4, 0, 0);
|
||||
search_rc.addSeparator();
|
||||
search_rc.addCommand("Remove selected from playlist", 5, 0, 0);
|
||||
int result = search_rc.popAtMouse();
|
||||
delete search_rc;
|
||||
|
||||
int lastselected = searchResults.getFirstItemSelected();
|
||||
int itemcounter = 1;
|
||||
|
||||
if(result==1){
|
||||
PlEdit.moveTo (getPlEntry(lastselected), 0);
|
||||
while(searchResults.getNextItemSelected(lastselected) != -1){
|
||||
lastselected = searchResults.getNextItemSelected(lastselected);
|
||||
PlEdit.moveTo (getPlEntry(lastselected), itemcounter);
|
||||
itemcounter++;
|
||||
}
|
||||
PlEdit.showTrack(0);
|
||||
}
|
||||
else if(result==2){
|
||||
PlEdit.moveTo (getPlEntry(lastselected), PlEdit.getNumTracks ()-1);
|
||||
while(searchResults.getNextItemSelected(lastselected) != -1){
|
||||
lastselected = searchResults.getNextItemSelected(lastselected);
|
||||
PlEdit.moveTo (getPlEntry(lastselected)-itemcounter, PlEdit.getNumTracks ()-1);
|
||||
itemcounter++;
|
||||
}
|
||||
PlEdit.showTrack(PlEdit.getNumTracks ()-1);
|
||||
}
|
||||
else if(result==3){
|
||||
int align = 0;
|
||||
int orignalPos = PlEdit.getCurrentIndex();
|
||||
int temp = getPlEntry(lastselected);
|
||||
if(PlEdit.getCurrentIndex() > temp) align++;
|
||||
|
||||
if(orignalPos > getPlEntry(lastselected)) PlEdit.moveTo (getPlEntry(lastselected), PlEdit.getCurrentIndex());
|
||||
else PlEdit.moveTo (getPlEntry(lastselected), PlEdit.getCurrentIndex()+1);
|
||||
|
||||
while(searchResults.getNextItemSelected(lastselected) != -1){
|
||||
lastselected = searchResults.getNextItemSelected(lastselected);
|
||||
|
||||
if(orignalPos != getPlEntry(lastselected)){
|
||||
if(orignalPos > getPlEntry(lastselected)){
|
||||
PlEdit.moveTo (getPlEntry(lastselected)-align, PlEdit.getCurrentIndex()+itemcounter);
|
||||
}
|
||||
else{
|
||||
PlEdit.moveTo (getPlEntry(lastselected), PlEdit.getCurrentIndex()+itemcounter+1);
|
||||
}
|
||||
|
||||
temp = getPlEntry(lastselected);
|
||||
if(orignalPos > temp) align++;
|
||||
itemcounter++;
|
||||
}
|
||||
}
|
||||
PlEdit.showCurrentlyPlayingTrack();
|
||||
}
|
||||
else if(result==4){
|
||||
int startpos = getPlEntry(lastselected);
|
||||
while(searchResults.getNextItemSelected(lastselected) != -1){
|
||||
lastselected = searchResults.getNextItemSelected(lastselected);
|
||||
PlEdit.moveTo (getPlEntry(lastselected), startpos+itemcounter);
|
||||
itemcounter++;
|
||||
}
|
||||
PlEdit.showTrack(startpos);
|
||||
}
|
||||
else if(result==5){
|
||||
PlEdit.removeTrack (getPlEntry(lastselected));
|
||||
while(searchResults.getNextItemSelected(lastselected) != -1){
|
||||
lastselected = searchResults.getNextItemSelected(lastselected);
|
||||
PlEdit.removeTrack (getPlEntry(lastselected)-itemcounter);
|
||||
itemcounter++;
|
||||
}
|
||||
}
|
||||
|
||||
else return;
|
||||
|
||||
//hides the search
|
||||
setSearchBox(false);
|
||||
}
|
||||
|
||||
int getPlEntry(int search_item){
|
||||
return stringToInteger(getToken(searchResults.getItemLabel(search_item,0), ". ", 0))-1;
|
||||
}
|
||||
|
||||
setSearchBox(boolean onOff){
|
||||
if(onOff){
|
||||
searchBox.show();
|
||||
clearButton.show();
|
||||
clearButtonText.show();
|
||||
helpSearch.hide();
|
||||
searchBox.setFocus();
|
||||
}
|
||||
else{
|
||||
searchBox.hide();
|
||||
clearButton.hide();
|
||||
clearButtonText.hide();
|
||||
helpSearch.show();
|
||||
results_layout.hide();
|
||||
}
|
||||
}
|
||||
|
||||
fakeSB.onLeftButtonDown(int x, int y){
|
||||
setSearchBox(true);
|
||||
}
|
||||
fakeSB.onRightButtonDown(int x, int y){
|
||||
search_rc = new PopupMenu;
|
||||
search_rc.addCommand("** Search history **", 0, 0, 1);
|
||||
search_rc.addSeparator();
|
||||
|
||||
String history = getPublicString("cPro.PlaylistPro.history", "");
|
||||
boolean historyfound=false;
|
||||
for(int i=0;i<15;i++){
|
||||
String historyitem = getToken(history, ";", i);
|
||||
if(historyitem==""){
|
||||
if(i>0) historyfound=true;
|
||||
break;
|
||||
}
|
||||
search_rc.addCommand(historyitem, i+1, 0, 0);
|
||||
}
|
||||
if(historyfound) search_rc.addSeparator();
|
||||
search_rc.addCommand("Clear History", 100, 0, 0);
|
||||
|
||||
int result = search_rc.popAtMouse();
|
||||
delete search_rc;
|
||||
|
||||
if(result>0 && result<100){
|
||||
setSearchBox(true);
|
||||
searchBox.setText(getToken(history, ";", result-1));
|
||||
searchButton.leftClick();
|
||||
}
|
||||
else if(result==100){
|
||||
setPublicString("cPro.PlaylistPro.history", "");
|
||||
}
|
||||
}
|
||||
|
||||
clearSearchBox(){
|
||||
searchBox.setText("");
|
||||
setSearchBox(false);
|
||||
}
|
||||
|
||||
main_layout.onMove(){
|
||||
if(results_layout.isVisible()){
|
||||
results_layout.setXmlParam("x", integerToString(fakeSB.clientToScreenX(fakeSB.getLeft()-2)));
|
||||
results_layout.setXmlParam("y", integerToString(fakeSB.clientToScreenY(fakeSB.getTop() + fakeSB.getHeight())));
|
||||
results_layout.setXmlParam("ontop", "1");
|
||||
}
|
||||
}
|
||||
main_layout.onResize(int x, int y, int w, int h){
|
||||
if(results_layout.isVisible()) clearSearchBox();
|
||||
}
|
||||
|
||||
frameGroup.onResize(int x, int y, int w, int h){
|
||||
if(results_layout.isVisible()) clearSearchBox();
|
||||
|
||||
//if(playlist_search_attib.getData()=="0") return;
|
||||
|
||||
if(h<102 || playlist_search_attrib.getData()=="0"){
|
||||
|
||||
if(!topbar.isVisible()) return; //Don't do the same code over and over
|
||||
|
||||
topbar.hide();
|
||||
plwh.setXmlParam("y", "0");
|
||||
plwh.setXmlParam("h", "0");
|
||||
}
|
||||
else{
|
||||
if(topbar.isVisible()) return; //Don't do the same code over and over
|
||||
|
||||
topbar.show();
|
||||
plwh.setXmlParam("y", "30");
|
||||
plwh.setXmlParam("h", "-30");
|
||||
}
|
||||
}
|
||||
|
||||
clearButton.onLeftClick(){
|
||||
clearSearchBox();
|
||||
}
|
||||
|
||||
playlist_search_attrib.onDataChanged(){
|
||||
frameGroup.onResize(frameGroup.getLeft(), frameGroup.getTop(), frameGroup.getWidth(), frameGroup.getHeight());
|
||||
//debug("abc " + getData());
|
||||
|
||||
if (getData() == "0"){
|
||||
topbar.hide();
|
||||
plwh.setXMLParam("y", "0");
|
||||
plwh.setXMLParam("h", "0");
|
||||
}
|
||||
else if(getData() == "1"){
|
||||
|
||||
topbar.show();
|
||||
plwh.setXMLParam("y", "30");
|
||||
plwh.setXMLParam("h", "-30");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
String replaceString(string baseString, string toreplace, string replacedby){
|
||||
if (toreplace == "") return baseString;
|
||||
string sf1 = strupper(baseString);
|
||||
string sf2 = strupper(toreplace);
|
||||
int i = strsearch(sf1, sf2);
|
||||
if (i == -1) return baseString;
|
||||
string left = "", right = "";
|
||||
if (i != 0) left = strleft(baseString, i);
|
||||
if (strlen(basestring) - i - strlen(toreplace) != 0) {
|
||||
right = strright(basestring, strlen(basestring) - i - strlen(toreplace));
|
||||
}
|
||||
return left + replacedby + right;
|
||||
}
|
BIN
Src/resources/skins/Bento/scripts/playlistpro.maki
Normal file
619
Src/resources/skins/Bento/scripts/pledit.m
Normal file
@ -0,0 +1,619 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: pledit.m
|
||||
Version: 3.1
|
||||
|
||||
Type: maki
|
||||
Date: 18. Sep. 2007 - 19:42
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#include <lib/std.mi>
|
||||
|
||||
//#define DEBUG
|
||||
#define FILE_NAME "pledit.m"
|
||||
#include <lib/com/debug.m>
|
||||
|
||||
#define PL_GUID "{45F3F7C1-A6F3-4EE6-A15E-125E92FC3F8D}"
|
||||
#define PLC_POPPLER_POS 200
|
||||
|
||||
#include "../../Big Bento/scripts/attribs/init_playlist.m"
|
||||
|
||||
Function fitContent (int playlistw, int playlistx);
|
||||
Function fit (group g, int x, int rx, int y, int ry, int w, int rw, int h, int rh);
|
||||
Function int updatePoppler(int w);
|
||||
Function int updateMainPoppler(int w);
|
||||
|
||||
Global Frame dualwnd, pl_dualwnd, mainframe;
|
||||
|
||||
Global Group g_playlist, g_player, g_sui, g_buttons, g_mcv, g_cover, g_upper, wdh_pl;
|
||||
Global Button p_enlarge, p_small;
|
||||
Global Button p_resize;
|
||||
Global int down_x, down_gx, isresizing;
|
||||
Global layout normal;
|
||||
Global Container player;
|
||||
//Global WindowHolder wdh_pl;
|
||||
Global Text pl_time;
|
||||
|
||||
Global Button pe_add, pe_rem, pe_sel, pe_misc, pe_manage;
|
||||
|
||||
Global Boolean startup, isBig, bypass_nocomp;
|
||||
|
||||
Global Timer dc_openPl, dc_closePl, dc_loadWnd;
|
||||
|
||||
Global Int COMP_Y, COMP_H, SUI_Y, SUI_H, BOTTOMSPACER, MAX_PL_H;
|
||||
Global Int DEF_PL_W, SIDESPACER;
|
||||
|
||||
Global Int min_infowidth;
|
||||
|
||||
|
||||
System.onScriptLoaded ()
|
||||
{
|
||||
initAttribs_Playlist();
|
||||
normal = getScriptGroup();
|
||||
player = normal.getContainer();
|
||||
|
||||
isBig = (getParam() == "big");
|
||||
if (isBig)
|
||||
{
|
||||
mainframe = normal.getObject("player.mainframe.big");
|
||||
}
|
||||
else
|
||||
{
|
||||
mainframe = normal.getObject("player.mainframe");
|
||||
}
|
||||
|
||||
dualwnd = mainframe.findObject("player.dualwnd");
|
||||
g_mcv = dualwnd.findObject("player.component.fileinfo");
|
||||
g_upper = dualwnd.findObject("player.component.playlist.frame");
|
||||
pl_dualwnd = dualwnd.findObject("playlist.dualwnd");
|
||||
g_playlist = pl_dualwnd.findObject("player.component.playlist");
|
||||
g_cover = pl_dualwnd.findObject("player.component.playlist.albumart");
|
||||
g_player = dualwnd.findObject("player.layout");
|
||||
g_sui = normal.getObject("sui.content");
|
||||
g_buttons = g_playlist.getObject("player.component.playlist.buttons");
|
||||
p_enlarge = g_buttons.getObject("player.playlist.enlarge");
|
||||
p_small = g_buttons.getObject("player.playlist.small");
|
||||
p_resize = g_playlist.getObject("player.resize");
|
||||
wdh_pl = g_playlist.getObject("playlistpro");
|
||||
pl_time = g_buttons.getObject("PLTime");
|
||||
|
||||
pe_add = g_buttons.getObject("player.playlist.add");
|
||||
pe_rem = g_buttons.getObject("player.playlist.rem");
|
||||
pe_sel = g_buttons.getObject("player.playlist.sel");
|
||||
pe_misc = g_buttons.getObject("player.playlist.misc");
|
||||
pe_manage = g_buttons.getObject("player.playlist.manage");
|
||||
|
||||
min_infowidth = stringtoInteger(dualwnd.getXmlParam("maxwidth"));
|
||||
|
||||
dc_openPl = new Timer;
|
||||
dc_openPl.setDelay(1);
|
||||
|
||||
dc_closePl = new Timer;
|
||||
dc_closePl.setDelay(1);
|
||||
|
||||
dc_loadWnd = new Timer;
|
||||
dc_loadWnd.setDelay(1);
|
||||
|
||||
// Global Definitions:
|
||||
|
||||
DEF_PL_W = g_playlist.getGuiW(); // (-)
|
||||
SIDESPACER = g_sui.getGuiX(); // (+)
|
||||
COMP_Y = mainframe.getGuiY(); // (+)
|
||||
COMP_H = mainframe.getGuiH(); // (+)
|
||||
SUI_Y = g_sui.getGuiY(); // (+)
|
||||
SUI_H = g_sui.getGuiH(); // (-)
|
||||
BOTTOMSPACER = SUI_Y + SUI_H; // (-)
|
||||
MAX_PL_H = BOTTOMSPACER - COMP_Y; // (-)
|
||||
|
||||
startup = 1;
|
||||
|
||||
// show playlist album art if checked
|
||||
playlist_cover_attrib.onDataChanged();
|
||||
|
||||
//Bento v0.8 hack
|
||||
if (mainframe.getPosition() < stringToInteger(mainframe.getXmlParam("minwidth")))
|
||||
{
|
||||
mainframe.setPosition(stringToInteger(mainframe.getXmlParam("minwidth")));
|
||||
}
|
||||
}
|
||||
|
||||
system.onScriptUnloading ()
|
||||
{
|
||||
int pos = pl_dualwnd.getPosition();
|
||||
if (pos > 0) setPrivateInt(getSkinName(), "playlist_cover_poppler", pos);
|
||||
delete dc_loadWnd;
|
||||
}
|
||||
|
||||
dc_loadWnd.onTimer ()
|
||||
{
|
||||
stop();
|
||||
int pos = dualwnd.getPosition();
|
||||
if (pos > 0) updatePoppler(pos);
|
||||
playlist_enlarge_attrib.onDataChanged();
|
||||
|
||||
if (dualwnd.getPosition() > 0
|
||||
#ifdef DOHIDEMCV
|
||||
|| dualwnd.getXMlParam("from") == "left"
|
||||
#endif
|
||||
) dc_openPL.start();
|
||||
|
||||
|
||||
else wdh_pl.hide(); //hideWa2Component(PL_GUID);
|
||||
}
|
||||
|
||||
playlist_enlarge_attrib.onDataChanged ()
|
||||
{
|
||||
int pl_w = dualwnd.getPosition();
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
if (dualwnd.getXmlParam("from") == "left")
|
||||
{
|
||||
pl_w = dualwnd.getWidth() - 8;
|
||||
}
|
||||
#endif
|
||||
|
||||
int pl_x = 0 - ( pl_w + SIDESPACER ); // (-)
|
||||
|
||||
if (getData() == "1")
|
||||
{
|
||||
int sui_w = pl_x - SIDESPACER; // (-)
|
||||
|
||||
dualwnd.setXmlParam("relath", "1");
|
||||
dualwnd.setXmlParam("h", integerToString(0));
|
||||
mainframe.setXmlParam("relath", "1");
|
||||
mainframe.setXmlParam("h", integerToString(MAX_PL_H));
|
||||
|
||||
g_sui.setXmlParam("w", integerToString(sui_w-8));
|
||||
|
||||
int pos = getPrivateInt(getSkinName(), "playlist_cover_poppler", PLC_POPPLER_POS);
|
||||
if (playlist_cover_attrib.getData() == "1" && pos > 0 && getPrivateString(getSkinName(), "Component", "Media Library") != "Hidden")
|
||||
{
|
||||
g_cover.show();
|
||||
pl_dualwnd.setPosition (pos);
|
||||
}
|
||||
else
|
||||
{
|
||||
pl_dualwnd.setPosition (0);
|
||||
g_cover.hide();
|
||||
}
|
||||
|
||||
p_enlarge.hide();
|
||||
p_small.show();
|
||||
}
|
||||
else
|
||||
{
|
||||
int sui_w = 0 - SIDESPACER - SIDESPACER; // (-)
|
||||
int pc_w = pl_x - SIDESPACER; // (-)
|
||||
|
||||
g_cover.hide();
|
||||
|
||||
if (playlist_cover_attrib.getData() == "1")
|
||||
{
|
||||
int pos = pl_dualwnd.getPosition();
|
||||
if (pos > 0) setPrivateInt(getSkinName(), "playlist_cover_poppler", pos);
|
||||
}
|
||||
pl_dualwnd.setPosition (0);
|
||||
|
||||
dualwnd.setXmlParam("h", integerToString(COMP_H-3));
|
||||
dualwnd.setXmlParam("relath", "0");
|
||||
mainframe.setXmlParam("h", integerToString(COMP_H));
|
||||
mainframe.setXmlParam("relath", "0");
|
||||
|
||||
g_sui.setXmlParam("w", integerToString(sui_w));
|
||||
p_enlarge.show();
|
||||
p_small.hide();
|
||||
}
|
||||
}
|
||||
|
||||
g_playlist.onResize (int x, int y, int w, int h)
|
||||
{
|
||||
int pos = dualwnd.getPosition();
|
||||
debugString(integerToString(pos), 9);
|
||||
updateMainPoppler(min_infowidth - pos - 8);
|
||||
|
||||
if (pos > 0
|
||||
#ifdef DOHIDEMCV
|
||||
|| dualwnd.getXMlParam("from") == "left"
|
||||
#endif
|
||||
)
|
||||
{
|
||||
//setPrivateInt(getSkinName(), "pledit poppler width", dualwnd.getPosition());
|
||||
if (!wdh_pl.isVisible())
|
||||
{
|
||||
setPrivateString(getSkinName(), "Pledit_pos", "top");
|
||||
g_sui.sendAction("hide_comp", "pe", 0,0,0,0);
|
||||
|
||||
dc_openPl.start();
|
||||
}
|
||||
|
||||
if (isBig)
|
||||
{
|
||||
if (w > 189)
|
||||
{
|
||||
pe_add.show();
|
||||
pe_rem.show();
|
||||
pe_sel.show();
|
||||
pe_misc.show();
|
||||
pe_manage.show();
|
||||
}
|
||||
else if (w <= 189 && w >158)
|
||||
{
|
||||
pe_add.show();
|
||||
pe_rem.show();
|
||||
pe_sel.show();
|
||||
pe_misc.show();
|
||||
pe_manage.hide();
|
||||
}
|
||||
else if (w <= 158 && w >127)
|
||||
{
|
||||
pe_add.show();
|
||||
pe_rem.show();
|
||||
pe_sel.show();
|
||||
pe_misc.hide();
|
||||
pe_manage.hide();
|
||||
}
|
||||
else if (w <= 127 && w >96)
|
||||
{
|
||||
pe_add.show();
|
||||
pe_rem.show();
|
||||
pe_sel.hide();
|
||||
pe_misc.hide();
|
||||
pe_manage.hide();
|
||||
}
|
||||
else if (w <= 96 && w >65)
|
||||
{
|
||||
pe_add.show();
|
||||
pe_rem.hide();
|
||||
pe_sel.hide();
|
||||
pe_misc.hide();
|
||||
pe_manage.hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
pe_add.hide();
|
||||
pe_rem.hide();
|
||||
pe_sel.hide();
|
||||
pe_misc.hide();
|
||||
pe_manage.hide();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (w > 146)
|
||||
{
|
||||
pe_add.show();
|
||||
pe_rem.show();
|
||||
pe_sel.show();
|
||||
pe_misc.show();
|
||||
pe_manage.show();
|
||||
}
|
||||
else if (w <= 146 && w >122)
|
||||
{
|
||||
pe_add.show();
|
||||
pe_rem.show();
|
||||
pe_sel.show();
|
||||
pe_misc.show();
|
||||
pe_manage.hide();
|
||||
}
|
||||
else if (w <= 122 && w >98)
|
||||
{
|
||||
pe_add.show();
|
||||
pe_rem.show();
|
||||
pe_sel.show();
|
||||
pe_misc.hide();
|
||||
pe_manage.hide();
|
||||
}
|
||||
else if (w <= 98 && w >74)
|
||||
{
|
||||
pe_add.show();
|
||||
pe_rem.show();
|
||||
pe_sel.hide();
|
||||
pe_misc.hide();
|
||||
pe_manage.hide();
|
||||
}
|
||||
else if (w <= 74 && w >50)
|
||||
{
|
||||
pe_add.show();
|
||||
pe_rem.hide();
|
||||
pe_sel.hide();
|
||||
pe_misc.hide();
|
||||
pe_manage.hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
pe_add.hide();
|
||||
pe_rem.hide();
|
||||
pe_sel.hide();
|
||||
pe_misc.hide();
|
||||
pe_manage.hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
else wdh_pl.hide();
|
||||
if (playlist_enlarge_attrib.getdata() == "1")
|
||||
{
|
||||
int sui_w = - g_playlist.getWidth() - (2 * SIDESPACER) - 8;
|
||||
g_sui.setXmlParam("w", integerToString(sui_w));
|
||||
if (startup)
|
||||
{
|
||||
startup = 0;
|
||||
mainframe.setXmlParam("relath", "1");
|
||||
mainframe.setXmlParam("h", integerToString(MAX_PL_H));
|
||||
dualwnd.setXmlParam("relath", "1");
|
||||
dualwnd.setXmlParam("h", integerToString(0));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
normal.onSetVisible (Boolean onoff)
|
||||
{
|
||||
if (onoff)
|
||||
{
|
||||
playlist_enlarge_attrib.onDataChanged();
|
||||
int pos = dualwnd.getPosition();
|
||||
if (pos > 0
|
||||
#ifdef DOHIDEMCV
|
||||
|| dualwnd.getXMlParam("from") == "left"
|
||||
#endif
|
||||
)
|
||||
{
|
||||
updatePoppler(pos);
|
||||
dc_openPL.start();
|
||||
}
|
||||
else wdh_pl.hide();//hideWa2Component(PL_GUID);
|
||||
}
|
||||
}
|
||||
|
||||
normal.onUserResize (int x, int y, int w, int h)
|
||||
{
|
||||
int pos = dualwnd.getPosition();
|
||||
if (pos > 0) updatePoppler(pos);
|
||||
}
|
||||
|
||||
/** Hide pl_time if it cannot be full displayed */
|
||||
|
||||
pl_time.onResize (int x, int y, int w, int h)
|
||||
{
|
||||
if (w < getTextWidth())
|
||||
{
|
||||
hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
show();
|
||||
}
|
||||
}
|
||||
|
||||
pl_time.onTextChanged (String newtxt)
|
||||
{
|
||||
if (getWidth() < getTextWidth())
|
||||
{
|
||||
hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
show();
|
||||
}
|
||||
}
|
||||
|
||||
/** Playlist Component Handling */
|
||||
|
||||
System.onGetCancelComponent (String guid, boolean goingvisible)
|
||||
{
|
||||
if (getPrivateString(getSkinName(), "Pledit_pos", "top") == "sui")
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
debugString(DEBUG_PREFIX "System.onGetCancelComponent ( "+ guid + " , " + integerToString(goingvisible) + " )", D_WTF);
|
||||
if (guid == PL_GUID)
|
||||
{
|
||||
Boolean isShade = player.getCurLayout() != normal;
|
||||
if (goingvisible == TRUE && !isShade)
|
||||
{
|
||||
int poppler_w = getPrivateInt(getSkinName(), "pledit poppler width", 200);
|
||||
if (poppler_w < 1) poppler_w = 200;
|
||||
g_playlist.show();
|
||||
updatePoppler(poppler_w);
|
||||
dc_openPl.start();
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (dualwnd.getPosition() > 0) setPrivateInt(getSkinName(), "pledit poppler width", dualwnd.getPosition());
|
||||
wdh_pl.hide();
|
||||
dualwnd.setPosition(0);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
normal.onAction (String action, String param, Int x, int y, int p1, int p2, GuiObject source)
|
||||
{
|
||||
if (action == "load_comp" && strlower(param) == "pledit")
|
||||
{
|
||||
int poppler_w = getPrivateInt(getSkinName(), "pledit poppler width", 200);
|
||||
if (dualwnd.getPosition() > 0) poppler_w = dualwnd.getPosition();
|
||||
if (dualwnd.getPosition() == 0) poppler_w = 200;
|
||||
updatePoppler(poppler_w);
|
||||
dc_openPl.start();
|
||||
}
|
||||
if (action == "hide_comp" && strlower(param) == "pledit")
|
||||
{
|
||||
setPrivateInt(getSkinName(), "pledit poppler width", dualwnd.getPosition());
|
||||
wdh_pl.hide();
|
||||
dualwnd.setPosition(0);
|
||||
}
|
||||
if (action == "pledit_posupdate")
|
||||
{
|
||||
int pos = dualwnd.getPosition();
|
||||
if (pos > 0) updatePoppler(pos);
|
||||
}
|
||||
if (action == "sui")
|
||||
{
|
||||
if (param == "tonocomp")
|
||||
{
|
||||
if (playlist_cover_attrib.getData() == "1")
|
||||
{
|
||||
int pos = pl_dualwnd.getPosition();
|
||||
if (pos > 0) setPrivateInt(getSkinName(), "playlist_cover_poppler", pos);
|
||||
}
|
||||
bypass_nocomp = TRUE; //we need to add a bypass otherwise playlist_cover_attrib will be turned OFF
|
||||
pl_dualwnd.setPosition (0);
|
||||
g_cover.hide();
|
||||
bypass_nocomp = FALSE;
|
||||
}
|
||||
else if (param == "fromnocomp")
|
||||
{
|
||||
playlist_cover_attrib.onDataChanged ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dualwnd.onAction (String action, String param, Int x, int y, int p1, int p2, GuiObject source)
|
||||
{
|
||||
if (action == "set_maxwidth")
|
||||
{
|
||||
// update poppler for playlist/infocomp
|
||||
updatePoppler(dualwnd.getPosition());
|
||||
// update poppler bands for player/infocomp
|
||||
min_infowidth = x;
|
||||
updateMainPoppler(min_infowidth - dualwnd.getPosition() - 8);
|
||||
}
|
||||
}
|
||||
|
||||
wdh_pl.onSetVisible (Boolean onoff)
|
||||
{
|
||||
debugString("wdh_pl set visible: " + integerToString(onoff), 9);
|
||||
if (onoff)
|
||||
{
|
||||
playlist_cover_attrib.onDataChanged();
|
||||
}
|
||||
else
|
||||
{
|
||||
int pos = pl_dualwnd.getPosition();
|
||||
if (pos > 0) setPrivateInt(getSkinName(), "playlist_cover_poppler", pos);
|
||||
}
|
||||
}
|
||||
|
||||
updatePoppler(int w)
|
||||
{
|
||||
if (dualwnd.getPosition() == 0 && w == 0) return;
|
||||
int min_w = stringToInteger(dualwnd.getXmlParam("minwidth"));
|
||||
int max_w = stringToInteger(dualwnd.getXmlParam("maxwidth"));
|
||||
if (max_w < 0) max_w = dualwnd.getWidth() + max_w;
|
||||
debugString("max_w: " + integerToString(max_w), 9);
|
||||
boolean reset = FALSE;
|
||||
reset += (w == 0);
|
||||
reset += (w < min_w);
|
||||
if (reset) w = min_w;
|
||||
|
||||
// Prevent the playlist from overlapping the player
|
||||
if (w > max_w)
|
||||
{
|
||||
w = max_w;
|
||||
|
||||
// Resize the player to get more space
|
||||
if (max_w < min_w)
|
||||
{
|
||||
w = min_w;
|
||||
int mainframe_pos = mainframe.getPosition() - (min_w - max_w); // I need to save this in a variable first, otherwise mainframe.setPos will crash...
|
||||
mainframe.setPosition(mainframe_pos);
|
||||
}
|
||||
}
|
||||
debugString("set poppler: " + integerToString(w), 9);
|
||||
dualwnd.setPosition(w);
|
||||
}
|
||||
|
||||
updateMainPoppler (int w)
|
||||
{
|
||||
mainframe.setXmlparam("maxwidth", integerToString(w));
|
||||
}
|
||||
|
||||
dc_openPl.onTimer ()
|
||||
{
|
||||
dc_openPl.stop();
|
||||
debugString("dc_openPl called!", 9);
|
||||
wdh_pl.show();
|
||||
g_playlist.show();
|
||||
g_upper.show();
|
||||
//if (!wdh_pl.isVisible()) debugInt(g_playlist.getWidth());
|
||||
}
|
||||
|
||||
dc_closePl.onTimer ()
|
||||
{
|
||||
dc_closePl.stop();
|
||||
wdh_pl.hide();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------------------------------
|
||||
// Playlist Album Art Handles
|
||||
//----------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Global boolean attrib_bypass = false;
|
||||
|
||||
playlist_cover_attrib.onDataChanged ()
|
||||
{
|
||||
if (attrib_bypass)
|
||||
return;
|
||||
|
||||
if (playlist_enlarge_attrib.getData() == "0")
|
||||
return;
|
||||
|
||||
if (getData() == "1")
|
||||
{
|
||||
int pos = getPrivateInt(getSkinName(), "playlist_cover_poppler", PLC_POPPLER_POS);
|
||||
if (pos > 0 && getPrivateString(getSkinName(), "Component", "Media Library") != "Hidden")
|
||||
{
|
||||
pl_dualwnd.setPosition (pos);
|
||||
g_cover.show();
|
||||
}
|
||||
else
|
||||
{
|
||||
pl_dualwnd.setPosition (0);
|
||||
g_cover.hide();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
int pos = pl_dualwnd.getPosition();
|
||||
if (pos > 0) setPrivateInt(getSkinName(), "playlist_cover_poppler", pos);
|
||||
pl_dualwnd.setPosition(0);
|
||||
g_cover.hide();
|
||||
}
|
||||
}
|
||||
|
||||
Global Boolean bypass;
|
||||
|
||||
player.onBeforeSwitchToLayout (Layout oldlayout, Layout newlayout)
|
||||
{
|
||||
if (oldlayout == normal)
|
||||
{
|
||||
bypass = 1;
|
||||
}
|
||||
}
|
||||
|
||||
g_cover.onSetVisible (Boolean onoff)
|
||||
{
|
||||
if (bypass)
|
||||
{
|
||||
bypass = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
if (!onoff && !bypass_nocomp && playlist_cover_attrib.getdata() == "1" && getPrivateString(getSkinName(), "Component", "Media Library") != "Hidden" && playlist_enlarge_attrib.getData() == "1" && dualwnd.getPosition() > 0)
|
||||
{
|
||||
playlist_cover_attrib.setdata("0");
|
||||
}
|
||||
else if (onoff && !bypass_nocomp && playlist_cover_attrib.getdata() == "0" && dualwnd.getPosition() > 0)
|
||||
{
|
||||
attrib_bypass = true;
|
||||
playlist_cover_attrib.setdata("1");
|
||||
attrib_bypass = false;
|
||||
}
|
||||
}
|
BIN
Src/resources/skins/Bento/scripts/pledit.maki
Normal file
1
Src/resources/skins/Bento/scripts/workingdir.m
Normal file
@ -0,0 +1 @@
|
||||
//define BIG_BENTO_WORKINGDIR
|
45
Src/resources/skins/Bento/skin.xml
Normal file
@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
|
||||
<WinampAbstractionLayer version="1.35">
|
||||
<skininfo>
|
||||
<version>1.2.4</version>
|
||||
<name>Bento</name>
|
||||
<author>Martin Pöhlmann, Taber Buhl</author>
|
||||
<comment>Graphics by Taber Buhl - Wasabi Development by Ben Allison and Martin Poehlmann</comment>
|
||||
<email>martin@skinconsortium.com</email>
|
||||
<screenshot>screenshot.png</screenshot>
|
||||
<homepage>http://www.skinconsortium.com/</homepage>
|
||||
</skininfo>
|
||||
|
||||
<accelerators section="general">
|
||||
<accelerator bind="Alt+F" action="MENUHOTKEY_FILE" />
|
||||
<accelerator bind="Alt+P" action="MENUHOTKEY_PLAY" />
|
||||
<accelerator bind="Alt+O" action="MENUHOTKEY_OPTIONS" />
|
||||
<accelerator bind="Alt+I" action="MENUHOTKEY_VIEW" />
|
||||
<accelerator bind="Alt+H" action="MENUHOTKEY_HELP" />
|
||||
</accelerators>
|
||||
|
||||
<accelerators section="normal">
|
||||
<accelerator bind="space" action="SHOW_CURRENT_TRACK" />
|
||||
</accelerators>
|
||||
|
||||
<!-- This Skin uses shared Graphics, XML and Maki from 'Big Bento' -->
|
||||
|
||||
<scripts>
|
||||
<script file="../Big Bento/scripts/loadattribs.maki" param="small"/> <!-- Must be loaded at first -->
|
||||
</scripts>
|
||||
|
||||
<include file="../Big Bento/xml/color-presets.xml"/>
|
||||
<include file="../Big Bento/xml/system-colors.xml"/>
|
||||
<include file="../Big Bento/xml/system-elements.xml"/>
|
||||
<include file="xml/standardframe.xml" />
|
||||
<include file="../Big Bento/xml/window-overrides.xml"/>
|
||||
<include file="xml/player.xml"/>
|
||||
<include file="xml/notifier.xml"/>
|
||||
<include file="../Big Bento/about/about.xml"/>
|
||||
|
||||
<scripts>
|
||||
<script file="../Big Bento/scripts/maximize.maki" param="130,18"/>
|
||||
</scripts>
|
||||
|
||||
</WinampAbstractionLayer>
|
BIN
Src/resources/skins/Bento/window/aol_radio_alb_art.jpg
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
Src/resources/skins/Bento/window/config.png
Normal file
After Width: | Height: | Size: 8.2 KiB |
BIN
Src/resources/skins/Bento/window/controls.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
Src/resources/skins/Bento/window/equalizer.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
Src/resources/skins/Bento/window/menu_file.png
Normal file
After Width: | Height: | Size: 144 B |
BIN
Src/resources/skins/Bento/window/menu_help.png
Normal file
After Width: | Height: | Size: 149 B |
BIN
Src/resources/skins/Bento/window/menu_options.png
Normal file
After Width: | Height: | Size: 167 B |
BIN
Src/resources/skins/Bento/window/menu_play.png
Normal file
After Width: | Height: | Size: 145 B |
BIN
Src/resources/skins/Bento/window/menu_view.png
Normal file
After Width: | Height: | Size: 155 B |
BIN
Src/resources/skins/Bento/window/numfont.png
Normal file
After Width: | Height: | Size: 8.5 KiB |
BIN
Src/resources/skins/Bento/window/player.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
Src/resources/skins/Bento/window/sc_alb_art.jpg
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
Src/resources/skins/Bento/window/scrollbars.png
Normal file
After Width: | Height: | Size: 830 B |
BIN
Src/resources/skins/Bento/window/shade.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
Src/resources/skins/Bento/window/sui.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
Src/resources/skins/Bento/window/sui2.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
Src/resources/skins/Bento/window/window-elements.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
Src/resources/skins/Bento/window/window.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
597
Src/resources/skins/Bento/xml/config.xml
Normal file
@ -0,0 +1,597 @@
|
||||
<groupdef id="info.component.config">
|
||||
|
||||
<!-- config page target -->
|
||||
<GroupXFade speed="0.5" x="75" y="1" w="-75" h="0" relatw="1" relath="1" id="skin.config.target" move="1"/>
|
||||
|
||||
<!-- config menu -->
|
||||
<componentbucket id="my.bucket" x="0" y="1" w="72" h="90" spacing="0" leftmargin="0" rightmargin="0" vertical="1" wndtype="skin.config" />
|
||||
<layer x="73" y="0" image="config.vdivider" move="0"/>
|
||||
|
||||
<script file="../Big Bento/scripts/configtarget.maki" />
|
||||
</groupdef>
|
||||
|
||||
<!-- config menu items -->
|
||||
|
||||
<groupdef id="bucket.entry.0" windowtype="skin.config" w="72" h="14">
|
||||
<togglebutton
|
||||
id="btn"
|
||||
action="switchto;optionsgroup.appearance" action_target="skin.config.target"
|
||||
fitparent="1" rectrgn="1"
|
||||
hoverImage="config.button.hover"
|
||||
downImage="config.button.selected"
|
||||
activeImage="config.button.selected"
|
||||
/>
|
||||
<layer x="0" y="0" image="config.button.text.appearance" ghost="1"/>
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="bucket.entry.1" windowtype="skin.config" w="98" h="18">
|
||||
<togglebutton
|
||||
id="btn"
|
||||
action="switchto;optionsgroup.songticker" action_target="skin.config.target"
|
||||
fitparent="1" rectrgn="1"
|
||||
hoverImage="config.button.hover"
|
||||
downImage="config.button.selected"
|
||||
activeImage="config.button.selected"
|
||||
/>
|
||||
<layer x="0" y="0" image="config.button.text.songticker" ghost="1"/>
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="bucket.entry.2" windowtype="skin.config" w="98" h="18">
|
||||
<togglebutton
|
||||
id="btn"
|
||||
action="switchto;optionsgroup.autoresize" action_target="skin.config.target"
|
||||
fitparent="1" rectrgn="1"
|
||||
hoverImage="config.button.hover"
|
||||
downImage="config.button.selected"
|
||||
activeImage="config.button.selected"
|
||||
/>
|
||||
<layer x="0" y="0" image="config.button.text.windowsizing" ghost="1"/>
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="bucket.entry.3" windowtype="skin.config" w="98" h="18">
|
||||
<togglebutton
|
||||
id="btn"
|
||||
action="switchto;optionsgroup.notifier" action_target="skin.config.target"
|
||||
fitparent="1" rectrgn="1"
|
||||
hoverImage="config.button.hover"
|
||||
downImage="config.button.selected"
|
||||
activeImage="config.button.selected"
|
||||
/>
|
||||
<layer x="0" y="0" image="config.button.text.notifier" ghost="1"/>
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="bucket.entry.4" windowtype="skin.config" w="98" h="18">
|
||||
<togglebutton
|
||||
id="btn"
|
||||
action="switchto;optionsgroup.visualization" action_target="skin.config.target"
|
||||
fitparent="1" rectrgn="1"
|
||||
hoverImage="config.button.hover"
|
||||
downImage="config.button.selected"
|
||||
activeImage="config.button.selected"
|
||||
/>
|
||||
<layer x="0" y="0" image="config.button.text.visualization" ghost="1"/>
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="bucket.entry.5" windowtype="skin.config" w="98" h="18">
|
||||
<togglebutton
|
||||
id="btn"
|
||||
action="switchto;optionsgroup.cthemes" action_target="skin.config.target"
|
||||
fitparent="1" rectrgn="1"
|
||||
hoverImage="config.button.hover"
|
||||
downImage="config.button.selected"
|
||||
activeImage="config.button.selected"
|
||||
/>
|
||||
<layer x="0" y="0" image="config.button.text.colorthemes" ghost="1"/>
|
||||
</groupdef>
|
||||
|
||||
|
||||
<!-- config menu pages -->
|
||||
|
||||
<groupdef id="optionsgroup.autoresize" h="91" w="209">
|
||||
|
||||
<togglebutton x="-2" y="14" h="12" w="208" rectrgn="1"
|
||||
hoverImage="config.windowsizing.autoresize.hover"
|
||||
cfgattrib="{0542AFA4-48D9-4c9f-8900-5739D52C114F};Prevent video resize"
|
||||
/>
|
||||
<togglebutton x="1" y="14" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{0542AFA4-48D9-4c9f-8900-5739D52C114F};Prevent video resize" />
|
||||
|
||||
<togglebutton x="-2" y="0" h="12" w="208" rectrgn="1"
|
||||
hoverImage="config.windowsizing.autoresize.hover"
|
||||
cfgattrib="{E704AB5A-108E-4309-B54B-43EBA5C0C3AA};Autoresize Main Window if maximized"
|
||||
/>
|
||||
<togglebutton x="1" y="0" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{E704AB5A-108E-4309-B54B-43EBA5C0C3AA};Autoresize Main Window if maximized" />
|
||||
|
||||
<togglebutton x="-2" y="28" h="12" w="208" rectrgn="1"
|
||||
hoverImage="config.windowsizing.autoresize.hover"
|
||||
cfgattrib="{E704AB5A-108E-4309-B54B-43EBA5C0C3AA};Link shade and player width"
|
||||
/>
|
||||
<togglebutton x="1" y="28" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{E704AB5A-108E-4309-B54B-43EBA5C0C3AA};Link shade and player width" />
|
||||
|
||||
|
||||
<layer x="1" y="45" image="config.windowsizing.titlebar.text" ghost="1" />
|
||||
|
||||
<togglebutton x="-2" y="59" h="12" w="74" rectrgn="1"
|
||||
hoverImage="config.windowsizing.titlebar.maximize.hover"
|
||||
cfgattrib="{E704AB5A-108E-4309-B54B-43EBA5C0C3AA};Maximize Window on Titlebar Doubleclick"
|
||||
/>
|
||||
<togglebutton x="1" y="59" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{E704AB5A-108E-4309-B54B-43EBA5C0C3AA};Maximize Window on Titlebar Doubleclick" />
|
||||
|
||||
<togglebutton x="67" y="59" h="12" w="129" rectrgn="1"
|
||||
hoverImage="config.windowsizing.titlebar.shade.hover"
|
||||
cfgattrib="{E704AB5A-108E-4309-B54B-43EBA5C0C3AA};Switch to Shade on Titlebar Doubleclick"
|
||||
/>
|
||||
<togglebutton x="70" y="59" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{E704AB5A-108E-4309-B54B-43EBA5C0C3AA};Switch to Shade on Titlebar Doubleclick" />
|
||||
|
||||
<layer x="1" y="0" image="config.windowsizing.text" ghost="1" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="optionsgroup.songticker" h="91" w="159">
|
||||
|
||||
<togglebutton x="-2" y="0" h="12" w="214" rectrgn="1"
|
||||
hoverImage="config.songticker.scroll.hover"
|
||||
cfgattrib="{7061FDE0-0E12-11D8-BB41-0050DA442EF4};Disable Songticker Scrolling"
|
||||
/>
|
||||
<togglebutton x="1" y="0" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{7061FDE0-0E12-11D8-BB41-0050DA442EF4};Disable Songticker Scrolling" />
|
||||
|
||||
<togglebutton x="-2" y="14" h="12" w="214" rectrgn="1"
|
||||
hoverImage="config.songticker.scroll.hover"
|
||||
cfgattrib="{7061FDE0-0E12-11D8-BB41-0050DA442EF4};Modern Songticker Scrolling"
|
||||
/>
|
||||
<togglebutton x="1" y="14" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{7061FDE0-0E12-11D8-BB41-0050DA442EF4};Modern Songticker Scrolling" />
|
||||
|
||||
<togglebutton x="-2" y="28" h="12" w="214" rectrgn="1"
|
||||
hoverImage="config.songticker.scroll.hover"
|
||||
cfgattrib="{7061FDE0-0E12-11D8-BB41-0050DA442EF4};Classic Songticker Scrolling"
|
||||
/>
|
||||
<togglebutton x="1" y="28" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{7061FDE0-0E12-11D8-BB41-0050DA442EF4};Classic Songticker Scrolling" />
|
||||
|
||||
<layer x="1" y="0" image="config.songticker.text" ghost="1" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="optionsgroup.cthemes" h="91" w="159">
|
||||
|
||||
<ColorThemes:List
|
||||
id="colorthemes"
|
||||
x="0" y="0"
|
||||
w="0" h="75" relatw="1"
|
||||
nohscroll="1"
|
||||
nocolheader="1"
|
||||
visible="0"
|
||||
antialias="0"
|
||||
fontsize="13"
|
||||
/>
|
||||
|
||||
<button id="colorthemes.prev"
|
||||
action="colorthemes_previous"
|
||||
action_target="colorthemes"
|
||||
x="0" h="13" w="25" y="76"
|
||||
image="config.colorthemes.button.prev.normal"
|
||||
hoverImage="config.colorthemes.button.prev.hover"
|
||||
downImage="config.colorthemes.button.prev.down"
|
||||
tooltip="Previous ColorTheme"
|
||||
/>
|
||||
|
||||
<button id="colorthemes.switch"
|
||||
action="colorthemes_switch"
|
||||
action_target="colorthemes"
|
||||
x="24" h="13" w="31" y="76"
|
||||
image="config.colorthemes.button.set.normal"
|
||||
hoverImage="config.colorthemes.button.set.hover"
|
||||
downImage="config.colorthemes.button.set.down"
|
||||
tooltip="Switch to selected ColorTheme"
|
||||
/>
|
||||
|
||||
<button id="colorthemes.next"
|
||||
action="colorthemes_next"
|
||||
action_target="colorthemes"
|
||||
x="54" h="13" w="25" y="76"
|
||||
image="config.colorthemes.button.next.normal"
|
||||
hoverImage="config.colorthemes.button.next.hover"
|
||||
downImage="config.colorthemes.button.next.down"
|
||||
tooltip="Next ColorTheme"
|
||||
/>
|
||||
|
||||
<button id="colorthemes.more"
|
||||
x="78" h="13" w="31" y="76"
|
||||
image="config.colorthemes.button.more.normal"
|
||||
hoverImage="config.colorthemes.button.more.hover"
|
||||
downImage="config.colorthemes.button.more.down"
|
||||
tooltip="Download more ColorThemes"
|
||||
/>
|
||||
|
||||
<script file="../Big Bento/scripts/colorthemes.maki" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="optionsgroup.appearance" h="91" w="209">
|
||||
|
||||
<togglebutton x="-2" y="0" h="12" w="194" rectrgn="1"
|
||||
hoverImage="config.songticker.scroll.hover"
|
||||
cfgattrib="{F1036C9C-3919-47ac-8494-366778CF10F9};Show Main Window Menu"
|
||||
/>
|
||||
<togglebutton x="1" y="0" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{F1036C9C-3919-47ac-8494-366778CF10F9};Show Main Window Menu" />
|
||||
|
||||
<togglebutton x="-2" y="14" h="12" w="194" rectrgn="1"
|
||||
hoverImage="config.songticker.scroll.hover"
|
||||
cfgattrib="{F1036C9C-3919-47ac-8494-366778CF10F9};Show Visualizer Reflection"
|
||||
/>
|
||||
<togglebutton x="1" y="14" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{F1036C9C-3919-47ac-8494-366778CF10F9};Show Visualizer Reflection" />
|
||||
|
||||
<togglebutton x="-2" y="28" h="12" w="194" rectrgn="1"
|
||||
hoverImage="config.songticker.scroll.hover"
|
||||
cfgattrib="{F1036C9C-3919-47ac-8494-366778CF10F9};Show Timer Reflection"
|
||||
/>
|
||||
<togglebutton x="1" y="28" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{F1036C9C-3919-47ac-8494-366778CF10F9};Show Timer Reflection" />
|
||||
|
||||
<togglebutton x="-2" y="42" h="12" w="194" rectrgn="1"
|
||||
hoverImage="config.songticker.scroll.hover"
|
||||
cfgattrib="{F1036C9C-3919-47ac-8494-366778CF10F9};Enable Beat Visualization"
|
||||
/>
|
||||
<togglebutton x="1" y="42" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{F1036C9C-3919-47ac-8494-366778CF10F9};Enable Beat Visualization" />
|
||||
|
||||
<togglebutton x="-2" y="60" h="12" w="194" rectrgn="1"
|
||||
hoverImage="config.notifier.sub.hover"
|
||||
cfgattrib="{F1036C9C-3919-47ac-8494-366778CF10F9};Switch to Bento with Big Buttons"
|
||||
/>
|
||||
|
||||
<button
|
||||
action="switchto;optionsgroup.appearance.2;subpage" action_target="skin.config.target"
|
||||
x="0" y="76"
|
||||
image="config.colorthemes.button.prev.normal"
|
||||
hoverImage="config.colorthemes.button.prev.hover"
|
||||
downImage="config.colorthemes.button.prev.down"
|
||||
tooltip="Previous Configpage"
|
||||
/>
|
||||
|
||||
<button
|
||||
action="switchto;optionsgroup.appearance.2;subpage" action_target="skin.config.target"
|
||||
x="24" y="76"
|
||||
image="config.colorthemes.button.next.normal"
|
||||
hoverImage="config.colorthemes.button.next.hover"
|
||||
downImage="config.colorthemes.button.next.down"
|
||||
tooltip="Next Configpage"
|
||||
/>
|
||||
|
||||
<layer x="1" y="0" image="config.appearance.text" ghost="1" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="optionsgroup.appearance.2" >
|
||||
|
||||
<!--does anyone know why this is still visible?-->
|
||||
<!-- <togglebutton x="-2" y="0" h="12" w="194" rectrgn="1"
|
||||
hoverImage="config.songticker.scroll.hover"
|
||||
cfgattrib="{F1036C9C-3919-47ac-8494-366778CF10F9};Show Artist-Information Buttons"
|
||||
/>
|
||||
<togglebutton x="1" y="0" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{F1036C9C-3919-47ac-8494-366778CF10F9};Show Artist-Information Buttons" />
|
||||
-->
|
||||
<togglebutton x="-2" y="14" h="12" w="194" rectrgn="1"
|
||||
hoverImage="config.songticker.scroll.hover"
|
||||
cfgattrib="{F1036C9C-3919-47ac-8494-366778CF10F9};Show Playlist Tab"
|
||||
/>
|
||||
<togglebutton x="1" y="14" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{F1036C9C-3919-47ac-8494-366778CF10F9};Show Playlist Tab" />
|
||||
|
||||
<button
|
||||
action="switchto;optionsgroup.appearance;subpage" action_target="skin.config.target"
|
||||
x="0" y="76"
|
||||
image="config.colorthemes.button.prev.normal"
|
||||
hoverImage="config.colorthemes.button.prev.hover"
|
||||
downImage="config.colorthemes.button.prev.down"
|
||||
tooltip="Previous Configpage"
|
||||
/>
|
||||
|
||||
<button
|
||||
action="switchto;optionsgroup.appearance;subpage" action_target="skin.config.target"
|
||||
x="24" y="76"
|
||||
image="config.colorthemes.button.next.normal"
|
||||
hoverImage="config.colorthemes.button.next.hover"
|
||||
downImage="config.colorthemes.button.next.down"
|
||||
tooltip="Next Configpage"
|
||||
/>
|
||||
|
||||
<layer x="1" y="0" image="config.appearance.2.text" ghost="1" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="optionsgroup.notifier" h="91" w="159">
|
||||
|
||||
<button id="holdtime.decrease"
|
||||
x="67" y="42" h="12" w="8" rectrgn="1"
|
||||
image="config.button.left.normal"
|
||||
hoverImage="config.button.left.hover"
|
||||
downImage="config.button.left.down"
|
||||
/>
|
||||
<text id="holdtime.text"
|
||||
x="72" y="42" w="40" h="12"
|
||||
text=""
|
||||
font="config.bitmapfont"
|
||||
align="center"
|
||||
/>
|
||||
<button id="holdtime.increase"
|
||||
x="114" y="42" h="12" w="8" rectrgn="1"
|
||||
image="config.button.right.normal"
|
||||
hoverImage="config.button.right.hover"
|
||||
downImage="config.button.right.down"
|
||||
/>
|
||||
<script file="../Big Bento/scripts/timecontrol.maki" param="holdtime.text;holdtime.decrease;holdtime.increase|{E9C2D926-53CA-400f-9A4D-85E31755A4CF};Notifications display time|100|10000|0.001|a"/>
|
||||
|
||||
<button
|
||||
action="switchto;optionsgroup.notifier.show;subpage" action_target="skin.config.target"
|
||||
x="1" y="0" h="12" w="208" rectrgn="1"
|
||||
hoverImage="config.notifier.sub.hover"
|
||||
/>
|
||||
<layer id="notifier.show" x="72" y="0" image="config.notifier.text.always" ghost="1"/>
|
||||
<script file="../Big Bento/scripts/imagecontrol.maki" param="notifier.show|4|{1AB968B3-8687-4a35-BA70-FCF6D92FB57F};Show always;config.notifier.text.always|{1AB968B3-8687-4a35-BA70-FCF6D92FB57F};Show with windowshade and when minimized;config.notifier.text.shade_minimized|{1AB968B3-8687-4a35-BA70-FCF6D92FB57F};Show only when minimized;config.notifier.text.minimized|{1AB968B3-8687-4a35-BA70-FCF6D92FB57F};Never show;config.notifier.text.never" />
|
||||
|
||||
<button
|
||||
action="switchto;optionsgroup.notifier.location;subpage" action_target="skin.config.target"
|
||||
x="1" y="14" h="12" w="208" rectrgn="1"
|
||||
hoverImage="config.notifier.sub.hover"
|
||||
/>
|
||||
<layer id="notifier.location" x="49" y="14" image="config.notifier.text.bottomright" ghost="1"/>
|
||||
<script file="../Big Bento/scripts/imagecontrol.maki" param="notifier.location|6|{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Top Left;config.notifier.text.topleft|{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Top Center;config.notifier.text.topcenter|{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Top Right;config.notifier.text.topright|{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Bottom Left;config.notifier.text.bottomleft|{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Bottom Center;config.notifier.text.bottomcenter|{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Bottom Right;config.notifier.text.bottomright" />
|
||||
|
||||
<button
|
||||
action="switchto;optionsgroup.notifier.animation.fadein;subpage" action_target="skin.config.target"
|
||||
x="1" y="28" h="12" w="208" rectrgn="1"
|
||||
hoverImage="config.notifier.sub.hover"
|
||||
/>
|
||||
<layer id="notifier.fadein" x="92" y="28" image="config.notifier.text.alphafade" ghost="1"/>
|
||||
<script file="../Big Bento/scripts/imagecontrol.maki" param="notifier.fadein|3|{D9891A39-7A38-45d8-9D51-A08F7270C836};Alpha Fade;config.notifier.text.alphafade|{D9891A39-7A38-45d8-9D51-A08F7270C836};Vertical Slide;config.notifier.text.vslide|{D9891A39-7A38-45d8-9D51-A08F7270C836};Horizontal Slide;config.notifier.text.hslide" />
|
||||
|
||||
<button
|
||||
action="switchto;optionsgroup.notifier.animation.fadeout;subpage" action_target="skin.config.target"
|
||||
x="1" y="56" h="12" w="208" rectrgn="1"
|
||||
hoverImage="config.notifier.sub.hover"
|
||||
/>
|
||||
<layer id="notifier.fadeout" x="99" y="56" image="config.notifier.text.alphafade" ghost="1"/>
|
||||
<script file="../Big Bento/scripts/imagecontrol.maki" param="notifier.fadeout|3|{560EAE41-1379-4927-AC55-FB5F4D47C9B8};Alpha Fade ;config.notifier.text.alphafade|{560EAE41-1379-4927-AC55-FB5F4D47C9B8};Vertical Slide ;config.notifier.text.vslide|{560EAE41-1379-4927-AC55-FB5F4D47C9B8};Horizontal Slide ;config.notifier.text.hslide" />
|
||||
|
||||
<layer x="1" y="0" image="config.notifier.text" ghost="1" />
|
||||
</groupdef>
|
||||
|
||||
<!-- notifier -->
|
||||
|
||||
<groupdef id="optionsgroup.notifier.show" h="91" w="209">
|
||||
|
||||
<togglebutton x="-2" y="0" h="12" w="199" rectrgn="1"
|
||||
hoverImage="config.notifier.show.hover"
|
||||
cfgattrib="{1AB968B3-8687-4a35-BA70-FCF6D92FB57F};Show always"
|
||||
/>
|
||||
<togglebutton x="1" y="0" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{1AB968B3-8687-4a35-BA70-FCF6D92FB57F};Show always" />
|
||||
|
||||
<togglebutton x="-2" y="14" h="12" w="199" rectrgn="1"
|
||||
hoverImage="config.notifier.show.hover"
|
||||
cfgattrib="{1AB968B3-8687-4a35-BA70-FCF6D92FB57F};Show with windowshade and when minimized"
|
||||
/>
|
||||
<togglebutton x="1" y="14" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{1AB968B3-8687-4a35-BA70-FCF6D92FB57F};Show with windowshade and when minimized" />
|
||||
|
||||
<togglebutton x="-2" y="28" h="12" w="199" rectrgn="1"
|
||||
hoverImage="config.notifier.show.hover"
|
||||
cfgattrib="{1AB968B3-8687-4a35-BA70-FCF6D92FB57F};Show only when minimized"
|
||||
/>
|
||||
<togglebutton x="1" y="28" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{1AB968B3-8687-4a35-BA70-FCF6D92FB57F};Show only when minimized" />
|
||||
|
||||
<togglebutton x="-2" y="42" h="12" w="199" rectrgn="1"
|
||||
hoverImage="config.notifier.show.hover"
|
||||
cfgattrib="{1AB968B3-8687-4a35-BA70-FCF6D92FB57F};Never show"
|
||||
/>
|
||||
<togglebutton x="1" y="42" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{1AB968B3-8687-4a35-BA70-FCF6D92FB57F};Never show" />
|
||||
|
||||
<togglebutton x="-2" y="60" h="12" w="199" rectrgn="1"
|
||||
hoverImage="config.notifier.show.hover"
|
||||
cfgattrib="{1AB968B3-8687-4a35-BA70-FCF6D92FB57F};Disable in fullscreen"
|
||||
/>
|
||||
<togglebutton x="1" y="60" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{1AB968B3-8687-4a35-BA70-FCF6D92FB57F};Disable in fullscreen" />
|
||||
|
||||
<button
|
||||
action="switchto;optionsgroup.notifier;subpage" action_target="skin.config.target"
|
||||
x="0" h="13" w="25" y="76"
|
||||
image="config.colorthemes.button.prev.normal"
|
||||
hoverImage="config.colorthemes.button.prev.hover"
|
||||
downImage="config.colorthemes.button.prev.down"
|
||||
tooltip="Previous Configpage"
|
||||
/>
|
||||
|
||||
<layer x="1" y="0" image="config.notifier.show.text" ghost="1" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="optionsgroup.notifier.location" h="91" w="209">
|
||||
|
||||
<togglebutton x="-1" y="0" h="12" w="80" rectrgn="1"
|
||||
hoverImage="config.notifier.location.top.hover"
|
||||
cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Top Left"
|
||||
/>
|
||||
<togglebutton x="1" y="0" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Top Left" />
|
||||
|
||||
<togglebutton x="-1" y="14" h="12" w="80" rectrgn="1"
|
||||
hoverImage="config.notifier.location.top.hover"
|
||||
cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Top Center"
|
||||
/>
|
||||
<togglebutton x="1" y="14" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Top Center" />
|
||||
|
||||
<togglebutton x="-1" y="28" h="12" w="80" rectrgn="1"
|
||||
hoverImage="config.notifier.location.top.hover"
|
||||
cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Top Right"
|
||||
/>
|
||||
<togglebutton x="1" y="28" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Top Right" />
|
||||
|
||||
|
||||
<togglebutton x="75" y="0" h="12" w="111" rectrgn="1"
|
||||
hoverImage="config.notifier.location.bottom.hover"
|
||||
cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Bottom Left"
|
||||
/>
|
||||
<togglebutton x="77" y="0" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Bottom Left" />
|
||||
|
||||
<togglebutton x="75" y="14" h="12" w="111" rectrgn="1"
|
||||
hoverImage="config.notifier.location.bottom.hover"
|
||||
cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Bottom Center"
|
||||
/>
|
||||
<togglebutton x="77" y="14" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Bottom Center" />
|
||||
|
||||
<togglebutton x="75" y="28" h="12" w="111" rectrgn="1"
|
||||
hoverImage="config.notifier.location.bottom.hover"
|
||||
cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Bottom Right"
|
||||
/>
|
||||
<togglebutton x="77" y="28" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Bottom Right" />
|
||||
|
||||
|
||||
<togglebutton x="-2" y="46" h="12" w="156" rectrgn="1"
|
||||
hoverImage="config.notifier.location.relative.hover"
|
||||
cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Relative to Viewport"
|
||||
/>
|
||||
<togglebutton x="1" y="46" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Relative to Viewport" />
|
||||
|
||||
<togglebutton x="-2" y="60" h="12" w="156" rectrgn="1"
|
||||
hoverImage="config.notifier.location.relative.hover"
|
||||
cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Relative to Monitor"
|
||||
/>
|
||||
<togglebutton x="1" y="60" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97};Relative to Monitor" />
|
||||
|
||||
<button
|
||||
action="switchto;optionsgroup.notifier;subpage" action_target="skin.config.target"
|
||||
x="0" h="13" w="25" y="76"
|
||||
image="config.colorthemes.button.prev.normal"
|
||||
hoverImage="config.colorthemes.button.prev.hover"
|
||||
downImage="config.colorthemes.button.prev.down"
|
||||
tooltip="Previous Configpage"
|
||||
/>
|
||||
|
||||
<layer x="1" y="0" image="config.notifier.location.text" ghost="1" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="optionsgroup.notifier.animation.fadein" h="91" w="209">
|
||||
|
||||
<togglebutton x="-1" y="0" h="12" w="113" rectrgn="1"
|
||||
hoverImage="config.notifier.animation.hover"
|
||||
cfgattrib="{D9891A39-7A38-45d8-9D51-A08F7270C836};Alpha Fade"
|
||||
/>
|
||||
<togglebutton x="1" y="0" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{D9891A39-7A38-45d8-9D51-A08F7270C836};Alpha Fade" />
|
||||
|
||||
<togglebutton x="-1" y="14" h="12" w="113" rectrgn="1"
|
||||
hoverImage="config.notifier.animation.hover"
|
||||
cfgattrib="{D9891A39-7A38-45d8-9D51-A08F7270C836};Vertical Slide"
|
||||
/>
|
||||
<togglebutton x="1" y="14" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{D9891A39-7A38-45d8-9D51-A08F7270C836};Vertical Slide" />
|
||||
|
||||
<togglebutton x="-1" y="28" h="12" w="113" rectrgn="1"
|
||||
hoverImage="config.notifier.animation.hover"
|
||||
cfgattrib="{D9891A39-7A38-45d8-9D51-A08F7270C836};Horizontal Slide"
|
||||
/>
|
||||
<togglebutton x="1" y="28" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{D9891A39-7A38-45d8-9D51-A08F7270C836};Horizontal Slide" />
|
||||
|
||||
<button id="fdin.decrease"
|
||||
x="91" y="46" h="12" w="8" rectrgn="1"
|
||||
image="config.button.left.normal"
|
||||
hoverImage="config.button.left.hover"
|
||||
downImage="config.button.left.down"
|
||||
/>
|
||||
<text id="fdin.text"
|
||||
x="96" y="46" w="40" h="12"
|
||||
text=""
|
||||
font="config.bitmapfont"
|
||||
align="center"
|
||||
/>
|
||||
<button id="fdin.increase"
|
||||
x="138" y="46" h="12" w="8" rectrgn="1"
|
||||
image="config.button.right.normal"
|
||||
hoverImage="config.button.right.hover"
|
||||
downImage="config.button.right.down"
|
||||
/>
|
||||
<script file="../Big Bento/scripts/timecontrol.maki" param="fdin.text;fdin.decrease;fdin.increase|{E9C2D926-53CA-400f-9A4D-85E31755A4CF};Notifications fade in time|100|10000|0.001|a"/>
|
||||
|
||||
|
||||
<button
|
||||
action="switchto;optionsgroup.notifier;subpage" action_target="skin.config.target"
|
||||
x="0" h="13" w="25" y="76"
|
||||
image="config.colorthemes.button.prev.normal"
|
||||
hoverImage="config.colorthemes.button.prev.hover"
|
||||
downImage="config.colorthemes.button.prev.down"
|
||||
tooltip="Previous Configpage"
|
||||
/>
|
||||
|
||||
<layer x="1" y="0" image="config.notifier.animation.text" ghost="1" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="optionsgroup.notifier.animation.fadeout" h="91" w="209">
|
||||
|
||||
<togglebutton x="-1" y="0" h="12" w="113" rectrgn="1"
|
||||
hoverImage="config.notifier.animation.hover"
|
||||
cfgattrib="{560EAE41-1379-4927-AC55-FB5F4D47C9B8};Alpha Fade "
|
||||
/>
|
||||
<togglebutton x="1" y="0" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{560EAE41-1379-4927-AC55-FB5F4D47C9B8};Alpha Fade " />
|
||||
|
||||
<togglebutton x="-1" y="14" h="12" w="113" rectrgn="1"
|
||||
hoverImage="config.notifier.animation.hover"
|
||||
cfgattrib="{560EAE41-1379-4927-AC55-FB5F4D47C9B8};Vertical Slide "
|
||||
/>
|
||||
<togglebutton x="1" y="14" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{560EAE41-1379-4927-AC55-FB5F4D47C9B8};Vertical Slide " />
|
||||
|
||||
<togglebutton x="-1" y="28" h="12" w="113" rectrgn="1"
|
||||
hoverImage="config.notifier.animation.hover"
|
||||
cfgattrib="{560EAE41-1379-4927-AC55-FB5F4D47C9B8};Horizontal Slide "
|
||||
/>
|
||||
<togglebutton x="1" y="28" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{560EAE41-1379-4927-AC55-FB5F4D47C9B8};Horizontal Slide " />
|
||||
|
||||
<button id="fdout.decrease"
|
||||
x="91" y="46" h="12" w="8" rectrgn="1"
|
||||
image="config.button.left.normal"
|
||||
hoverImage="config.button.left.hover"
|
||||
downImage="config.button.left.down"
|
||||
/>
|
||||
<text id="fdout.text"
|
||||
x="96" y="46" w="40" h="12"
|
||||
text=""
|
||||
font="config.bitmapfont"
|
||||
align="center"
|
||||
/>
|
||||
<button id="fdout.increase"
|
||||
x="138" y="46" h="12" w="8" rectrgn="1"
|
||||
image="config.button.right.normal"
|
||||
hoverImage="config.button.right.hover"
|
||||
downImage="config.button.right.down"
|
||||
/>
|
||||
<script file="../Big Bento/scripts/timecontrol.maki" param="fdout.text;fdout.decrease;fdout.increase|{E9C2D926-53CA-400f-9A4D-85E31755A4CF};Notifications fade out time|100|10000|0.001|a"/>
|
||||
|
||||
|
||||
<button
|
||||
action="switchto;optionsgroup.notifier;subpage" action_target="skin.config.target"
|
||||
x="0" h="13" w="25" y="76"
|
||||
image="config.colorthemes.button.prev.normal"
|
||||
hoverImage="config.colorthemes.button.prev.hover"
|
||||
downImage="config.colorthemes.button.prev.down"
|
||||
tooltip="Previous Configpage"
|
||||
/>
|
||||
|
||||
<layer x="1" y="0" image="config.notifier.animation.text" ghost="1" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="optionsgroup.visualization" h="91" w="159">
|
||||
|
||||
<togglebutton x="-1" y="14" h="12" w="208" rectrgn="1"
|
||||
hoverImage="config.windowsizing.autoresize.hover"
|
||||
cfgattrib="{090B63DE-FD24-4528-ABE5-A522615E8AE9};Open in Big Component View"
|
||||
/>
|
||||
<togglebutton x="1" y="14" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{090B63DE-FD24-4528-ABE5-A522615E8AE9};Open in Big Component View" />
|
||||
|
||||
<togglebutton x="-1" y="28" h="12" w="208" rectrgn="1"
|
||||
hoverImage="config.windowsizing.autoresize.hover"
|
||||
cfgattrib="{090B63DE-FD24-4528-ABE5-A522615E8AE9};Open in Multi Content View (stretched)"
|
||||
/>
|
||||
<togglebutton x="1" y="28" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{090B63DE-FD24-4528-ABE5-A522615E8AE9};Open in Multi Content View (stretched)" />
|
||||
|
||||
<togglebutton x="-1" y="42" h="12" w="208" rectrgn="1"
|
||||
hoverImage="config.windowsizing.autoresize.hover"
|
||||
cfgattrib="{090B63DE-FD24-4528-ABE5-A522615E8AE9};Open in Multi Content View (mini)"
|
||||
/>
|
||||
<togglebutton x="1" y="42" image="config.checkbox.inactive" activeImage="config.checkbox.active" ghost="1" cfgattrib="{090B63DE-FD24-4528-ABE5-A522615E8AE9};Open in Multi Content View (mini)" />
|
||||
|
||||
<layer x="1" y="0" image="config.visualization.text" ghost="1" />
|
||||
|
||||
</groupdef>
|
22
Src/resources/skins/Bento/xml/notifier-elements.xml
Normal file
@ -0,0 +1,22 @@
|
||||
<elements>
|
||||
|
||||
<bitmap id="notifier.bg.left" file="../Big Bento/window/notifier.png" x="0" y="0" w="13" h="80" gammagroup="NotifierBackground"/>
|
||||
<bitmap id="notifier.bg.center" file="../Big Bento/window/notifier.png" x="13" y="0" w="133" h="80" gammagroup="NotifierBackground"/>
|
||||
<bitmap id="notifier.bg.right" file="../Big Bento/window/notifier.png" x="146" y="0" w="13" h="80" gammagroup="NotifierBackground"/>
|
||||
|
||||
<bitmap id="notifier.bg.left.da" file="../Big Bento/window/notifier.png" x="0" y="80" w="13" h="80" gammagroup="NotifierBackground"/>
|
||||
<bitmap id="notifier.bg.center.da" file="../Big Bento/window/notifier.png" x="13" y="80" w="133" h="80" gammagroup="NotifierBackground"/>
|
||||
<bitmap id="notifier.bg.right.da" file="../Big Bento/window/notifier.png" x="146" y="80" w="13" h="80" gammagroup="NotifierBackground"/>
|
||||
|
||||
<bitmap id="notifier.bg.cover" file="../Big Bento/window/notifier.png" x="0" y="160" w="78" h="80" gammagroup="NotifierBackground"/>
|
||||
|
||||
|
||||
<color id="notifier.dark" value="35,35,35" gammagroup="NotifierTextShadow" />
|
||||
<color id="notifier.bright" value="255,255,255" gammagroup="NotifierText" />
|
||||
|
||||
<color id="notifier.dark.upper" value="35,35,35" gammagroup="NotifierUpperText" />
|
||||
<color id="notifier.bright.upper" value="255,255,255" gammagroup="NotifierUpperTextShadow" />
|
||||
|
||||
|
||||
</elements>
|
||||
|
51
Src/resources/skins/Bento/xml/notifier-normal.xml
Normal file
@ -0,0 +1,51 @@
|
||||
<groupdef id="notifier.albumart" sysregion="1" ghost="1" >
|
||||
|
||||
<layer id="notifier.cover.bg" x="0" y="0" image="notifier.bg.cover" move="0"/>
|
||||
<AlbumArt id="notifier.cover" x="18" y="15" h="50" w="50" move="0" rectrgn="1" notfoundImage="winamp.cover.notfound.50" noAutoRefresh="1"/>
|
||||
<layer id="notifier.webcover" x="18" y="15" h="50" w="50" move="0" rectrgn="1" visible="0"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="notifier.text" sysregion = "1" ghost="1">
|
||||
|
||||
<!-- mp: I know this is an unusual way to get text shadow - but it creates a much better effect than the shadow params -->
|
||||
|
||||
<text id="plentry.shadow" x="0" y="13" default="2/15" w="100" color="notifier.bright.upper" font="Arial" fontsize="12" bold="1" ghost="1" alpha="128"/>
|
||||
<text id="plentry" x="0" y="12" default="2/15" w="100" color="notifier.dark.upper" font="Arial" fontsize="12" bold="1" ghost="1"/>
|
||||
|
||||
<text id="nexttrack.shadow" x="-102" y="13" w="102" relatw="1" align="right" default="Next track" color="notifier.bright.upper" font="Arial" fontsize="12" bold="1" ghost="1" alpha="128"/>
|
||||
<text id="nexttrack" x="-102" y="12" w="102" relatw="1" align="right" default="Next track" color="notifier.dark.upper" font="Arial" fontsize="12" bold="1" ghost="1"/>
|
||||
|
||||
<text id="title.shadow" x="0" y="28" w="0" relatw="1" default="Nothing" color="notifier.dark" font="Arial" fontsize="17" ghost="1" alpha="128" bold="1" translate="0"/>
|
||||
<text id="title" x="0" y="27" w="0" relatw="1" default="Nothing" color="notifier.bright" font="Arial" fontsize="17" ghost="1" bold="1" translate="0"/>
|
||||
|
||||
<text id="artist.shadow" x="0" y="42" w="0" h="18" relatw="1" default="Nithin Sawhney" color="notifier.dark" font="Arial" fontsize="13" ghost="1" alpha="128" translate="0"/>
|
||||
<text id="artist" x="0" y="41" w="0" h="18" relatw="1" default="Nithin Sawhney" color="notifier.bright" font="Arial" fontsize="13" ghost="1" alpha="235" translate="0"/>
|
||||
|
||||
<text id="album.shadow" x="0" y="55" w="0" h="14" relatw="1" default="Prophesy" color="notifier.dark" font="Arial" fontsize="13" ghost="1" alpha="128" translate="0"/>
|
||||
<text id="album" x="0" y="54" w="0" h="14" relatw="1" default="Prophesy" color="notifier.bright" font="Arial" fontsize="13" ghost="1" alpha="235" translate="0"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
|
||||
<layout id="normal" noparent="1" ontop="1" h="80" w="128" forcealpha="1" noactivation="1" nodock="1" move="0">
|
||||
|
||||
<grid left="notifier.bg.left" middle="notifier.bg.center" right="notifier.bg.right" fitparent="1" sysregion="1" ghost="1" rectrgn="0" move="0"/>
|
||||
<group id="notifier.text" x="75" y="0" h="80" w="-95" relatw="1" move="0"/>
|
||||
<group id="notifier.albumart" x="0" y="0" h="80" w="80" relatw="1" move="0" visible="0"/>
|
||||
|
||||
<text id="endofplayback.shadow" x="15" y="32" w="-35" relatw="1" align="center" default="End of playback" color="notifier.dark" font="Arial" fontsize="20" visible="0" ghost="1"/>
|
||||
<text id="endofplayback" x="15" y="31" w="-35" relatw="1" align="center" default="End of playback" color="notifier.bright" font="Arial" fontsize="20" visible="0" ghost="1"/>
|
||||
|
||||
</layout>
|
||||
|
||||
<layout id="desktopalpha" noparent="1" ontop="1" h="80" w="128" desktopalpha="1" noactivation="1" nodock="1" move="0">
|
||||
|
||||
<grid left="notifier.bg.left.da" middle="notifier.bg.center.da" right="notifier.bg.right.da" fitparent="1" ghost="1" move="0"/>
|
||||
<group id="notifier.text" x="75" y="0" h="80" w="-95" relatw="1" move="0"/>
|
||||
<group id="notifier.albumart" x="0" y="0" h="80" w="80" relatw="1" move="0" visible="0"/>
|
||||
|
||||
<text id="endofplayback.shadow" x="15" y="32" w="-35" relatw="1" align="center" default="End of playback" color="notifier.dark" font="Arial" fontsize="20" visible="0" ghost="1"/>
|
||||
<text id="endofplayback" x="15" y="31" w="-35" relatw="1" align="center" default="End of playback" color="notifier.bright" font="Arial" fontsize="20" visible="0" ghost="1"/>
|
||||
|
||||
</layout>
|
10
Src/resources/skins/Bento/xml/notifier.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<include file="notifier-elements.xml"/>
|
||||
<container id="notifier" name="Notifier" dynamic="1" default_visible="0" nomenu="1" nofocusapponclose="1">
|
||||
|
||||
<include file="notifier-normal.xml"/>
|
||||
|
||||
</container>
|
||||
|
||||
<!-- this script runs independent -->
|
||||
<script file="@SKINSPATH@\Big Bento\scripts\notifier.maki"/>
|
||||
<!--script file="scripts\notifier.maki"/-->
|
640
Src/resources/skins/Bento/xml/player-elements.xml
Normal file
@ -0,0 +1,640 @@
|
||||
<elements>
|
||||
|
||||
|
||||
<!-- SUI Playlist Search -->
|
||||
<bitmap id="sui.pl.search.box.1" file="window/sui2.png" x="180" y="39" w="6" h="1" gammagroup="WindowBackground"/>
|
||||
<bitmap id="sui.pl.search.box.2" file="window/sui2.png" x="187" y="39" w="6" h="1" gammagroup="WindowBackground"/>
|
||||
<bitmap id="sui.pl.search.box.3" file="window/sui2.png" x="194" y="39" w="6" h="1" gammagroup="WindowBackground"/>
|
||||
<bitmap id="sui.pl.search.box.4" file="window/sui2.png" x="180" y="41" w="6" h="6" gammagroup="WindowBackground"/>
|
||||
<bitmap id="sui.pl.search.box.5" file="window/sui2.png" x="187" y="41" w="6" h="6" gammagroup="WindowBackground"/>
|
||||
<bitmap id="sui.pl.search.box.6" file="window/sui2.png" x="194" y="41" w="6" h="6" gammagroup="WindowBackground"/>
|
||||
<bitmap id="sui.pl.search.box.7" file="window/sui2.png" x="180" y="48" w="6" h="24" gammagroup="WindowBackground"/>
|
||||
<bitmap id="sui.pl.search.box.8" file="window/sui2.png" x="187" y="48" w="6" h="24" gammagroup="WindowBackground"/>
|
||||
<bitmap id="sui.pl.search.box.9" file="window/sui2.png" x="194" y="48" w="6" h="24" gammagroup="WindowBackground"/>
|
||||
|
||||
<bitmap id="sui.pl.search.bg.1" file="window/sui2.png" x="81" y="31" w="18" h="30" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="sui.pl.search.bg.2" file="window/sui2.png" x="100" y="31" w="20" h="30" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="sui.pl.search.bg.3" file="window/sui2.png" x="121" y="31" w="18" h="30" gammagroup="PlayerDisplay"/>
|
||||
|
||||
<bitmap id="sui.pl.search.bgv.1" file="window/sui2.png" x="0" y="31" w="30" h="30" gammagroup="ComponentFrame"/>
|
||||
<bitmap id="sui.pl.search.bgv.2" file="window/sui2.png" x="31" y="31" w="20" h="30" gammagroup="ComponentFrame"/>
|
||||
<bitmap id="sui.pl.search.bgv.3" file="window/sui2.png" x="50" y="31" w="30" h="30" gammagroup="ComponentFrame"/>
|
||||
|
||||
<bitmap id="sui.pl.search.go.bgv" file="window/sui2.png" x="225" y="0" w="20" h="19" gammagroup="WindowBackground"/>
|
||||
<bitmap id="sui.pl.search.go.1" file="window/sui2.png" x="225" y="20" w="20" h="19" gammagroup="PlayerButton"/>
|
||||
<bitmap id="sui.pl.search.go.2" file="window/sui2.png" x="225" y="40" w="20" h="19" gammagroup="PlayerButton"/>
|
||||
<bitmap id="sui.pl.search.go.3" file="window/sui2.png" x="225" y="60" w="20" h="19" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="sui.pl.search.stop.bgv" file="window/sui2.png" x="201" y="0" w="20" h="19" gammagroup="WindowBackground"/>
|
||||
<bitmap id="sui.pl.search.stop.1" file="window/sui2.png" x="201" y="20" w="20" h="19" gammagroup="Column"/>
|
||||
<bitmap id="sui.pl.search.stop.2" file="window/sui2.png" x="201" y="40" w="20" h="19" gammagroup="Column"/>
|
||||
<bitmap id="sui.pl.search.stop.3" file="window/sui2.png" x="201" y="60" w="20" h="19" gammagroup="Column"/>
|
||||
|
||||
|
||||
<!-- TitleBar -->
|
||||
|
||||
<bitmap id="window.titlebar.grid.left" file="window/window.png" x="0" y="0" h="18" w="5" gammagroup="Titlebar"/>
|
||||
<bitmap id="window.titlebar.grid.middle" file="window/window.png" x="5" y="0" h="18" w="10" gammagroup="Titlebar"/>
|
||||
<bitmap id="window.titlebar.grid.right" file="window/window.png" x="15" y="0" h="18" w="5" gammagroup="Titlebar"/>
|
||||
|
||||
<bitmap id="window.titlebar.grid.over.left" file="window/window.png" x="20" y="0" h="18" w="5" gammagroup="Titlebar"/>
|
||||
<bitmap id="window.titlebar.grid.over.middle" file="window/window.png" x="25" y="0" h="18" w="10" gammagroup="Titlebar"/>
|
||||
<bitmap id="window.titlebar.grid.over.right" file="window/window.png" x="35" y="0" h="18" w="5" gammagroup="Titlebar"/>
|
||||
|
||||
<bitmap id="window.titlebar.text.winamp" file="window/window.png" x="100" y="32" h="7" w="37" gammagroup="TitlebarText"/>
|
||||
|
||||
<bitmap id="window.titlebar.menu.normal" file="window/window.png" x="25" y="1" h="20" w="10" gammagroup="Titlebar"/>
|
||||
<bitmap id="window.titlebar.menu.hover" file="window/window.png" x="40" y="1" h="20" w="10" gammagroup="Titlebar"/>
|
||||
<bitmap id="window.titlebar.menu.down" file="window/window.png" x="50" y="1" h="20" w="10" gammagroup="Titlebar"/>
|
||||
|
||||
<bitmap id="window.titlebar.menu.text.file" file="window/menu_file.png" gammagroup="TitlebarMenuText"/>
|
||||
<bitmap id="window.titlebar.menu.text.play" file="window/menu_play.png" gammagroup="TitlebarMenuText"/>
|
||||
<bitmap id="window.titlebar.menu.text.options" file="window/menu_options.png" gammagroup="TitlebarMenuText"/>
|
||||
<bitmap id="window.titlebar.menu.text.view" file="window/menu_view.png" gammagroup="TitlebarMenuText"/>
|
||||
<bitmap id="window.titlebar.menu.text.help" file="window/menu_help.png" gammagroup="TitlebarMenuText"/>
|
||||
|
||||
<bitmap id="window.titlebar.button.sysmenu.normal" file="../Big Bento/window/window.png" x="0" y="0" h="13" w="15" gammagroup="TitleButtonOrange"/>
|
||||
<bitmap id="window.titlebar.button.sysmenu.hover" file="../Big Bento/window/window.png" x="0" y="13" h="13" w="15" gammagroup="TitleButtonOrange"/>
|
||||
<bitmap id="window.titlebar.button.sysmenu.down" file="../Big Bento/window/window.png" x="0" y="26" h="13" w="15" gammagroup="TitleButtonOrange"/>
|
||||
|
||||
<bitmap id="window.titlebar.button.minimize.normal" file="../Big Bento/window/window.png" x="15" y="0" h="13" w="17" gammagroup="TitleButtonGrey"/>
|
||||
<bitmap id="window.titlebar.button.minimize.hover" file="../Big Bento/window/window.png" x="15" y="13" h="13" w="17" gammagroup="TitleButtonGrey"/>
|
||||
<bitmap id="window.titlebar.button.minimize.down" file="../Big Bento/window/window.png" x="15" y="26" h="13" w="17" gammagroup="TitleButtonGrey"/>
|
||||
|
||||
<bitmap id="window.titlebar.button.maximize.normal" file="../Big Bento/window/window.png" x="32" y="0" h="13" w="17" gammagroup="TitleButtonGrey"/>
|
||||
<bitmap id="window.titlebar.button.maximize.hover" file="../Big Bento/window/window.png" x="32" y="13" h="13" w="17" gammagroup="TitleButtonGrey"/>
|
||||
<bitmap id="window.titlebar.button.maximize.down" file="../Big Bento/window/window.png" x="32" y="26" h="13" w="17" gammagroup="TitleButtonGrey"/>
|
||||
|
||||
<bitmap id="window.titlebar.button.restore.normal" file="../Big Bento/window/window.png" x="49" y="0" h="13" w="17" gammagroup="TitleButtonGrey"/>
|
||||
<bitmap id="window.titlebar.button.restore.hover" file="../Big Bento/window/window.png" x="49" y="13" h="13" w="17" gammagroup="TitleButtonGrey"/>
|
||||
<bitmap id="window.titlebar.button.restore.down" file="../Big Bento/window/window.png" x="49" y="26" h="13" w="17" gammagroup="TitleButtonGrey"/>
|
||||
|
||||
<bitmap id="window.titlebar.button.shade.normal" file="../Big Bento/window/window.png" x="66" y="0" h="13" w="17" gammagroup="TitleButtonGrey"/>
|
||||
<bitmap id="window.titlebar.button.shade.hover" file="../Big Bento/window/window.png" x="66" y="13" h="13" w="17" gammagroup="TitleButtonGrey"/>
|
||||
<bitmap id="window.titlebar.button.shade.down" file="../Big Bento/window/window.png" x="66" y="26" h="13" w="17" gammagroup="TitleButtonGrey"/>
|
||||
|
||||
<bitmap id="window.titlebar.button.close.normal" file="../Big Bento/window/window.png" x="83" y="0" h="13" w="17" gammagroup="TitleButtonOrange"/>
|
||||
<bitmap id="window.titlebar.button.close.hover" file="../Big Bento/window/window.png" x="83" y="13" h="13" w="17" gammagroup="TitleButtonOrange"/>
|
||||
<bitmap id="window.titlebar.button.close.down" file="../Big Bento/window/window.png" x="83" y="26" h="13" w="17" gammagroup="TitleButtonOrange"/>
|
||||
|
||||
|
||||
<!-- Window Elements -->
|
||||
|
||||
<bitmap id="window.background.maximized" file="$solid" h="64" w="64" color="0,0,0" gammagroup="WindowBackground"/>
|
||||
|
||||
<bitmap id="window.background.gradient" file="../Big Bento/window/window-gradient.png" gammagroup="WindowBackgroundGradient"/>
|
||||
|
||||
<bitmap id="window.background.topleft" file="../Big Bento/window/window.png" x="100" y="23" h="5" w="5" gammagroup="WindowBackground"/>
|
||||
<bitmap id="window.background.top" file="../Big Bento/window/window.png" x="105" y="23" h="5" w="10" gammagroup="WindowBackground"/>
|
||||
<bitmap id="window.background.topright" file="../Big Bento/window/window.png" x="115" y="23" h="5" w="5" gammagroup="WindowBackground"/>
|
||||
|
||||
<bitmap id="window.background.left" file="../Big Bento/window/window.png" x="100" y="28" h="6" w="5" gammagroup="WindowBackground"/>
|
||||
<bitmap id="window.background.center" file="../Big Bento/window/window.png" x="105" y="28" h="6" w="10" gammagroup="WindowBackground"/>
|
||||
<bitmap id="window.background.right" file="../Big Bento/window/window.png" x="115" y="28" h="6" w="5" gammagroup="WindowBackground"/>
|
||||
|
||||
<bitmap id="window.background.bottomleft" file="../Big Bento/window/window.png" x="100" y="34" h="5" w="5" gammagroup="WindowBackground"/>
|
||||
<bitmap id="window.background.bottom" file="../Big Bento/window/window.png" x="105" y="34" h="5" w="10" gammagroup="WindowBackground"/>
|
||||
<bitmap id="window.background.bottomright" file="../Big Bento/window/window.png" x="115" y="34" h="5" w="5" gammagroup="WindowBackground"/>
|
||||
|
||||
<bitmap id="window.background.resizer" file="window/window.png" x="137" y="32" h="7" w="15" gammagroup="WindowBackground"/>
|
||||
|
||||
<bitmap id="window.background.region" file="$solid" h="1" w="1" color="0,0,0"/>
|
||||
|
||||
<bitmap id="window.button.collapse.normal" file="window/sui.png" x="282" y="0" h="11" w="34" gammagroup="PlayerButton"/>
|
||||
<bitmap id="window.button.collapse.hover" file="window/sui.png" x="282" y="11" h="11" w="34" gammagroup="PlayerButton"/>
|
||||
<bitmap id="window.button.collapse.down" file="window/sui.png" x="282" y="22" h="11" w="34" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="window.button.expand.normal" file="window/sui.png" x="316" y="0" h="11" w="34" gammagroup="PlayerButton"/>
|
||||
<bitmap id="window.button.expand.hover" file="window/sui.png" x="316" y="11" h="11" w="34" gammagroup="PlayerButton"/>
|
||||
<bitmap id="window.button.expand.down" file="window/sui.png" x="316" y="22" h="11" w="34" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="window.background.collapse" file="window/sui.png" x="282" y="36" h="13" w="36" gammagroup="WindowBackground"/>
|
||||
|
||||
|
||||
<!-- Player -->
|
||||
|
||||
<bitmap id="player.display.background.left" file="window/player.png" x="0" y="0" h="54" w="80" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="player.display.foreground.left" file="window/player.png" x="0" y="326" h="54" w="80" gammagroup="WindowBackground"/>
|
||||
<bitmap id="player.display.background.center" file="window/player.png" x="80" y="0" h="54" w="10" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="player.display.foreground.center" file="window/player.png" x="80" y="326" h="54" w="10" gammagroup="WindowBackground"/>^
|
||||
<bitmap id="player.display.background.right" file="window/player.png" x="90" y="0" h="54" w="132" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="player.display.foreground.right" file="window/player.png" x="90" y="326" h="54" w="132" gammagroup="WindowBackground"/>
|
||||
|
||||
<bitmap id="player.songinfo.bitrate" file="../Big Bento/window/songinfo.png" x="0" y="15" h="5" w="14" gammagroup="DisplayText"/>
|
||||
<bitmap id="player.songinfo.frequency" file="../Big Bento/window/songinfo.png" x="15" y="15" h="5" w="11" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="player.songinfo.mono" file="../Big Bento/window/songinfo.png" x="0" y="21" h="5" w="40" gammagroup="DisplayText"/>
|
||||
<bitmap id="player.songinfo.stereo" file="../Big Bento/window/songinfo.png" x="0" y="27" h="5" w="40" gammagroup="DisplayText"/>
|
||||
<bitmap id="player.songinfo.multi" file="../Big Bento/window/songinfo.png" x="0" y="33" h="5" w="40" gammagroup="DisplayText"/>
|
||||
<bitmap id="player.songinfo.multi2" file="../Big Bento/window/songinfo.png" x="41" y="33" h="5" w="40" gammagroup="DisplayText"/>
|
||||
<bitmap id="player.songinfo.na" file="../Big Bento/window/songinfo.png" x="0" y="0" h="5" w="40" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="empty" file="$polygon" x="0" y="0" h="48" w="8" gammagroup="none"/>
|
||||
|
||||
<bitmap id="player.beatvis.left" file="../Big Bento/window/beatvis.png" x="0" y="0" w="43" h="280" gammagroup="DisplayText"/>
|
||||
<bitmap id="player.beatvis.right" file="../Big Bento/window/beatvis.png" x="43" y="0" w="43" h="280" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="player.beatvis.left.wo" file="../Big Bento/window/beatvis.png" x="86" y="0" w="43" h="280" gammagroup="DisplayText"/>
|
||||
<bitmap id="player.beatvis.right.wo" file="../Big Bento/window/beatvis.png" x="129" y="0" w="43" h="280" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="player.bitmapfont.songinfo.source" file="../Big Bento/window/songinfo.png" x="0" y="0" h="15" w="110" gammagroup="DisplayText"/>
|
||||
<bitmapfont id="player.bitmapfont.songinfo" file="player.bitmapfont.songinfo.source" charwidth="5" charheight="5" hspacing="0" vspacing="0" />
|
||||
|
||||
<bitmap id="player.bitmapfont.nums.source" file="window/numfont.png" x="0" y="0" h="81" w="240" gammagroup="DisplayText"/>
|
||||
<bitmapfont id="player.bitmapfont.nums" file="player.bitmapfont.nums.source" charwidth="15" charheight="27" hspacing="0" vspacing="-2"/>
|
||||
|
||||
<bitmap id="player.bitmapfont.nums.noreflect.source" file="window/numfont.png" x="0" y="81" h="81" w="240" gammagroup="DisplayText"/>
|
||||
<bitmapfont id="player.bitmapfont.nums.noreflect" file="player.bitmapfont.nums.noreflect.source" charwidth="15" charheight="27" hspacing="0" vspacing="-2"/>
|
||||
|
||||
<bitmap id="player.display.status.playing" file="../Big Bento/window/songinfo.png" x="0" y="39" h="6" w="5" gammagroup="DisplayText"/>
|
||||
<bitmap id="player.display.status.paused" file="../Big Bento/window/songinfo.png" x="6" y="39" h="6" w="5" gammagroup="DisplayText"/>
|
||||
<bitmap id="player.display.status.stopped" file="../Big Bento/window/songinfo.png" x="12" y="39" h="6" w="5" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="player.button.mute.normal" file="window/player.png" x="0" y="55" h="14" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.mute.hover" file="window/player.png" x="25" y="55" h="14" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.mute.down" file="window/player.png" x="50" y="55" h="14" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.demute.normal" file="window/player.png" x="75" y="55" h="14" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.demute.hover" file="window/player.png" x="100" y="55" h="14" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.demute.down" file="window/player.png" x="125" y="55" h="14" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.mute.placeholder" file="window/player.png" x="150" y="55" h="14" w="25" gammagroup="PlayerButtonPlaceHolder"/>
|
||||
<bitmap id="player.button.mute.glow" file="window/player.png" x="125" y="175" h="16" w="25" gammagroup="PlayerButtonGlow"/>
|
||||
<bitmap id="player.button.mute.active" file="window/player.png" x="0" y="295" h="28" w="28" gammagroup="PlayerButtonActive"/>
|
||||
|
||||
<bitmap id="player.slider.background.left" file="window/player.png" x="175" y="56" h="5" w="5" gammagroup="PlayerSliderBackground"/>
|
||||
<bitmap id="player.slider.background.center" file="window/player.png" x="180" y="56" h="5" w="15" gammagroup="PlayerSliderBackground"/>
|
||||
<bitmap id="player.slider.background.right" file="window/player.png" x="195" y="56" h="5" w="5" gammagroup="PlayerSliderBackground"/>
|
||||
|
||||
<bitmap id="player.slider.light.left" file="window/player.png" x="175" y="61" h="2" w="4" gammagroup="PlayerSliderLight"/>
|
||||
<bitmap id="player.slider.light.center" file="window/player.png" x="179" y="61" h="2" w="8" gammagroup="PlayerSliderLight"/>
|
||||
<bitmap id="player.slider.light.right" file="window/player.png" x="187" y="61" h="2" w="4" gammagroup="PlayerSliderLight"/>
|
||||
|
||||
<bitmap id="player.label.volume" file="window/player.png" x="0" y="69" h="8" w="71" gammagroup="WindowText"/>
|
||||
|
||||
<bitmap id="player.volume.thumb.normal" file="window/player.png" x="71" y="69" h="10" w="17" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.volume.thumb.hover" file="window/player.png" x="88" y="69" h="10" w="17" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.volume.thumb.down" file="window/player.png" x="105" y="69" h="10" w="17" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="player.posbar.thumb.normal" file="window/player.png" x="122" y="69" h="10" w="31" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.posbar.thumb.hover" file="window/player.png" x="153" y="69" h="10" w="31" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.posbar.thumb.down" file="window/player.png" x="184" y="69" h="10" w="31" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="player.button.previous.placeholder" file="window/player.png" x="0" y="79" h="24" w="26" gammagroup="PlayerButtonPlaceHolder"/>
|
||||
<bitmap id="player.button.play.placeholder" file="window/player.png" x="26" y="79" h="24" w="22" gammagroup="PlayerButtonPlaceHolder"/>
|
||||
<bitmap id="player.button.pause.placeholder" file="window/player.png" x="48" y="79" h="24" w="22" gammagroup="PlayerButtonPlaceHolder"/>
|
||||
<bitmap id="player.button.stop.placeholder" file="window/player.png" x="70" y="79" h="24" w="22" gammagroup="PlayerButtonPlaceHolder"/>
|
||||
<bitmap id="player.button.next.placeholder" file="window/player.png" x="92" y="79" h="24" w="26" gammagroup="PlayerButtonPlaceHolder"/>
|
||||
|
||||
<bitmap id="player.button.previous.normal" file="window/player.png" x="0" y="103" h="24" w="26" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.play.normal" file="window/player.png" x="26" y="103" h="24" w="22" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.pause.normal" file="window/player.png" x="48" y="103" h="24" w="22" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.stop.normal" file="window/player.png" x="70" y="103" h="24" w="22" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.next.normal" file="window/player.png" x="92" y="103" h="24" w="26" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="player.button.previous.hover" file="window/player.png" x="0" y="127" h="24" w="26" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.play.hover" file="window/player.png" x="26" y="127" h="24" w="22" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.pause.hover" file="window/player.png" x="48" y="127" h="24" w="22" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.stop.hover" file="window/player.png" x="70" y="127" h="24" w="22" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.next.hover" file="window/player.png" x="92" y="127" h="24" w="26" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="player.button.previous.glow" file="window/player.png" x="118" y="127" h="24" w="26" gammagroup="PlayerButtonGlow"/>
|
||||
<bitmap id="player.button.pps.glow" file="window/player.png" x="144" y="127" h="24" w="22" gammagroup="PlayerButtonGlow"/>
|
||||
<bitmap id="player.button.next.glow" file="window/player.png" x="166" y="127" h="24" w="26" gammagroup="PlayerButtonGlow"/>
|
||||
|
||||
<bitmap id="player.button.previous.down" file="window/player.png" x="0" y="151" h="24" w="26" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.play.down" file="window/player.png" x="26" y="151" h="24" w="22" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.pause.down" file="window/player.png" x="48" y="151" h="24" w="22" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.stop.down" file="window/player.png" x="70" y="151" h="24" w="22" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.next.down" file="window/player.png" x="92" y="151" h="24" w="26" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="player.button.eject.placeholder" file="window/player.png" x="0" y="175" h="17" w="25" gammagroup="PlayerButtonPlaceHolder"/>
|
||||
<bitmap id="player.button.eject.normal" file="window/player.png" x="25" y="175" h="17" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.eject.hover" file="window/player.png" x="50" y="175" h="17" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.eject.down" file="window/player.png" x="75" y="175" h="17" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.eject.glow" file="window/player.png" x="100" y="175" h="17" w="25" gammagroup="PlayerButtonGlow"/>
|
||||
|
||||
<bitmap id="player.button.shuffle.placeholder" file="window/player.png" x="0" y="192" h="17" w="32" gammagroup="PlayerButtonPlaceHolder"/>
|
||||
<bitmap id="player.button.shuffle.normal0" file="window/player.png" x="0" y="209" h="17" w="32" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.shuffle.hover0" file="window/player.png" x="32" y="209" h="17" w="32" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.shuffle.down0" file="window/player.png" x="64" y="209" h="17" w="32" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.shuffle.normal1" file="window/player.png" x="0" y="226" h="17" w="32" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.shuffle.hover1" file="window/player.png" x="32" y="226" h="17" w="32" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.shuffle.down1" file="window/player.png" x="64" y="226" h="17" w="32" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.shuffle.glow" file="window/player.png" x="96" y="209" h="17" w="32" gammagroup="PlayerButtonGlow"/>
|
||||
<bitmap id="player.button.shuffle.active0" file="$polygon" h="31" w="34" />
|
||||
<bitmap id="player.button.shuffle.active1" file="window/player.png" x="28" y="295" h="31" w="34" gammagroup="PlayerButtonActive"/>
|
||||
|
||||
<bitmap id="player.button.repeat.placeholder" file="window/player.png" x="32" y="192" h="17" w="24" gammagroup="PlayerButtonPlaceHolder"/>
|
||||
<bitmap id="player.button.repeat.normal0" file="window/player.png" x="0" y="243" h="17" w="27" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.repeat.hover0" file="window/player.png" x="27" y="243" h="17" w="27" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.repeat.down0" file="window/player.png" x="54" y="243" h="17" w="27" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.repeat.normal1" file="window/player.png" x="0" y="260" h="17" w="27" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.repeat.hover1" file="window/player.png" x="27" y="260" h="17" w="27" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.repeat.down1" file="window/player.png" x="54" y="260" h="17" w="27" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.repeat.normal2" file="window/player.png" x="0" y="277" h="17" w="27" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.repeat.hover2" file="window/player.png" x="27" y="277" h="17" w="27" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.repeat.down2" file="window/player.png" x="54" y="277" h="17" w="27" gammagroup="PlayerButton"/>
|
||||
<bitmap id="player.button.repeat.glow" file="window/player.png" x="81" y="243" h="17" w="27" gammagroup="PlayerButtonGlow"/>
|
||||
<bitmap id="player.button.repeat.active0" file="$polygon" h="30" w="35" />
|
||||
<bitmap id="player.button.repeat.active1" file="window/player.png" x="62" y="295" h="30" w="35" gammagroup="PlayerButtonActive"/>
|
||||
<bitmap id="player.button.repeat.active2" file="window/player.png" x="97" y="295" h="30" w="35" gammagroup="PlayerButtonActive"/>
|
||||
|
||||
<bitmap id="player.button.bolt.glow" file="window/player.png" x="138" y="221" h="37" w="42" gammagroup="LightningBolt"/>
|
||||
<bitmap id="player.button.bolt.normal" file="window/player.png" x="180" y="184" h="37" w="42" gammagroup="LightningBolt"/>
|
||||
<bitmap id="player.button.bolt.hover" file="window/player.png" x="180" y="221" h="37" w="42" gammagroup="LightningBolt"/>
|
||||
<bitmap id="player.button.bolt.down" file="window/player.png" x="180" y="258" h="37" w="42" gammagroup="LightningBolt"/>
|
||||
|
||||
|
||||
<!-- SUI Background -->
|
||||
|
||||
<bitmap id="sui.background.topleft" file="../Big Bento/window/window.png" x="160" y="0" h="5" w="5" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="sui.background.top" file="../Big Bento/window/window.png" x="165" y="0" h="5" w="10" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="sui.background.topright" file="../Big Bento/window/window.png" x="175" y="0" h="5" w="5" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="sui.background.left" file="../Big Bento/window/window.png" x="160" y="5" h="10" w="5" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="sui.background.center" file="../Big Bento/window/window.png" x="165" y="5" h="10" w="10" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="sui.background.right" file="../Big Bento/window/window.png" x="175" y="5" h="10" w="5" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="sui.background.bottomleft" file="../Big Bento/window/window.png" x="160" y="15" h="5" w="5" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="sui.background.bottom" file="../Big Bento/window/window.png" x="165" y="15" h="5" w="10" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="sui.background.bottomright" file="../Big Bento/window/window.png" x="175" y="15" h="5" w="5" gammagroup="PlayerDisplay"/>
|
||||
|
||||
<bitmap id="sui.component.topleft" file="../Big Bento/window/window.png" x="200" y="0" h="5" w="5" gammagroup="ComponentFrame"/>
|
||||
<bitmap id="sui.component.top" file="../Big Bento/window/window.png" x="205" y="0" h="5" w="10" gammagroup="ComponentFrame"/>
|
||||
<bitmap id="sui.component.top2" file="../Big Bento/window/window.png" x="205" y="0" h="1" w="10" gammagroup="ComponentFrame"/>
|
||||
<bitmap id="sui.component.topright" file="../Big Bento/window/window.png" x="215" y="0" h="5" w="5" gammagroup="ComponentFrame"/>
|
||||
<bitmap id="sui.component.left" file="../Big Bento/window/window.png" x="200" y="5" h="10" w="5" gammagroup="ComponentFrame"/>
|
||||
<bitmap id="sui.component.center" file="../Big Bento/window/window.png" x="205" y="5" h="10" w="10" gammagroup="ComponentFrame"/>
|
||||
<bitmap id="sui.component.right" file="../Big Bento/window/window.png" x="215" y="5" h="10" w="5" gammagroup="ComponentFrame"/>
|
||||
<bitmap id="sui.component.bottomleft" file="../Big Bento/window/window.png" x="200" y="15" h="5" w="5" gammagroup="ComponentFrame"/>
|
||||
<bitmap id="sui.component.bottom" file="../Big Bento/window/window.png" x="205" y="15" h="5" w="10" gammagroup="ComponentFrame"/>
|
||||
<bitmap id="sui.component.bottom2" file="../Big Bento/window/window.png" x="205" y="19" h="1" w="10" gammagroup="ComponentFrame"/>
|
||||
<bitmap id="sui.component.bottomright" file="../Big Bento/window/window.png" x="215" y="15" h="5" w="5" gammagroup="ComponentFrame"/>
|
||||
|
||||
<!-- SUI Component Buttons -->
|
||||
|
||||
<bitmap id="sui.button.active.normal.left" file="window/sui.png" x="0" y="18" h="18" w="6" gammagroup="CompButtonActive" />
|
||||
<bitmap id="sui.button.active.normal.center" file="window/sui.png" x="6" y="18" h="18" w="10" gammagroup="CompButtonActive" />
|
||||
<bitmap id="sui.button.active.normal.right" file="window/sui.png" x="81" y="18" h="18" w="6" gammagroup="CompButtonActive" />
|
||||
|
||||
<bitmap id="sui.button.active.footer.left" file="window/sui.png" x="0" y="34" h="1" w="6" gammagroup="ComponentFrame" />
|
||||
<bitmap id="sui.button.active.footer.center" file="window/sui.png" x="6" y="34" h="1" w="10" gammagroup="ComponentFrame" />
|
||||
<bitmap id="sui.button.active.footer.right" file="window/sui.png" x="81" y="34" h="1" w="6" gammagroup="ComponentFrame" />
|
||||
|
||||
<bitmap id="sui.button.inactive.normal.left" file="window/sui.png" x="0" y="0" h="17" w="6" gammagroup="CompButtonInactive" />
|
||||
<bitmap id="sui.button.inactive.normal.center" file="window/sui.png" x="6" y="0" h="17" w="10" gammagroup="CompButtonInactive" />
|
||||
<bitmap id="sui.button.inactive.normal.right" file="window/sui.png" x="81" y="0" h="17" w="6" gammagroup="CompButtonInactive" />
|
||||
|
||||
<bitmap id="sui.button.inactive.hover.left" file="window/sui.png" x="0" y="36" h="17" w="6" gammagroup="CompButtonInactive" />
|
||||
<bitmap id="sui.button.inactive.hover.center" file="window/sui.png" x="6" y="36" h="17" w="10" gammagroup="CompButtonInactive" />
|
||||
<bitmap id="sui.button.inactive.hover.right" file="window/sui.png" x="81" y="36" h="17" w="6" gammagroup="CompButtonInactive" />
|
||||
|
||||
<!-- Info Component -->
|
||||
|
||||
<bitmap id="infocomp.background.topleft" file="../Big Bento/window/window.png" x="180" y="0" h="7" w="7" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="infocomp.background.top" file="../Big Bento/window/window.png" x="187" y="0" h="7" w="6" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="infocomp.background.topright" file="../Big Bento/window/window.png" x="193" y="0" h="7" w="7" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="infocomp.background.left" file="../Big Bento/window/window.png" x="180" y="7" h="6" w="7" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="infocomp.background.center" file="../Big Bento/window/window.png" x="187" y="7" h="6" w="6" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="infocomp.background.right" file="../Big Bento/window/window.png" x="193" y="7" h="6" w="7" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="infocomp.background.bottomleft" file="../Big Bento/window/window.png" x="180" y="13" h="7" w="7" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="infocomp.background.bottom" file="../Big Bento/window/window.png" x="187" y="13" h="7" w="6" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="infocomp.background.bottomright" file="../Big Bento/window/window.png" x="193" y="13" h="7" w="7" gammagroup="PlayerDisplay"/>
|
||||
|
||||
<bitmap id="infocomp.background.buttons.left.over" file="../Big Bento/window/window.png" x="0" y="83" h="13" w="130" gammagroup="PlayerDisplay"/>
|
||||
|
||||
<bitmap id="infocomp.button.more.normal" file="window/controls.png" x="0" y="0" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="infocomp.button.more.hover" file="window/controls.png" x="25" y="0" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="infocomp.button.more.down" file="window/controls.png" x="50" y="0" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="infocomp.button.toggle.normal" file="window/controls.png" x="0" y="13" h="13" w="26" gammagroup="PlayerButton"/>
|
||||
<bitmap id="infocomp.button.toggle.hover" file="window/controls.png" x="26" y="13" h="13" w="26" gammagroup="PlayerButton"/>
|
||||
<bitmap id="infocomp.button.toggle.down" file="window/controls.png" x="52" y="13" h="13" w="26" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="infocomp.button.vis.cfg.normal" file="window/controls.png" x="0" y="143" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="infocomp.button.vis.cfg.hover" file="window/controls.png" x="25" y="143" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="infocomp.button.vis.cfg.down" file="window/controls.png" x="50" y="143" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="infocomp.button.vis.rnd.normal" file="window/controls.png" x="0" y="156" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="infocomp.button.vis.rnd.hover" file="window/controls.png" x="25" y="156" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="infocomp.button.vis.rnd.down" file="window/controls.png" x="50" y="156" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="infocomp.button.vis.rnd.active" file="window/controls.png" x="75" y="143" h="17" w="41" gammagroup="PlayerButtonGlow"/>
|
||||
|
||||
<bitmap id="infocomp.button.vis.cfg2.normal" file="window/controls.png" x="0" y="169" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="infocomp.button.vis.cfg2.hover" file="window/controls.png" x="25" y="169" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="infocomp.button.vis.cfg2.down" file="window/controls.png" x="50" y="169" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="infocomp.rating.empty" file="../Big Bento/window/rating.png" x="22" y="0" h="12" w="11" gammagroup="DisplayText"/>
|
||||
<bitmap id="infocomp.rating.hover" file="../Big Bento/window/rating.png" x="11" y="0" h="12" w="11" gammagroup="DisplayText"/>
|
||||
<bitmap id="infocomp.rating.star" file="../Big Bento/window/rating.png" x="0" y="0" h="12" w="11" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="infocomp.button.blank.normal" file="window/controls.png" x="0" y="195" h="13" w="24" gammagroup="PlayerButton"/>
|
||||
<bitmap id="infocomp.button.blank.hover" file="window/controls.png" x="24" y="195" h="13" w="24" gammagroup="PlayerButton"/>
|
||||
<bitmap id="infocomp.button.blank.down" file="window/controls.png" x="48" y="195" h="13" w="24" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="infocomp.button.icon.nowplaying" file="window/controls.png" x="24" y="208" h="13" w="24" gammagroup="PlayerButton"/>
|
||||
<bitmap id="infocomp.button.icon.search" file="window/controls.png" x="48" y="208" h="13" w="24" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="infocomp.branding" file="../Big Bento/window/branding.png" x="0" y="0" h="53" w="129"/>
|
||||
|
||||
<bitmap id="winamp.cover.notfound" file="xml/winamp/cover/notfound.png" gammagroup="DisplayText"/>
|
||||
<bitmap id="winamp.cover.notfound.60" file="xml/winamp/cover/notfound60.png" gammagroup="DisplayText"/>
|
||||
<bitmap id="winamp.cover.notfound.90" file="xml/winamp/cover/notfound90.png" gammagroup="DisplayText"/>
|
||||
<bitmap id="winamp.cover.notfound.84" file="../Big Bento/window/notfound.png" x="0" y="0" h="84" w="84" gammagroup="DisplayText"/>
|
||||
<bitmap id="winamp.cover.notfound.50" file="../Big Bento/window/notfound.png" x="0" y="158" h="50" w="50" gammagroup="DisplayText"/>
|
||||
<bitmap id="winamp.cover.notfound.70" file="../Big Bento/window/notfound.png" x="0" y="84" h="70" w="70" gammagroup="DisplayText"/>
|
||||
<bitmap id="winamp.cover.notfound.xxl" file="../Big Bento/window/notfoundXXL.png" gammagroup="DisplayText"/>
|
||||
<bitmap id="winamp.cover.shoutcast" file="window/sc_alb_art.jpg" x="0" y="0" h="84" w="84" />
|
||||
|
||||
<bitmap id="coverflow.button.play.normal" file="../Big Bento/window/compcontrols.png" x="256" y="0" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="coverflow.button.play.hover" file="../Big Bento/window/compcontrols.png" x="256" y="21" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="coverflow.button.play.down" file="../Big Bento/window/compcontrols.png" x="256" y="42" h="21" w="24" gammagroup="WindowText"/>
|
||||
|
||||
<!-- Playlist Editor -->
|
||||
|
||||
<bitmap id="pledit.background.topleft" file="../Big Bento/window/window.png" x="220" y="0" h="7" w="7" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="pledit.background.top" file="../Big Bento/window/window.png" x="227" y="0" h="7" w="6" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="pledit.background.topright" file="../Big Bento/window/window.png" x="233" y="0" h="7" w="7" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="pledit.background.left" file="../Big Bento/window/window.png" x="220" y="7" h="6" w="7" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="pledit.background.center" file="../Big Bento/window/window.png" x="227" y="7" h="6" w="6" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="pledit.background.right" file="../Big Bento/window/window.png" x="233" y="7" h="6" w="7" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="pledit.background.bottomleft" file="../Big Bento/window/window.png" x="220" y="13" h="7" w="7" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="pledit.background.bottom" file="../Big Bento/window/window.png" x="227" y="13" h="7" w="6" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="pledit.background.bottomright" file="../Big Bento/window/window.png" x="233" y="13" h="7" w="7" gammagroup="PlayerDisplay"/>
|
||||
|
||||
<bitmap id="pledit.background.buttons.center" file="../Big Bento/window/window.png" x="221" y="24" h="13" w="11" gammagroup="PlayerDisplayGradient"/>
|
||||
<bitmap id="pledit.background.buttons.right" file="../Big Bento/window/window.png" x="232" y="24" h="13" w="7" gammagroup="PlayerDisplayGradient"/>
|
||||
|
||||
<bitmap id="pledit.button.toggle.normal" file="window/controls.png" x="0" y="26" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.button.toggle.hover" file="window/controls.png" x="25" y="26" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.button.toggle.down" file="window/controls.png" x="50" y="26" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="pledit.button.manage.normal" file="window/controls.png" x="0" y="39" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.button.manage.hover" file="window/controls.png" x="25" y="39" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.button.manage.down" file="window/controls.png" x="50" y="39" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="pledit.button.misc.normal" file="window/controls.png" x="0" y="52" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.button.misc.hover" file="window/controls.png" x="25" y="52" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.button.misc.down" file="window/controls.png" x="50" y="52" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="pledit.button.sel.normal" file="window/controls.png" x="0" y="65" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.button.sel.hover" file="window/controls.png" x="25" y="65" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.button.sel.down" file="window/controls.png" x="50" y="65" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="pledit.button.rem.normal" file="window/controls.png" x="0" y="78" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.button.rem.hover" file="window/controls.png" x="25" y="78" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.button.rem.down" file="window/controls.png" x="50" y="78" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="pledit.button.add.normal" file="window/controls.png" x="0" y="91" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.button.add.hover" file="window/controls.png" x="25" y="91" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.button.add.down" file="window/controls.png" x="50" y="91" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
|
||||
<!-- Playlist Editor Tab -->
|
||||
|
||||
<bitmap id="pledit.tab.button.add" file="../Big Bento/window/pl_btn_icons.png" x="0" y="0" h="21" w="24" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.tab.button.rem" file="../Big Bento/window/pl_btn_icons.png" x="25" y="0" h="21" w="24" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.tab.button.sel" file="../Big Bento/window/pl_btn_icons.png" x="50" y="0" h="21" w="24" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.tab.button.misc" file="../Big Bento/window/pl_btn_icons.png" x="75" y="0" h="21" w="24" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.tab.button.manage" file="../Big Bento/window/pl_btn_icons.png" x="100" y="0" h="21" w="24" gammagroup="PlayerButton"/>
|
||||
<bitmap id="pledit.tab.button.up" file="../Big Bento/window/pl_btn_icons.png" x="125" y="0" h="21" w="24" gammagroup="PlayerButton"/>
|
||||
|
||||
<!-- Video -->
|
||||
|
||||
<bitmap id="video.button.fullscreen.normal" file="../Big Bento/window/compcontrols.png" x="0" y="0" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="video.button.fullscreen.hover" file="../Big Bento/window/compcontrols.png" x="0" y="21" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="video.button.fullscreen.down" file="../Big Bento/window/compcontrols.png" x="0" y="42" h="21" w="24" gammagroup="WindowText"/>
|
||||
|
||||
<bitmap id="video.button.1x.normal" file="../Big Bento/window/compcontrols.png" x="24" y="0" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="video.button.1x.hover" file="../Big Bento/window/compcontrols.png" x="24" y="21" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="video.button.1x.down" file="../Big Bento/window/compcontrols.png" x="24" y="42" h="21" w="24" gammagroup="WindowText"/>
|
||||
|
||||
<bitmap id="video.button.2x.normal" file="../Big Bento/window/compcontrols.png" x="48" y="0" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="video.button.2x.hover" file="../Big Bento/window/compcontrols.png" x="48" y="21" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="video.button.2x.down" file="../Big Bento/window/compcontrols.png" x="48" y="42" h="21" w="24" gammagroup="WindowText"/>
|
||||
|
||||
<!--<bitmap id="video.button.itv.normal" file="../Big Bento/window/compcontrols.png" x="72" y="0" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="video.button.itv.hover" file="../Big Bento/window/compcontrols.png" x="72" y="21" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="video.button.itv.down" file="../Big Bento/window/compcontrols.png" x="72" y="42" h="21" w="24" gammagroup="WindowText"/>-->
|
||||
|
||||
<bitmap id="video.button.cfg.normal" file="../Big Bento/window/compcontrols.png" x="96" y="0" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="video.button.cfg.hover" file="../Big Bento/window/compcontrols.png" x="96" y="21" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="video.button.cfg.down" file="../Big Bento/window/compcontrols.png" x="96" y="42" h="21" w="24" gammagroup="WindowText"/>
|
||||
|
||||
<bitmap id="video.button.pin.normal1" file="../Big Bento/window/compcontrols.png" x="208" y="0" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="video.button.pin.hover1" file="../Big Bento/window/compcontrols.png" x="208" y="21" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="video.button.pin.down1" file="../Big Bento/window/compcontrols.png" x="208" y="42" h="21" w="24" gammagroup="WindowText"/>
|
||||
|
||||
<bitmap id="video.button.pin.normal0" file="../Big Bento/window/compcontrols.png" x="232" y="0" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="video.button.pin.hover0" file="../Big Bento/window/compcontrols.png" x="232" y="21" h="21" w="24" gammagroup="WindowText"/>
|
||||
<bitmap id="video.button.pin.down0" file="../Big Bento/window/compcontrols.png" x="232" y="42" h="21" w="24" gammagroup="WindowText"/>
|
||||
|
||||
|
||||
<!-- Visualizer -->
|
||||
|
||||
<bitmap id="vis.button.prev.normal" file="../Big Bento/window/compcontrols.png" x="120" y="0" h="21" w="21" gammagroup="WindowText"/>
|
||||
<bitmap id="vis.button.prev.hover" file="../Big Bento/window/compcontrols.png" x="120" y="21" h="21" w="21" gammagroup="WindowText"/>
|
||||
<bitmap id="vis.button.prev.down" file="../Big Bento/window/compcontrols.png" x="120" y="42" h="21" w="21" gammagroup="WindowText"/>
|
||||
|
||||
<bitmap id="vis.button.next.normal" file="../Big Bento/window/compcontrols.png" x="141" y="0" h="21" w="21" gammagroup="WindowText"/>
|
||||
<bitmap id="vis.button.next.hover" file="../Big Bento/window/compcontrols.png" x="141" y="21" h="21" w="21" gammagroup="WindowText"/>
|
||||
<bitmap id="vis.button.next.down" file="../Big Bento/window/compcontrols.png" x="141" y="42" h="21" w="21" gammagroup="WindowText"/>
|
||||
|
||||
<bitmap id="vis.button.random.normal" file="../Big Bento/window/compcontrols.png" x="162" y="0" h="21" w="25" gammagroup="WindowText"/>
|
||||
<bitmap id="vis.button.random.hover" file="../Big Bento/window/compcontrols.png" x="162" y="21" h="21" w="25" gammagroup="WindowText"/>
|
||||
<bitmap id="vis.button.random.down" file="../Big Bento/window/compcontrols.png" x="162" y="42" h="21" w="25" gammagroup="WindowText"/>
|
||||
<bitmap id="vis.button.random.active" file="../Big Bento/window/compcontrols.png" x="162" y="63" h="21" w="25" gammagroup="PlayerButtonActive"/>
|
||||
|
||||
<bitmap id="vis.button.presets.normal" file="../Big Bento/window/compcontrols.png" x="187" y="0" h="21" w="21" gammagroup="WindowText"/>
|
||||
<bitmap id="vis.button.presets.hover" file="../Big Bento/window/compcontrols.png" x="187" y="21" h="21" w="21" gammagroup="WindowText"/>
|
||||
<bitmap id="vis.button.presets.down" file="../Big Bento/window/compcontrols.png" x="187" y="42" h="21" w="21" gammagroup="WindowText"/>
|
||||
|
||||
|
||||
<!-- Equalizer -->
|
||||
|
||||
<bitmap id="equalizer.background" file="window/equalizer.png" x="0" y="0" h="92" w="188" gammagroup="WindowText" />
|
||||
<bitmap id="equalizer.labels.winamp" file="../Big Bento/window/equalizer.png" x="0" y="195" h="5" w="188" gammagroup="WindowText" />
|
||||
<bitmap id="equalizer.labels.iso" file="../Big Bento/window/equalizer.png" x="0" y="189" h="5" w="188" gammagroup="WindowText" />
|
||||
<bitmap id="equalizer.button.xfade.normal" file="window/equalizer.png" x="0" y="92" h="12" w="25" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.button.xfade.hover" file="window/equalizer.png" x="0" y="104" h="12" w="25" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.button.xfade.down" file="window/equalizer.png" x="0" y="116" h="12" w="25" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.button.xfade.active" file="window/equalizer.png" x="51" y="105" h="21" w="31" gammagroup="PlayerButtonActive" />
|
||||
|
||||
<bitmap id="equalizer.button.decrease.normal" file="window/equalizer.png" x="25" y="92" h="12" w="13" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.button.decrease.hover" file="window/equalizer.png" x="25" y="104" h="12" w="13" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.button.decrease.down" file="window/equalizer.png" x="25" y="116" h="12" w="13" gammagroup="PlayerButton" />
|
||||
|
||||
<bitmap id="equalizer.button.increase.normal" file="window/equalizer.png" x="38" y="92" h="12" w="13" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.button.increase.hover" file="window/equalizer.png" x="38" y="104" h="12" w="13" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.button.increase.down" file="window/equalizer.png" x="38" y="116" h="12" w="13" gammagroup="PlayerButton" />
|
||||
|
||||
<bitmap id="equalizer.xfade.display" file="window/equalizer.png" x="51" y="92" h="12" w="19" gammagroup="PlayerDisplay" />
|
||||
|
||||
<bitmap id="equalizer.button.eqon.normal" file="window/equalizer.png" x="0" y="128" h="13" w="25" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.button.eqon.hover" file="window/equalizer.png" x="0" y="141" h="13" w="25" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.button.eqon.down" file="window/equalizer.png" x="0" y="154" h="13" w="25" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.button.eqon.active" file="window/equalizer.png" x="0" y="167" h="22" w="29" gammagroup="PlayerButtonActive" />
|
||||
|
||||
<bitmap id="equalizer.button.auto.normal" file="window/equalizer.png" x="25" y="128" h="13" w="32" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.button.auto.hover" file="window/equalizer.png" x="25" y="141" h="13" w="32" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.button.auto.down" file="window/equalizer.png" x="25" y="154" h="13" w="32" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.button.auto.active" file="window/equalizer.png" x="29" y="167" h="22" w="44" gammagroup="PlayerButtonActive" />
|
||||
|
||||
<bitmap id="equalizer.button.presets.normal" file="window/equalizer.png" x="57" y="128" h="13" w="47" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.button.presets.hover" file="window/equalizer.png" x="57" y="141" h="13" w="47" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.button.presets.down" file="window/equalizer.png" x="57" y="154" h="13" w="47" gammagroup="PlayerButton" />
|
||||
|
||||
<bitmap id="equalizer.slider.balance.background" file="window/equalizer.png" x="70" y="92" h="10" w="78" gammagroup="PlayerSliderBackground" />
|
||||
<bitmap id="equalizer.slider.balance.normal" file="window/equalizer.png" x="148" y="92" h="10" w="17" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.slider.balance.hover" file="window/equalizer.png" x="165" y="92" h="10" w="17" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.slider.balance.down" file="window/equalizer.png" x="182" y="92" h="10" w="17" gammagroup="PlayerButton" />
|
||||
|
||||
<bitmap id="equalizer.slider.eqband.background" file="window/equalizer.png" x="104" y="102" h="55" w="11" gammagroup="PlayerSliderBackground" />
|
||||
<bitmap id="equalizer.slider.eqband.normal" file="window/equalizer.png" x="115" y="102" h="19" w="11" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.slider.eqband.hover" file="window/equalizer.png" x="115" y="121" h="19" w="11" gammagroup="PlayerButton" />
|
||||
<bitmap id="equalizer.slider.eqband.down" file="window/equalizer.png" x="115" y="140" h="19" w="11" gammagroup="PlayerButton" />
|
||||
|
||||
|
||||
<!-- Config -->
|
||||
|
||||
<bitmap id="config.button.text.windowsizing" file="window/config.png" x="0" y="0" h="14" w="72" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.button.text.visualization" file="window/config.png" x="72" y="0" h="14" w="72" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.button.text.songticker" file="window/config.png" x="0" y="14" h="14" w="72" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.button.text.colorthemes" file="window/config.png" x="0" y="28" h="14" w="72" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.button.text.notifier" file="window/config.png" x="0" y="42" h="14" w="72" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.button.text.appearance" file="window/config.png" x="0" y="56" h="14" w="72" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="config.button.selected" file="$solid" h="14" w="72" color="49,53,64" gammagroup="SelectionBg"/>
|
||||
<bitmap id="config.button.hover" file="$solid" h="14" w="72" color="31,35,44" gammagroup="SelectionBg"/>
|
||||
|
||||
<bitmap id="config.vdivider" file="$solid" h="90" w="2" color="32,34,35" gammagroup="WindowBackground"/>
|
||||
|
||||
<bitmap id="config.checkbox.active" file="window/config.png" x="158" y="84" h="12" w="12" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.checkbox.inactive" file="window/config.png" x="170" y="84" h="12" w="12" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="config.windowsizing.text" file="window/config.png" x="0" y="70" h="74" w="158" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.windowsizing.autoresize.hover" file="window/config.png" x="158" y="70" h="12" w="158" gammagroup="SelectionBg"/>
|
||||
<bitmap id="config.windowsizing.titlebar.maximize.hover" file="window/config.png" x="158" y="70" h="12" w="54" gammagroup="SelectionBg"/>
|
||||
<bitmap id="config.windowsizing.titlebar.shade.hover" file="window/config.png" x="158" y="70" h="12" w="89" gammagroup="SelectionBg"/>
|
||||
|
||||
<bitmap id="config.appearance.text" file="window/config.png" x="0" y="144" h="74" w="158" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="config.colorthemes.button.prev.normal" file="window/controls.png" x="0" y="104" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="config.colorthemes.button.prev.hover" file="window/controls.png" x="25" y="104" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="config.colorthemes.button.prev.down" file="window/controls.png" x="50" y="104" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="config.colorthemes.button.next.normal" file="window/controls.png" x="0" y="117" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="config.colorthemes.button.next.hover" file="window/controls.png" x="25" y="117" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
<bitmap id="config.colorthemes.button.next.down" file="window/controls.png" x="50" y="117" h="13" w="25" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="config.colorthemes.button.set.normal" file="window/controls.png" x="0" y="130" h="13" w="31" gammagroup="PlayerButton"/>
|
||||
<bitmap id="config.colorthemes.button.set.hover" file="window/controls.png" x="31" y="130" h="13" w="31" gammagroup="PlayerButton"/>
|
||||
<bitmap id="config.colorthemes.button.set.down" file="window/controls.png" x="62" y="130" h="13" w="31" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="config.colorthemes.button.more.normal" file="window/controls.png" x="0" y="182" h="13" w="31" gammagroup="PlayerButton"/>
|
||||
<bitmap id="config.colorthemes.button.more.hover" file="window/controls.png" x="31" y="182" h="13" w="31" gammagroup="PlayerButton"/>
|
||||
<bitmap id="config.colorthemes.button.more.down" file="window/controls.png" x="62" y="182" h="13" w="31" gammagroup="PlayerButton"/>
|
||||
|
||||
<bitmap id="config.songticker.text" file="window/config.png" x="0" y="218" h="74" w="158" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.songticker.scroll.hover" file="window/config.png" x="158" y="70" h="12" w="144" gammagroup="SelectionBg"/>
|
||||
<bitmap id="config.appearance.2.text" file="window/config.png" x="0" y="440" h="74" w="158" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.notifier.text" file="window/config.png" x="158" y="144" h="74" w="158" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.notifier.show.text" file="window/config.png" x="158" y="218" h="74" w="158" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.notifier.location.text" file="window/config.png" x="158" y="292" h="74" w="158" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.notifier.animation.text" file="window/config.png" x="0" y="292" h="74" w="158" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.visualization.text" file="window/config.png" x="0" y="366" h="74" w="158" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="config.notifier.sub.hover" file="window/config.png" x="158" y="112" h="12" w="158" gammagroup="SelectionBg"/>
|
||||
<bitmap id="config.notifier.show.hover" file="window/config.png" x="158" y="70" h="12" w="139" gammagroup="SelectionBg"/>
|
||||
<bitmap id="config.notifier.location.top.hover" file="window/config.png" x="158" y="70" h="12" w="66" gammagroup="SelectionBg"/>
|
||||
<bitmap id="config.notifier.location.bottom.hover" file="window/config.png" x="158" y="70" h="12" w="81" gammagroup="SelectionBg"/>
|
||||
<bitmap id="config.notifier.location.relative.hover" file="window/config.png" x="158" y="70" h="12" w="106" gammagroup="SelectionBg"/>
|
||||
<bitmap id="config.notifier.animation.hover" file="window/config.png" x="158" y="70" h="12" w="83" gammagroup="SelectionBg"/>
|
||||
|
||||
<bitmap id="config.bitmapfont.source" file="window/config.png" x="158" y="0" h="42" w="158" gammagroup="DisplayText"/>
|
||||
<bitmapfont id="config.bitmapfont" file="config.bitmapfont.source" charwidth="7" charheight="14" hspacing="0" vspacing="0"/>
|
||||
|
||||
<bitmap id="config.button.left.normal" file="window/config.png" x="183" y="98" h="12" w="8" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.button.right.normal" file="window/config.png" x="191" y="98" h="12" w="8" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="config.button.left.hover" file="window/config.png" x="199" y="98" h="12" w="8" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.button.right.hover" file="window/config.png" x="207" y="98" h="12" w="8" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="config.button.left.down" file="window/config.png" x="215" y="98" h="12" w="8" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.button.right.down" file="window/config.png" x="223" y="98" h="12" w="8" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="config.notifier.text.always" file="window/config.png" x="171" y="218" h="12" w="48" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.notifier.text.shade_minimized" file="window/config.png" x="158" y="28" h="12" w="80" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.notifier.text.minimized" file="window/config.png" x="196" y="28" h="12" w="42" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.notifier.text.never" file="window/config.png" x="171" y="260" h="12" w="58" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="config.notifier.text.topleft" file="window/config.png" x="171" y="292" h="12" w="50" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.notifier.text.topcenter" file="window/config.png" x="171" y="306" h="12" w="50" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.notifier.text.topright" file="window/config.png" x="171" y="320" h="12" w="50" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="config.notifier.text.bottomleft" file="window/config.png" x="248" y="292" h="12" w="65" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.notifier.text.bottomcenter" file="window/config.png" x="248" y="306" h="12" w="65" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.notifier.text.bottomright" file="window/config.png" x="248" y="320" h="12" w="65" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="config.notifier.text.alphafade" file="window/config.png" x="13" y="292" h="12" w="68" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.notifier.text.vslide" file="window/config.png" x="158" y="56" h="12" w="68" gammagroup="DisplayText"/>
|
||||
<bitmap id="config.notifier.text.hslide" file="window/config.png" x="158" y="42" h="12" w="68" gammagroup="DisplayText"/>
|
||||
|
||||
<bitmap id="config.background.over" file="window/songinfo-gradient.png" x="0" y="13" h="13" w="74" gammagroup="PlayerDisplay"/>
|
||||
|
||||
|
||||
<!-- Shade -->
|
||||
|
||||
<bitmap id="shade.resizer.right" file="window/shade.png" x="0" y="48" h="18" w="5" gammagroup="Titlebar"/>
|
||||
|
||||
<bitmap id="shade.button.previous.normal" file="window/shade.png" x="0" y="0" h="16" w="14" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.play.normal" file="window/shade.png" x="14" y="0" h="16" w="12" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.pause.normal" file="window/shade.png" x="26" y="0" h="16" w="12" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.stop.normal" file="window/shade.png" x="38" y="0" h="16" w="14" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.next.normal" file="window/shade.png" x="52" y="0" h="16" w="14" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.eject.normal" file="window/shade.png" x="66" y="0" h="16" w="15" gammagroup="ShadeButton"/>
|
||||
|
||||
<bitmap id="shade.button.previous.hover" file="window/shade.png" x="0" y="16" h="16" w="14" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.play.hover" file="window/shade.png" x="14" y="16" h="16" w="12" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.pause.hover" file="window/shade.png" x="26" y="16" h="16" w="12" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.stop.hover" file="window/shade.png" x="38" y="16" h="16" w="14" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.next.hover" file="window/shade.png" x="52" y="16" h="16" w="14" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.eject.hover" file="window/shade.png" x="66" y="16" h="16" w="15" gammagroup="ShadeButton"/>
|
||||
|
||||
<bitmap id="shade.button.previous.down" file="window/shade.png" x="0" y="32" h="16" w="14" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.play.down" file="window/shade.png" x="14" y="32" h="16" w="12" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.pause.down" file="window/shade.png" x="26" y="32" h="16" w="12" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.stop.down" file="window/shade.png" x="38" y="32" h="16" w="14" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.next.down" file="window/shade.png" x="52" y="32" h="16" w="14" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.eject.down" file="window/shade.png" x="66" y="32" h="16" w="15" gammagroup="ShadeButton"/>
|
||||
|
||||
<bitmap id="shade.button.mute.normal" file="window/shade.png" x="81" y="0" h="16" w="16" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.mute.hover" file="window/shade.png" x="81" y="16" h="16" w="16" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.mute.down" file="window/shade.png" x="81" y="32" h="16" w="16" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.demute.normal" file="window/shade.png" x="96" y="0" h="16" w="16" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.demute.hover" file="window/shade.png" x="96" y="16" h="16" w="16" gammagroup="ShadeButton"/>
|
||||
<bitmap id="shade.button.demute.down" file="window/shade.png" x="96" y="32" h="16" w="16" gammagroup="ShadeButton"/>
|
||||
|
||||
<bitmap id="shade.display.left" file="window/shade.png" x="5" y="48" h="18" w="2" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="shade.display.middle" file="window/shade.png" x="7" y="48" h="18" w="6" gammagroup="PlayerDisplay"/>
|
||||
<bitmap id="shade.display.right" file="window/shade.png" x="13" y="48" h="18" w="2" gammagroup="PlayerDisplay"/>
|
||||
|
||||
<bitmap id="shade.label.volume" file="window/shade.png" x="15" y="48" h="4" w="35" gammagroup="WindowText"/>
|
||||
<bitmap id="shade.track.volume" file="window/shade.png" x="50" y="48" h="5" w="40" gammagroup="WindowBackground"/>
|
||||
|
||||
<bitmap id="shade.track.seek.left" file="window/shade.png" x="50" y="48" h="5" w="5" gammagroup="PlayerSliderBackground"/>
|
||||
<bitmap id="shade.track.seek.middle" file="window/shade.png" x="55" y="48" h="5" w="5" gammagroup="PlayerSliderBackground"/>
|
||||
<bitmap id="shade.track.seek.right" file="window/shade.png" x="85" y="48" h="5" w="5" gammagroup="PlayerSliderBackground"/>
|
||||
|
||||
<bitmap id="shade.volume.thumb.normal" file="window/shade.png" x="15" y="53" h="10" w="10" gammagroup="PlayerShadeSlider"/>
|
||||
<bitmap id="shade.volume.thumb.hover" file="window/shade.png" x="25" y="53" h="10" w="10" gammagroup="PlayerShadeSlider"/>
|
||||
<bitmap id="shade.volume.thumb.down" file="window/shade.png" x="35" y="53" h="10" w="10" gammagroup="PlayerShadeSlider"/>
|
||||
|
||||
<bitmap id="shade.seek.thumb.normal" file="window/shade.png" x="45" y="53" h="10" w="16" gammagroup="PlayerShadeSlider"/>
|
||||
<bitmap id="shade.seek.thumb.hover" file="window/shade.png" x="61" y="53" h="10" w="16" gammagroup="PlayerShadeSlider"/>
|
||||
<bitmap id="shade.seek.thumb.down" file="window/shade.png" x="77" y="53" h="10" w="16" gammagroup="PlayerShadeSlider"/>
|
||||
|
||||
<bitmap id="shade.button.search.normal" file="window/shade.png" x="120" y="0" h="16" w="18" gammagroup="WindowBackground"/>
|
||||
<bitmap id="shade.button.search.hover" file="window/shade.png" x="120" y="18" h="16" w="18" gammagroup="WindowBackground"/>
|
||||
<bitmap id="shade.button.search.down" file="window/shade.png" x="120" y="36" h="16" w="18" gammagroup="WindowBackground"/>
|
||||
|
||||
<bitmap id="shade.button.icon.nowplaying" file="window/shade.png" x="140" y="18" h="16" w="18" gammagroup="PlayerButton"/>
|
||||
<bitmap id="shade.button.icon.search" file="window/shade.png" x="140" y="36" h="16" w="18" gammagroup="PlayerButton"/>
|
||||
|
||||
</elements>
|
486
Src/resources/skins/Bento/xml/player-normal-group.xml
Normal file
@ -0,0 +1,486 @@
|
||||
<!-- Player:Component:Player -->
|
||||
|
||||
<groupdef id="player.display.beatvis.content">
|
||||
|
||||
<animatedlayer id="beatvisleft" x="0" y="0" h="28" w="43" image="player.beatvis.left" move="0" autoplay="0" autoreplay="0" ghost="1" />
|
||||
<animatedlayer id="beatvisright" x="44" y="0" h="28" w="43" image="player.beatvis.right" move="0" autoplay="0" autoreplay="0" ghost="1" />
|
||||
|
||||
<togglebutton fitparent="1" rectrgn="1" cfgattrib="{F1036C9C-3919-47ac-8494-366778CF10F9};Enable Beat Visualization" tooltip="Toggle Beat Visualization"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="player.display.beatvis">
|
||||
|
||||
<group id="player.display.beatvis.content" x="0" y="0" w="87" h="28" />
|
||||
|
||||
<script file="../Big Bento/scripts/beatvisualization.maki"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="player.display">
|
||||
|
||||
<grid x="0" y="0" h="54" w="0" relatw="1" left="player.display.background.left" middle="player.display.background.center" right="player.display.background.right" move="1"/>
|
||||
<grid x="0" y="0" h="54" w="0" relatw="1" left="player.display.foreground.left" middle="player.display.foreground.center" right="player.display.foreground.right" move="1"/>
|
||||
|
||||
<status
|
||||
id="status" w="5" h="6"
|
||||
x="-122" y="20" relatx="1" move="1"
|
||||
stopBitmap="player.display.status.stopped"
|
||||
playBitmap="player.display.status.playing"
|
||||
pauseBitmap="player.display.status.paused"
|
||||
/>
|
||||
|
||||
<text id="SongTime"
|
||||
x="11" y="5" h="27" w="99"
|
||||
font="player.bitmapfont.nums" timecolonwidth="6"
|
||||
display="time" align="left" alpha="220"
|
||||
/>
|
||||
|
||||
<SongTicker id="Songticker"
|
||||
x="70" y="3" h="20" w="-72" relatw="1"
|
||||
showlen="1" rightpadding="-3"
|
||||
rightclickaction="trackmenu" dblclickaction="trackinfo" align="right"
|
||||
color="color.display" fontsize="13" valign="top" bold="2"
|
||||
/>
|
||||
<Text id="InfoDisplay"
|
||||
x="70" y="3" h="20" w="-72" relatw="1" alpha="0"
|
||||
display="SONGTITLE" showlen="1" offsetx="-3" align="right"
|
||||
color="color.display" fontsize="13" valign="top" bold="2" ghost="1"
|
||||
/>
|
||||
|
||||
<script file="../Big Bento/scripts/songticker.maki" param="-7,small"/>
|
||||
|
||||
<!-- Bitrate -->
|
||||
<layer id="Bitrate.label" x="-96" relatx="1" y="20" image="player.songinfo.bitrate" move="1"/>
|
||||
<text
|
||||
id="Bitrate" move="1"
|
||||
x="-118" y="20" w="20" h="5" relatx="1" fontsize="5" font="player.bitmapfont.songinfo" align="right"
|
||||
/>
|
||||
|
||||
<!-- Frequency -->
|
||||
<layer id="Frequency.label" x="-63" y="20" relatx="1" image="player.songinfo.frequency" move="1"/>
|
||||
<text
|
||||
id="Frequency" move="1"
|
||||
display="SONGSAMPLERATE" textrefreshrate="500"
|
||||
x="-80" y="20" w="15" h="5" relatx="1" fontsize="5" font="player.bitmapfont.songinfo" align="right"
|
||||
/>
|
||||
|
||||
<layer id="monster" x="-45" y="20" h="5" w="40" relatx="1" image="player.songinfo.na" move="1" rectrgn="1" dblclickaction="WA5:Prefs" dblclickparam="42" />
|
||||
|
||||
<script file="../Big Bento/scripts/songinfo.maki" param="small"/>
|
||||
|
||||
<vis
|
||||
id="main.vis"
|
||||
x="15" y="31"
|
||||
w="72" h="16"
|
||||
colorbandpeak="162,193,204"
|
||||
colorband1="82,97,102"
|
||||
colorband2="74,88,93"
|
||||
colorband3="78,92,97"
|
||||
colorband4="83,97,104"
|
||||
colorband5="88,102,107"
|
||||
colorband6="94,107,112"
|
||||
colorband7="100,113,118"
|
||||
colorband8="106,120,125"
|
||||
colorband9="112,121,131"
|
||||
colorband10="117,131,136"
|
||||
colorband11="122,137,142"
|
||||
colorband12="127,141,146"
|
||||
colorband13="131,145,150"
|
||||
colorband14="136,150,155"
|
||||
colorband15="140,154,159"
|
||||
colorband16="145,159,164"
|
||||
colorosc1="82,97,102"
|
||||
colorosc2="83,97,104"
|
||||
colorosc3="106,120,125"
|
||||
colorosc4="127,141,146"
|
||||
colorosc5="145,159,164"
|
||||
gammagroup="DisplayText"
|
||||
/>
|
||||
|
||||
<vis
|
||||
id="main.vis.mirror"
|
||||
x="15" y="48"
|
||||
w="72" h="16"
|
||||
colorbandpeak="83,97,104"
|
||||
colorband1="82,97,102"
|
||||
colorband2="74,88,93"
|
||||
colorband3="78,92,97"
|
||||
colorband4="83,97,104"
|
||||
colorband5="88,102,107"
|
||||
colorband6="94,107,112"
|
||||
colorband7="100,113,118"
|
||||
colorband8="106,120,125"
|
||||
colorband9="112,121,131"
|
||||
colorband10="117,131,136"
|
||||
colorband11="122,137,142"
|
||||
colorband12="127,141,146"
|
||||
colorband13="131,145,150"
|
||||
colorband14="136,150,155"
|
||||
colorband15="140,154,159"
|
||||
colorband16="145,159,164"
|
||||
colorosc1="82,97,102"
|
||||
colorosc2="83,97,104"
|
||||
colorosc3="106,120,125"
|
||||
colorosc4="127,141,146"
|
||||
colorosc5="145,159,164"
|
||||
ghost="1"
|
||||
alpha="100"
|
||||
flipv="1"
|
||||
mode="1"
|
||||
gammagroup="DisplayText"
|
||||
/>
|
||||
|
||||
<layer id="main.vis.trigger" x="15" y="33" h="21" w="72" rectrgn="1"/>
|
||||
|
||||
<group id="player.display.beatvis" x="86" y="28" w="-208" h="28" relatw="1"/>
|
||||
|
||||
<script file="../Big Bento/scripts/visualizer.maki" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="player.cbuttons">
|
||||
|
||||
<layer x="0" y="0" image="player.button.previous.placeholder" move="0"/>
|
||||
<Button id="Prev"
|
||||
x="0" y="0" h="24" w="26"
|
||||
image="player.button.previous.normal"
|
||||
hoverImage="player.button.previous.hover"
|
||||
downImage="player.button.previous.down"
|
||||
action="PREV" tooltip="Previous Track"
|
||||
/>
|
||||
<layer id="Prev.glow" x="0" y="0" image="player.button.previous.glow" alpha="0" ghost="1"/>
|
||||
|
||||
<layer x="25" y="0" image="player.button.play.placeholder" move="0"/>
|
||||
<Button id="Play"
|
||||
x="25" y="0" h="24" w="22"
|
||||
image="player.button.play.normal"
|
||||
hoverImage="player.button.play.hover"
|
||||
downImage="player.button.play.down"
|
||||
action="PLAY" tooltip="Play"
|
||||
/>
|
||||
<layer id="Play.glow" x="25" y="0" image="player.button.pps.glow" alpha="0" ghost="1"/>
|
||||
|
||||
<layer x="46" y="0" image="player.button.pause.placeholder" move="0"/>
|
||||
<Button id="Pause"
|
||||
x="46" y="0" h="24" w="22"
|
||||
image="player.button.pause.normal"
|
||||
hoverImage="player.button.pause.hover"
|
||||
downImage="player.button.pause.down"
|
||||
action="PAUSE" tooltip="Pause Playback"
|
||||
/>
|
||||
<layer id="Pause.glow" x="46" y="0" image="player.button.pps.glow" alpha="0" ghost="1"/>
|
||||
|
||||
<layer x="67" y="0" image="player.button.stop.placeholder" move="0"/>
|
||||
<Button id="Stop"
|
||||
x="67" y="0" h="24" w="22"
|
||||
image="player.button.stop.normal"
|
||||
hoverImage="player.button.stop.hover"
|
||||
downImage="player.button.stop.down"
|
||||
action="STOP" tooltip="Stop Playback"
|
||||
/>
|
||||
<layer id="Stop.glow" x="67" y="0" image="player.button.pps.glow" alpha="0" ghost="1"/>
|
||||
|
||||
<layer x="88" y="0" image="player.button.next.placeholder" move="0"/>
|
||||
<Button id="Next"
|
||||
x="88" y="0" h="24" w="26"
|
||||
image="player.button.next.normal"
|
||||
hoverImage="player.button.next.hover"
|
||||
downImage="player.button.next.down"
|
||||
action="NEXT" tooltip="Next Track"
|
||||
/>
|
||||
<layer id="Next.glow" x="88" y="0" image="player.button.next.glow" alpha="0" ghost="1"/>
|
||||
|
||||
<layer x="-112" y="3" relatx="1" image="player.button.eject.placeholder" move="0"/>
|
||||
<Button id="Eject"
|
||||
x="-112" y="3" h="17" w="25" relatx="1"
|
||||
image="player.button.eject.normal"
|
||||
hoverImage="player.button.eject.hover"
|
||||
downImage="player.button.eject.down"
|
||||
action="EJECT" tooltip="Open File(s)"
|
||||
/>
|
||||
<layer id="Eject.glow" x="-112" y="3" relatx="1" image="player.button.Eject.glow" alpha="0" ghost="1"/>
|
||||
|
||||
<layer x="-83" y="3" relatx="1" image="player.button.shuffle.placeholder" move="0"/>
|
||||
<NStatesButton
|
||||
id="shuffle"
|
||||
x="-83" y="3" w="32" h="17" relatx="1"
|
||||
image="player.button.shuffle.normal"
|
||||
hoverimage="player.button.shuffle.hover"
|
||||
downimage="player.button.shuffle.down"
|
||||
extendedSongtickerMessage="Shuffle: On; Shuffle: Off"
|
||||
rectrgn="1" nstates="2"
|
||||
tooltip="Toggle Playlist Shuffling"
|
||||
cfgattrib="{45F3F7C1-A6F3-4EE6-A15E-125E92FC3F8D};Shuffle"
|
||||
/>
|
||||
<layer id="shuffle.glow" x="-83" y="3" relatx="1" image="player.button.shuffle.glow" alpha="0" ghost="1"/>
|
||||
|
||||
<layer x="-51" y="3" relatx="1" image="player.button.repeat.placeholder" move="0"/>
|
||||
<NStatesButton
|
||||
id="repeat"
|
||||
x="-54" y="3" w="27" h="17" relatx="1"
|
||||
image="player.button.repeat.normal"
|
||||
hoverimage="player.button.repeat.hover"
|
||||
downimage="player.button.repeat.down"
|
||||
extendedSongtickerMessage="Repeat: Playlist;Repeat: Track;Repeat: Off"
|
||||
rectrgn="1" nstates="3"
|
||||
tooltip="Toggle Playlist/Song Repeating"
|
||||
cfgattrib="{45F3F7C1-A6F3-4EE6-A15E-125E92FC3F8D};Repeat"
|
||||
cfgvals="0;1;-1"
|
||||
/>
|
||||
<layer id="repeat.glow" x="-54" y="3" relatx="1" image="player.button.repeat.glow" alpha="0" ghost="1"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="player.layout" wantfocus="1" rectrgn="1" move="1">
|
||||
|
||||
<group id="player.display" x="3" w="-4" relatw="1" h="54" y="0"/>
|
||||
|
||||
<!-- Volume -->
|
||||
|
||||
<layer id="player.placeholder.mute" x="-112" y="40" relatx="1" image="player.button.mute.placeholder" move="0"/>
|
||||
|
||||
<button id="mute" x="-111" y="40" w="25" h="14" relatx="1"
|
||||
image="player.button.mute.normal"
|
||||
hoverImage="player.button.mute.hover"
|
||||
downImage="player.button.mute.down"
|
||||
tooltip="Mute Volume"
|
||||
/>
|
||||
<button id="etum" x="-111" y="40" w="25" h="14" relatx="1"
|
||||
image="player.button.demute.normal"
|
||||
hoverImage="player.button.demute.hover"
|
||||
downImage="player.button.demute.down"
|
||||
tooltip="Turn Volume On"
|
||||
visible="0"
|
||||
/>
|
||||
|
||||
<layer id="mute.glow" x="-112" y="39" relatx="1" image="player.button.mute.glow" alpha="0" ghost="1"/>
|
||||
<layer id="mute.active" x="-115" y="33" relatx="1" image="player.button.mute.active" visible="0" ghost="1"/>
|
||||
|
||||
<layer id="player.volume.label" x="-78" y="34" relatx="1" image="player.label.volume" move="1"/>
|
||||
|
||||
<grid id="player.volume.bg"
|
||||
x="-80" y="44" h="5" w="78" relatx="1"
|
||||
left="player.slider.background.left"
|
||||
middle="player.slider.background.center"
|
||||
right="player.slider.background.right"
|
||||
/>
|
||||
|
||||
<grid id="player.volume.fill"
|
||||
x="-78" y="46" h="2" w="76" relatx="1"
|
||||
left="player.slider.light.left"
|
||||
middle="player.slider.light.center"
|
||||
right="player.slider.light.right"
|
||||
/>
|
||||
|
||||
<Slider
|
||||
id="Volume"
|
||||
action="Volume"
|
||||
x="-81" y="43" h="10" w="80" relatx="1"
|
||||
thumb="player.volume.thumb.normal"
|
||||
hoverThumb="player.volume.thumb.hover"
|
||||
downThumb="player.volume.thumb.down"
|
||||
tooltip="Volume"
|
||||
/>
|
||||
|
||||
<script file="../Big Bento/scripts/mute.maki" param="76"/>
|
||||
<!-- param = max_w for volume fillbar -->
|
||||
|
||||
<!-- Seek -->
|
||||
|
||||
<grid id="player.seek.bg"
|
||||
x="4" y="60" h="5" w="-6" relatw="1"
|
||||
left="player.slider.background.left"
|
||||
middle="player.slider.background.center"
|
||||
right="player.slider.background.right"
|
||||
/>
|
||||
|
||||
<ProgressGrid id="progressbar"
|
||||
x="6" y="62" h="2" w="-8" relatw="1"
|
||||
orientation="right"
|
||||
left="player.slider.light.left"
|
||||
middle="player.slider.light.center"
|
||||
right="player.slider.light.right"
|
||||
/>
|
||||
|
||||
<Slider
|
||||
id="seeker"
|
||||
action="SEEK"
|
||||
x="3" y="59" h="10" w="-4" relatw="1"
|
||||
thumb="player.posbar.thumb.normal"
|
||||
hoverThumb="player.posbar.thumb.hover"
|
||||
downThumb="player.posbar.thumb.down"
|
||||
ghost="1"
|
||||
visible="0"
|
||||
tooltip="Seeker"
|
||||
/>
|
||||
|
||||
<Slider
|
||||
id="seeker.ghost"
|
||||
action="SEEK"
|
||||
x="3" y="59" h="10" w="-4" relatw="1"
|
||||
thumb="player.posbar.thumb.normal"
|
||||
hoverThumb="player.posbar.thumb.hover"
|
||||
downThumb="player.posbar.thumb.down"
|
||||
tooltip="Seeker"
|
||||
/>
|
||||
|
||||
<script file="../Big Bento/scripts/seek.maki"/>
|
||||
|
||||
<group id="player.cbuttons" x="0" y="70" h="32" w="0" relatw="1"/>
|
||||
<NStatesButton id="shuffle.active" x="-84" relatx="1" y="66" image="player.button.shuffle.active" ghost="1" cfgattrib="{45F3F7C1-A6F3-4EE6-A15E-125E92FC3F8D};Shuffle" nstates="2"/>
|
||||
<NStatesButton id="repeat.active" x="-56" relatx="1" y="66" image="player.button.repeat.active" ghost="1" cfgattrib="{45F3F7C1-A6F3-4EE6-A15E-125E92FC3F8D};Repeat" cfgvals="0;1;-1" nstates="3"/>
|
||||
|
||||
<script file="../Big Bento/scripts/cbuttons.maki" param="226"/>
|
||||
<!-- Param defines the min_w of the cbuttons group -->
|
||||
|
||||
</groupdef>
|
||||
|
||||
<!-- Player:Titlebar -->
|
||||
|
||||
<groupdef id="player.mainmenu" rectregn="1" >
|
||||
|
||||
<!-- Note: Most of the items in this group will be placed by script, so don't waste your time -->
|
||||
|
||||
<layer id="menu.text.file" x="0" y="4" h="9" image="window.titlebar.menu.text.file" />
|
||||
<layer id="menu.layer.file.normal" x="0" y="0" h="20" w="0" image="window.titlebar.menu.normal" visible="1" />
|
||||
<layer id="menu.layer.file.hover" x="0" y="0" h="20" w="0" image="window.titlebar.menu.down" visible="0" />
|
||||
<layer id="menu.layer.file.down" x="0" y="0" h="20" w="0" image="window.titlebar.menu.down" visible="0" />
|
||||
|
||||
<layer id="menu.text.play" x="0" y="4" h="9" image="window.titlebar.menu.text.play" />
|
||||
<layer id="menu.layer.play.normal" x="0" y="0" h="20" w="0" image="window.titlebar.menu.normal" visible="1" />
|
||||
<layer id="menu.layer.play.hover" x="0" y="0" h="20" w="0" image="window.titlebar.menu.down" visible="0" />
|
||||
<layer id="menu.layer.play.down" x="0" y="0" h="20" w="0" image="window.titlebar.menu.down" visible="0" />
|
||||
|
||||
<layer id="menu.text.options" x="0" y="4" h="9" image="window.titlebar.menu.text.options" />
|
||||
<layer id="menu.layer.options.normal" x="0" y="0" h="20" w="0" image="window.titlebar.menu.normal" visible="1" />
|
||||
<layer id="menu.layer.options.hover" x="0" y="0" h="20" w="0" image="window.titlebar.menu.down" visible="0" />
|
||||
<layer id="menu.layer.options.down" x="0" y="0" h="20" w="0" image="window.titlebar.menu.down" visible="0" />
|
||||
|
||||
<layer id="menu.text.view" x="0" y="4" h="9" image="window.titlebar.menu.text.view" />
|
||||
<layer id="menu.layer.view.normal" x="0" y="0" h="20" w="20" image="window.titlebar.menu.normal" visible="1" />
|
||||
<layer id="menu.layer.view.hover" x="0" y="0" h="20" w="0" image="window.titlebar.menu.down" visible="0" />
|
||||
<layer id="menu.layer.view.down" x="0" y="0" h="20" w="0" image="window.titlebar.menu.down" visible="0" />
|
||||
|
||||
<layer id="menu.text.help" x="0" y="4" h="9" image="window.titlebar.menu.text.help" />
|
||||
<layer id="menu.layer.help.normal" x="0" y="0" h="20" w="0" image="window.titlebar.menu.normal" visible="1" />
|
||||
<layer id="menu.layer.help.hover" x="0" y="0" h="20" w="0" image="window.titlebar.menu.down" visible="0" />
|
||||
<layer id="menu.layer.help.down" x="0" y="0" h="20" w="0" image="window.titlebar.menu.down" visible="0" />
|
||||
|
||||
<Menu id="File.menu" menugroup="main" next="Play.menu" prev="Help.menu" x="0" y="0" h="16" w="0" menu="WA5:File" normal="menu.layer.file.normal" hover="menu.layer.file.hover" down="menu.layer.file.down" />
|
||||
<Menu id="Play.menu" menugroup="main" next="Options.menu" prev="File.menu" x="0" y="0" h="16" w="0" menu="WA5:Play" normal="menu.layer.play.normal" hover="menu.layer.play.hover" down="menu.layer.play.down" />
|
||||
<Menu id="Options.menu" menugroup="main" next="View.menu" prev="Play.menu" x="0" y="0" h="16" w="0" menu="WA5:Options" normal="menu.layer.options.normal" hover="menu.layer.options.hover" down="menu.layer.options.down" />
|
||||
<Menu id="View.menu" menugroup="main" next="Help.menu" prev="Options.menu" x="0" y="0" h="16" w="0" menu="WA5:Windows" normal="menu.layer.view.normal" hover="menu.layer.view.hover" down="menu.layer.view.down" />
|
||||
<Menu id="Help.menu" menugroup="main" next="File.menu" prev="View.menu" x="0" y="0" h="16" w="0" menu="WA5:Help" normal="menu.layer.help.normal" hover="menu.layer.help.hover" down="menu.layer.help.down" />
|
||||
|
||||
<guiObject fitparent="1" id="menu.hidden.mousetrap" visible="0" move="1"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="player.titlebar">
|
||||
|
||||
<grid
|
||||
x="0" y="0" h="18" w="0" relatw="1" regionop="1"
|
||||
left="window.titlebar.grid.left"
|
||||
middle="window.titlebar.grid.middle"
|
||||
right="window.titlebar.grid.right"
|
||||
/>
|
||||
|
||||
<layer x="27" y="6" image="window.titlebar.text.winamp" ghost="1" />
|
||||
|
||||
<guiobject fitparent="1" rectrgn="1" move="1" id="player.mousetrap.maximize"/>
|
||||
|
||||
<layer id="titlebar.resizer.topleft" x="0" y="0" h="3" w="5" rectrgn="1" resize="topleft" />
|
||||
<layer id="titlebar.resizer.top" x="5" y="0" h="3" w="-10" relatw="1" rectrgn="1" resize="top" />
|
||||
<layer id="titlebar.resizer.topright" x="-5" y="0" h="3" w="5" relatx="1" rectrgn="1" resize="topright" />
|
||||
<layer x="0" y="3" h="15" w="5" rectrgn="1" resize="left" />
|
||||
<layer x="-5" y="3" h="15" w="5" relatx="1" rectrgn="1" resize="right" />
|
||||
<layer id="titlebar.resizer.disable" x="0" y="0" h="18" w="0" relatw="1" rectrgn="1" ghost="1" move="0"/>
|
||||
|
||||
<grid
|
||||
x="0" y="0" h="18" w="75" relatw="0" regionop="1" ghost="1"
|
||||
left="window.titlebar.grid.over.left"
|
||||
middle="window.titlebar.grid.over.middle"
|
||||
/>
|
||||
|
||||
<grid
|
||||
id="titlebar.grid.right"
|
||||
x="231" y="0" h="18" w="-231" relatw="1" regionop="1" ghost="1"
|
||||
middle="window.titlebar.grid.over.middle"
|
||||
right="window.titlebar.grid.over.right"
|
||||
/>
|
||||
|
||||
<group id="player.mainmenu" x="75" y="1" w="300" h="16"/>
|
||||
|
||||
<button
|
||||
x="5" y="2" h="13" w="20"
|
||||
action="SYSMENU"
|
||||
image="window.titlebar.button.sysmenu.normal"
|
||||
hoverImage="window.titlebar.button.sysmenu.hover"
|
||||
downImage="window.titlebar.button.sysmenu.down"
|
||||
tooltip="Main Menu"
|
||||
/>
|
||||
|
||||
<button
|
||||
x="-79" relatx="1" y="2" h="13" w="17"
|
||||
id="player.button.minimize"
|
||||
action="MINIMIZE"
|
||||
image="window.titlebar.button.minimize.normal"
|
||||
hoverImage="window.titlebar.button.minimize.hover"
|
||||
downImage="window.titlebar.button.minimize.down"
|
||||
tooltip="Minimize Winamp"
|
||||
/>
|
||||
|
||||
<button
|
||||
x="-60" relatx="1" y="2" h="13" w="17"
|
||||
id="player.titlebar.button.restore"
|
||||
image="window.titlebar.button.restore.normal"
|
||||
hoverImage="window.titlebar.button.restore.hover"
|
||||
downImage="window.titlebar.button.restore.down"
|
||||
tooltip="Restore Winamp"
|
||||
/>
|
||||
|
||||
<button
|
||||
x="-60" relatx="1" y="2" h="13" w="17"
|
||||
id="player.titlebar.button.maximize"
|
||||
image="window.titlebar.button.maximize.normal"
|
||||
hoverImage="window.titlebar.button.maximize.hover"
|
||||
downImage="window.titlebar.button.maximize.down"
|
||||
tooltip="Maximize Winamp"
|
||||
/>
|
||||
|
||||
<button
|
||||
x="-41" relatx="1" y="2" h="13" w="17"
|
||||
action="SWITCH" param="shade"
|
||||
image="window.titlebar.button.shade.normal"
|
||||
hoverImage="window.titlebar.button.shade.hover"
|
||||
downImage="window.titlebar.button.shade.down"
|
||||
tooltip="Windowshade Mode"
|
||||
/>
|
||||
|
||||
<button
|
||||
id="maximize.slam.close" visible="1"
|
||||
x="-22" relatx="1" y="0" h="15" w="22"
|
||||
rectrgn="1"
|
||||
action="CLOSE"
|
||||
tooltip="Exit Winamp"
|
||||
/>
|
||||
<button
|
||||
x="-22" relatx="1" y="2" h="13" w="17"
|
||||
action="CLOSE"
|
||||
image="window.titlebar.button.close.normal"
|
||||
hoverImage="window.titlebar.button.close.hover"
|
||||
downImage="window.titlebar.button.close.down"
|
||||
tooltip="Exit Winamp"
|
||||
/>
|
||||
|
||||
<script file="../Big Bento/scripts/mainmenu.maki"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="window.background.regions">
|
||||
<layer x="0" y="0" h="1" w="1" image="window.background.region" regionop="-2" />
|
||||
<layer x="-1" relatx="1" y="0" h="1" w="1" image="window.background.region" regionop="-2" />
|
||||
<layer x="0" y="-1" relaty="1" h="1" w="1" image="window.background.region" regionop="-2" />
|
||||
<layer x="-1" relatx="1" y="-1" relaty="1" h="1" w="1" image="window.background.region" regionop="-2" />
|
||||
</groupdef>
|
828
Src/resources/skins/Bento/xml/player-normal-mcv.xml
Normal file
@ -0,0 +1,828 @@
|
||||
<include file="config.xml"/>
|
||||
|
||||
<groupdef id="player.dualwnd.pl.info" wantfocus="1" rectrgn="1">
|
||||
|
||||
<Wasabi:Frame id="player.dualwnd" x="0" y="0" w="0" relath="0" h="92" from="r" relatw="1" orientation="v" maxwidth="-141" left="player.component.fileinfo" right="player.component.playlist.frame" minwidth="27" width="200" jump="right" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<!-- Player:Component:PlayList -->
|
||||
|
||||
<groupdef id="player.component.playlist.frame" wantfocus="1" rectrgn="1">
|
||||
|
||||
<Wasabi:Frame id="playlist.dualwnd" fitparent="1" from="bottom" orientation="h" maxheight="null" bottom="player.component.playlist.albumart" top="player.component.playlist" minheight="55" height="100" jump="0"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="player.component.playlist.albumart" wantfocus="1" rectrgn="1">
|
||||
|
||||
<grid fitparent="1"
|
||||
topleft="sui.background.topleft"
|
||||
top="sui.background.top"
|
||||
topright="sui.background.topright"
|
||||
left="sui.background.left"
|
||||
middle="sui.background.center"
|
||||
right="sui.background.right"
|
||||
bottomleft="sui.background.bottomleft"
|
||||
bottom="sui.background.bottom"
|
||||
bottomright="sui.background.bottomright"
|
||||
/>
|
||||
|
||||
<group fitparent="-2" id="info.component.cover2" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="player.component.playlist" wantfocus="1" rectrgn="1">
|
||||
|
||||
<grid fitparent="1"
|
||||
topleft="pledit.background.topleft"
|
||||
top="pledit.background.top"
|
||||
topright="pledit.background.topright"
|
||||
left="pledit.background.left"
|
||||
middle="pledit.background.center"
|
||||
right="pledit.background.right"
|
||||
bottomleft="pledit.background.bottomleft"
|
||||
bottom="pledit.background.bottom"
|
||||
bottomright="pledit.background.bottomright"
|
||||
/>
|
||||
|
||||
<group id="playlistpro" y="1" h="-15" x="2" w="-3" relath="1" relatw="1"/>
|
||||
|
||||
<group id="player.component.playlist.buttons" x="1" y="-14" w="-2" relatw="1" relaty="1" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="player.component.playlist.buttons">
|
||||
|
||||
<grid
|
||||
x="0" y="0" h="13" w="0" relatw="1" move="1"
|
||||
middle="pledit.background.buttons.center"
|
||||
right="pledit.background.buttons.right"
|
||||
/>
|
||||
|
||||
<button id="player.playlist.add"
|
||||
x="0" h="13" w="25" y="0"
|
||||
image="pledit.button.add.normal"
|
||||
hoverImage="pledit.button.add.hover"
|
||||
downImage="pledit.button.add.down"
|
||||
action="PE_Add" tooltip="Add Files to Playlist"
|
||||
/>
|
||||
<button id="player.playlist.rem"
|
||||
x="24" h="13" w="25" y="0"
|
||||
image="pledit.button.rem.normal"
|
||||
hoverImage="pledit.button.rem.hover"
|
||||
downImage="pledit.button.rem.down"
|
||||
action="PE_Rem" tooltip="Remove Files from Playlist"
|
||||
/>
|
||||
<button id="player.playlist.sel"
|
||||
x="48" h="13" w="25" y="0"
|
||||
image="pledit.button.sel.normal"
|
||||
hoverImage="pledit.button.sel.hover"
|
||||
downImage="pledit.button.sel.down"
|
||||
action="PE_Sel" tooltip="Select Files in Playlist"
|
||||
/>
|
||||
<button id="player.playlist.misc"
|
||||
x="72" h="13" w="25" y="0"
|
||||
image="pledit.button.misc.normal"
|
||||
hoverImage="pledit.button.misc.hover"
|
||||
downImage="pledit.button.misc.down"
|
||||
action="PE_Misc" tooltip="Misc Actions"
|
||||
/>
|
||||
<button id="player.playlist.manage"
|
||||
x="96" h="13" w="25" y="0"
|
||||
image="pledit.button.manage.normal"
|
||||
hoverImage="pledit.button.manage.hover"
|
||||
downImage="pledit.button.manage.down"
|
||||
action="PE_List" tooltip="Manage Playlist"
|
||||
/>
|
||||
<togglebutton id="player.playlist.small"
|
||||
x="-25" h="13" w="25" y="0" relatx="1"
|
||||
image="pledit.button.toggle.normal"
|
||||
hoverImage="pledit.button.toggle.hover"
|
||||
downImage="pledit.button.toggle.down"
|
||||
cfgattrib="{0167CFD9-5D35-404a-8F03-80ED5B89DEDF};Enlarge Playlist"
|
||||
tooltip="Collapse Playlist"
|
||||
/>
|
||||
<togglebutton id="player.playlist.enlarge"
|
||||
x="-25" h="13" w="25" y="0" relatx="1"
|
||||
image="pledit.button.toggle.normal"
|
||||
hoverImage="pledit.button.toggle.hover"
|
||||
downImage="pledit.button.toggle.down"
|
||||
cfgattrib="{0167CFD9-5D35-404a-8F03-80ED5B89DEDF};Enlarge Playlist"
|
||||
tooltip="Enlarge Playlist"
|
||||
/>
|
||||
|
||||
<text id="PLTime" ticker="1" display="PE_Info"
|
||||
x="122" y="0" h="13" w="-148" relatw="1"
|
||||
align="center" color="color.display"
|
||||
bold="0" fontsize="13" antialias="1" move="1"
|
||||
/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<!-- Info:Component:Vis -->
|
||||
|
||||
<groupdef id="info.component.vis">
|
||||
|
||||
<component id="vis" fitparent="1" autofocus="0" wantfocus="0" autoclose="1" autoopen="1" autoavailable="0" hold="guid:{0000000A-000C-0010-FF7B-01014263450C}"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="info.component.vis.full">
|
||||
|
||||
<component id="vis" x="3" w="-6" y="0" h="74" relatw="1" autofocus="0" wantfocus="0" autoclose="1" autoopen="1" autoavailable="0" hold="guid:{0000000A-000C-0010-FF7B-01014263450C}"/>
|
||||
|
||||
<button
|
||||
image="infocomp.button.vis.cfg.normal"
|
||||
downImage="infocomp.button.vis.cfg.down"
|
||||
hoverImage="infocomp.button.vis.cfg.hover"
|
||||
action="VIS_Menu"
|
||||
x="1" y="-14" relaty="1"
|
||||
tooltip="Configure Visualizer"
|
||||
/>
|
||||
|
||||
<button
|
||||
image="config.colorthemes.button.prev.normal"
|
||||
downImage="config.colorthemes.button.prev.down"
|
||||
hoverImage="config.colorthemes.button.prev.hover"
|
||||
action="VIS_Prev"
|
||||
x="25" y="-14" relaty="1"
|
||||
tooltip="Previous Visualization Preset"
|
||||
/>
|
||||
|
||||
<ToggleButton
|
||||
id="vis.rnd"
|
||||
image="infocomp.button.vis.rnd.normal"
|
||||
downImage="infocomp.button.vis.rnd.down"
|
||||
hoverImage="infocomp.button.vis.rnd.hover"
|
||||
x="49" y="-14" relaty="1"
|
||||
tooltip="Randomly change Visualization Presets"
|
||||
cfgattrib="{0000000A-000C-0010-FF7B-01014263450C};Random"
|
||||
/>
|
||||
|
||||
<button
|
||||
image="config.colorthemes.button.next.normal"
|
||||
downImage="config.colorthemes.button.next.down"
|
||||
hoverImage="config.colorthemes.button.next.hover"
|
||||
action="VIS_Next"
|
||||
x="73" y="-14" relaty="1"
|
||||
tooltip="Next Visualization Preset"
|
||||
/>
|
||||
|
||||
<ToggleButton id="vis.rnd.active"
|
||||
x="41" y="-17" h="17" w="41" relaty="1"
|
||||
ActiveImage="infocomp.button.vis.rnd.active"
|
||||
ghost="1"
|
||||
cfgattrib="{0000000A-000C-0010-FF7B-01014263450C};Random"
|
||||
/>
|
||||
|
||||
<script file="../Big Bento/scripts/syncbutton.maki" param="vis.rnd;vis.rnd.active" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<!-- Info:Component:Cover -->
|
||||
|
||||
<groupdef id="info.component.Cover">
|
||||
|
||||
<AlbumArt id="winamp.albumart" fitparent="1" move="1" rectrgn="1" notfoundImage="winamp.cover.notfound.84"/>
|
||||
<script file="../Big Bento/scripts/albumart.maki" param="winamp.albumart,winamp.cover.notfound.84"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="info.component.Cover2">
|
||||
|
||||
<AlbumArt id="winamp.albumart" fitparent="1" move="1" rectrgn="1" notfoundImage="winamp.cover.notfound.xxl"/>
|
||||
<script file="../Big Bento/scripts/albumart.maki" param="winamp.albumart,winamp.cover.notfound.xxl"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<!-- Info:Component:EQ -->
|
||||
|
||||
<groupdef id="info.component.eq.content">
|
||||
|
||||
<layer x="0" y="0" image="equalizer.background" ghost="1" />
|
||||
|
||||
<layer id="frequency.labels" x="0" y="70" image="equalizer.labels.winamp" ghost="1" />
|
||||
|
||||
<slider
|
||||
id="sCrossfade"
|
||||
cfgattrib="{F1239F09-8CC6-4081-8519-C2AE99FCB14C};Crossfade time"
|
||||
high="20" ghost="1" visible="0"
|
||||
x="3" y="3"
|
||||
w="2" h="2"
|
||||
/>
|
||||
|
||||
<togglebutton
|
||||
id="Crossfade"
|
||||
x="2" y="2"
|
||||
image="equalizer.button.xfade.normal"
|
||||
downImage="equalizer.button.xfade.down"
|
||||
hoverImage="equalizer.button.xfade.hover"
|
||||
tooltip="Toggle Crossfading Between Tracks"
|
||||
cfgattrib="{FC3EAF78-C66E-4ED2-A0AA-1494DFCC13FF};Enable crossfading"
|
||||
/>
|
||||
|
||||
<layer id="CrossfadeActive" x="1" y="1" image="equalizer.button.xfade.active" visible="0" ghost="1"/>
|
||||
|
||||
<layer
|
||||
image="equalizer.xfade.display"
|
||||
x="39" y="2" move="0"
|
||||
/>
|
||||
|
||||
<button
|
||||
id="CrossfadeDecrease"
|
||||
image="equalizer.button.decrease.normal"
|
||||
downImage="equalizer.button.decrease.down"
|
||||
hoverImage="equalizer.button.decrease.hover"
|
||||
x="27" y="2"
|
||||
tooltip="Decrease Crossfade Time"
|
||||
/>
|
||||
<button
|
||||
id="CrossfadeIncrease"
|
||||
image="equalizer.button.increase.normal"
|
||||
downImage="equalizer.button.increase.down"
|
||||
hoverImage="equalizer.button.increase.hover"
|
||||
x="57" y="2"
|
||||
tooltip="Increase Crossfade Time"
|
||||
/>
|
||||
|
||||
<text
|
||||
id="CFDisplay"
|
||||
x="39" y="5" w="19" h="5"
|
||||
align="center"
|
||||
valign="top"
|
||||
fontsize="5" font="player.bitmapfont.songinfo"
|
||||
text="00"
|
||||
/>
|
||||
|
||||
<layer x="95" y="4" w="78" h="10" image="equalizer.slider.balance.background" move="0" />
|
||||
<slider
|
||||
id="Balance"
|
||||
action="PAN"
|
||||
x="95" y="4"
|
||||
w="79" h="10"
|
||||
thumb="equalizer.slider.balance.normal"
|
||||
downThumb="equalizer.slider.balance.down"
|
||||
hoverThumb="equalizer.slider.balance.hover"
|
||||
tooltip="Balance"
|
||||
/>
|
||||
|
||||
<layer x="4" y="14" w="11" h="55" image="equalizer.slider.eqband.background" move="0" />
|
||||
<slider
|
||||
id="preamp"
|
||||
action="EQ_BAND" param="preamp"
|
||||
x="4" y="14"
|
||||
w="11" h="55"
|
||||
thumb="equalizer.slider.eqband.normal"
|
||||
downThumb="equalizer.slider.eqband.down"
|
||||
hoverThumb="equalizer.slider.eqband.hover"
|
||||
tooltip="Preamp"
|
||||
orientation="vertical"
|
||||
/>
|
||||
|
||||
<layer x="29" y="14" w="11" h="55" image="equalizer.slider.eqband.background" move="0" />
|
||||
<slider
|
||||
id="eq1"
|
||||
action="EQ_BAND" param="1"
|
||||
x="29" y="14"
|
||||
w="11" h="55"
|
||||
thumb="equalizer.slider.eqband.normal"
|
||||
downThumb="equalizer.slider.eqband.down"
|
||||
hoverThumb="equalizer.slider.eqband.hover"
|
||||
tooltip="70 Hz"
|
||||
orientation="vertical"
|
||||
/>
|
||||
|
||||
<layer x="45" y="14" w="11" h="55" image="equalizer.slider.eqband.background" move="0" />
|
||||
<slider
|
||||
id="eq2"
|
||||
action="EQ_BAND" param="2"
|
||||
x="45" y="14"
|
||||
w="11" h="55"
|
||||
thumb="equalizer.slider.eqband.normal"
|
||||
downThumb="equalizer.slider.eqband.down"
|
||||
hoverThumb="equalizer.slider.eqband.hover"
|
||||
tooltip="180 Hz"
|
||||
orientation="vertical"
|
||||
/>
|
||||
|
||||
<layer x="61" y="14" w="11" h="55" image="equalizer.slider.eqband.background" move="0" />
|
||||
<slider
|
||||
id="eq3"
|
||||
action="EQ_BAND" param="3"
|
||||
x="61" y="14"
|
||||
w="11" h="55"
|
||||
thumb="equalizer.slider.eqband.normal"
|
||||
downThumb="equalizer.slider.eqband.down"
|
||||
hoverThumb="equalizer.slider.eqband.hover"
|
||||
tooltip="320 Hz"
|
||||
orientation="vertical"
|
||||
/>
|
||||
|
||||
<layer x="77" y="14" w="11" h="55" image="equalizer.slider.eqband.background" move="0" />
|
||||
<slider
|
||||
id="eq4"
|
||||
action="EQ_BAND" param="4"
|
||||
x="77" y="14"
|
||||
w="11" h="55"
|
||||
thumb="equalizer.slider.eqband.normal"
|
||||
downThumb="equalizer.slider.eqband.down"
|
||||
hoverThumb="equalizer.slider.eqband.hover"
|
||||
tooltip="600 Hz"
|
||||
orientation="vertical"
|
||||
/>
|
||||
|
||||
<layer x="93" y="14" w="11" h="55" image="equalizer.slider.eqband.background" move="0" />
|
||||
<slider
|
||||
id="eq5"
|
||||
action="EQ_BAND" param="5"
|
||||
x="93" y="14"
|
||||
w="11" h="55"
|
||||
thumb="equalizer.slider.eqband.normal"
|
||||
downThumb="equalizer.slider.eqband.down"
|
||||
hoverThumb="equalizer.slider.eqband.hover"
|
||||
tooltip="1 KHz"
|
||||
orientation="vertical"
|
||||
/>
|
||||
|
||||
<layer x="109" y="14" w="11" h="55" image="equalizer.slider.eqband.background" move="0" />
|
||||
<slider
|
||||
id="eq6"
|
||||
action="EQ_BAND" param="6"
|
||||
x="109" y="14"
|
||||
w="11" h="55"
|
||||
thumb="equalizer.slider.eqband.normal"
|
||||
downThumb="equalizer.slider.eqband.down"
|
||||
hoverThumb="equalizer.slider.eqband.hover"
|
||||
tooltip="3 KHz"
|
||||
orientation="vertical"
|
||||
/>
|
||||
|
||||
<layer x="125" y="14" w="11" h="55" image="equalizer.slider.eqband.background" move="0" />
|
||||
<slider
|
||||
id="eq7"
|
||||
action="EQ_BAND" param="7"
|
||||
x="125" y="14"
|
||||
w="11" h="55"
|
||||
thumb="equalizer.slider.eqband.normal"
|
||||
downThumb="equalizer.slider.eqband.down"
|
||||
hoverThumb="equalizer.slider.eqband.hover"
|
||||
tooltip="6 KHz"
|
||||
orientation="vertical"
|
||||
/>
|
||||
|
||||
<layer x="141" y="14" w="11" h="55" image="equalizer.slider.eqband.background" move="0" />
|
||||
<slider
|
||||
id="eq8"
|
||||
action="EQ_BAND" param="8"
|
||||
x="141" y="14"
|
||||
w="11" h="55"
|
||||
thumb="equalizer.slider.eqband.normal"
|
||||
downThumb="equalizer.slider.eqband.down"
|
||||
hoverThumb="equalizer.slider.eqband.hover"
|
||||
tooltip="12 KHz"
|
||||
orientation="vertical"
|
||||
/>
|
||||
|
||||
<layer x="157" y="14" w="11" h="55" image="equalizer.slider.eqband.background" move="0" />
|
||||
<slider
|
||||
id="eq9"
|
||||
action="EQ_BAND" param="9"
|
||||
x="157" y="14"
|
||||
w="11" h="55"
|
||||
thumb="equalizer.slider.eqband.normal"
|
||||
downThumb="equalizer.slider.eqband.down"
|
||||
hoverThumb="equalizer.slider.eqband.hover"
|
||||
tooltip="14 KHz"
|
||||
orientation="vertical"
|
||||
/>
|
||||
|
||||
<layer x="173" y="14" w="11" h="55" image="equalizer.slider.eqband.background" move="0" />
|
||||
<slider
|
||||
id="eq10"
|
||||
action="EQ_BAND" param="10"
|
||||
x="173" y="14"
|
||||
w="11" h="55"
|
||||
thumb="equalizer.slider.eqband.normal"
|
||||
downThumb="equalizer.slider.eqband.down"
|
||||
hoverThumb="equalizer.slider.eqband.hover"
|
||||
tooltip="16 KHz"
|
||||
orientation="vertical"
|
||||
/>
|
||||
|
||||
<button
|
||||
id="EQ_p12"
|
||||
x="16" y="19"
|
||||
w="12" h="7"
|
||||
rectrgn="1"
|
||||
/>
|
||||
|
||||
<button
|
||||
id="EQ_0"
|
||||
x="16" y="37"
|
||||
w="12" h="7"
|
||||
rectrgn="1"
|
||||
/>
|
||||
|
||||
<button
|
||||
id="EQ_m12"
|
||||
x="16" y="55"
|
||||
w="12" h="7"
|
||||
rectrgn="1"
|
||||
/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="info.component.eq">
|
||||
|
||||
<group id="info.component.eq.content" x="0" y="0" h="92" w="188" />
|
||||
|
||||
<button
|
||||
id="eqonoff"
|
||||
image="equalizer.button.eqon.normal"
|
||||
downImage="equalizer.button.eqon.down"
|
||||
hoverImage="equalizer.button.eqon.hover"
|
||||
action="EQ_TOGGLE"
|
||||
x="1" y="-14" relaty="1"
|
||||
tooltip="EQ on/off"
|
||||
/>
|
||||
<button id="eqonoffActive" x="1" y="-23" h="22" w="29" relaty="1" activeImage="equalizer.button.eqon.active" visible="1" ghost="1" action="EQ_TOGGLE"/>
|
||||
|
||||
<button
|
||||
id="eqauto"
|
||||
image="equalizer.button.auto.normal"
|
||||
downImage="equalizer.button.auto.down"
|
||||
hoverImage="equalizer.button.auto.hover"
|
||||
action="EQ_AUTO"
|
||||
x="25" y="-14" relaty="1"
|
||||
tooltip="EQ auto"
|
||||
/>
|
||||
|
||||
<button id="eqautoActive" x="22" y="-23" h="22" w="44" relaty="1" activeImage="equalizer.button.auto.active" visible="1" ghost="1" action="EQ_AUTO"/>
|
||||
|
||||
<button
|
||||
id="eqpresets"
|
||||
image="equalizer.button.presets.normal"
|
||||
downImage="equalizer.button.presets.down"
|
||||
hoverImage="equalizer.button.presets.hover"
|
||||
action="MENU" param="presets"
|
||||
x="56" y="-14" relaty="1"
|
||||
tooltip="Open presets"
|
||||
/>
|
||||
|
||||
<script file="../Big Bento/scripts/eq.maki" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<!-- Info:Component:InfoDisplay -->
|
||||
|
||||
<groupdef id="infodisplay.line.rating.stars" >
|
||||
|
||||
<button id="rate.1" x="0" y="0" rectrgn="1"
|
||||
image="infocomp.rating.empty"
|
||||
activeimage="infocomp.rating.star"
|
||||
downimage="infocomp.rating.star"
|
||||
/>
|
||||
<layer id="star.1" ghost="1"
|
||||
x="0" y="0" visible="0"
|
||||
image="infocomp.rating.hover"
|
||||
/>
|
||||
|
||||
<button id="rate.2" x="11" y="0" rectrgn="1"
|
||||
image="infocomp.rating.empty"
|
||||
activeimage="infocomp.rating.star"
|
||||
downimage="infocomp.rating.star"
|
||||
/>
|
||||
<layer id="star.2" ghost="1"
|
||||
x="11" y="0" visible="0"
|
||||
image="infocomp.rating.hover"
|
||||
/>
|
||||
|
||||
<button id="rate.3" x="22" y="0" rectrgn="1"
|
||||
image="infocomp.rating.empty"
|
||||
activeimage="infocomp.rating.star"
|
||||
downimage="infocomp.rating.star"
|
||||
/>
|
||||
<layer id="star.3" ghost="1"
|
||||
x="22" y="0" visible="0"
|
||||
image="infocomp.rating.hover"
|
||||
/>
|
||||
|
||||
<button id="rate.4" x="33" y="0" rectrgn="1"
|
||||
image="infocomp.rating.empty"
|
||||
activeimage="infocomp.rating.star"
|
||||
downimage="infocomp.rating.star"
|
||||
/>
|
||||
<layer id="star.4" ghost="1"
|
||||
x="33" y="0" visible="0"
|
||||
image="infocomp.rating.hover"
|
||||
/>
|
||||
|
||||
<button id="rate.5" x="44" y="0" rectrgn="1"
|
||||
image="infocomp.rating.empty"
|
||||
activeimage="infocomp.rating.star"
|
||||
downimage="infocomp.rating.star"
|
||||
/>
|
||||
<layer id="star.5" ghost="1"
|
||||
x="44" y="0" visible="0"
|
||||
image="infocomp.rating.hover"
|
||||
/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="infodisplay.line.rating" >
|
||||
|
||||
<Text
|
||||
id="label"
|
||||
x="0" y="0" w="0" relatw="1" h="12"
|
||||
text="Rating:"
|
||||
color="color.display" bold="1" fontsize="13" alpha="180" valign="bottom" antialias="0"
|
||||
/>
|
||||
|
||||
<group id="infodisplay.line.rating.stars" x="0" y="0" w="0" relatw="1" />
|
||||
|
||||
<button id="rate.0" x="0" y="0" h="12" w="0" rectrgn="1" tooltip="Remove Rating"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<!--
|
||||
Params for <Bento:InfoLine/>
|
||||
label="sometext" displayed as label
|
||||
shift="someint" how much pixels text will be moved right (call before text!)
|
||||
text="sometext" displayed as line text
|
||||
link="sometext" displayed as hover tooltip
|
||||
-->
|
||||
|
||||
<groupdef id="bento.infodisplay.line" embed_xui="text" xuitag="Bento:InfoLine">
|
||||
|
||||
<Text id="label"
|
||||
x="0" y="0" w="0" relatw="1" h="12"
|
||||
text="Error:"
|
||||
color="color.display" bold="1" fontsize="13" alpha="180" valign="bottom" antialias="0"
|
||||
/>
|
||||
|
||||
<Text id="text"
|
||||
x="0" y="0" w="0" relatw="1" h="12"
|
||||
color="color.display" bold="2" fontsize="13" valign="bottom" antialias="0" ticker="1" translate="0" alpha="253"
|
||||
/>
|
||||
|
||||
// <layer id="link" x="0" y="0" h="15" w="0" relatw="1" rectrgn="1" move="0" cursor="IDC_HAND"/>
|
||||
<layer id="link" x="0" y="0" h="15" w="0" relatw="1" rectrgn="1" move="0"/>
|
||||
|
||||
<script file="../Big Bento/scripts/infoline.maki" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
|
||||
<groupdef id="info.component.infodisplay">
|
||||
|
||||
<group id="infodisplay.line.rating" x="0" y="0" w="0" relatw="1" h="15" visible="0" />
|
||||
|
||||
<Bento:InfoLine id="infodisplay.line.title" x="0" y="0" w="0" relatw="1" h="15" visible="0"
|
||||
shift="-2" label="Title:"/>
|
||||
|
||||
<Bento:InfoLine id="infodisplay.line.artist" x="0" y="0" w="0" relatw="1" h="15" visible="0"
|
||||
shift="-2" label="Artist:"/>
|
||||
|
||||
<Bento:InfoLine id="infodisplay.line.album" x="0" y="0" w="0" relatw="1" h="15" visible="0"
|
||||
shift="-2" label="Album:"/>
|
||||
|
||||
<Bento:InfoLine id="infodisplay.line.track" x="0" y="0" w="0" relatw="1" h="15" visible="0"
|
||||
shift="-2" label="Track:"/>
|
||||
|
||||
<Bento:InfoLine id="infodisplay.line.year" x="0" y="0" w="0" relatw="1" h="15" visible="0"
|
||||
shift="-2" label="Year:"/>
|
||||
|
||||
<Bento:InfoLine id="infodisplay.line.genre" x="0" y="0" w="0" relatw="1" h="15" visible="0"
|
||||
shift="-2" label="Genre:"/>
|
||||
|
||||
<Bento:InfoLine id="infodisplay.line.publisher" x="0" y="0" w="0" relatw="1" h="15" visible="0"
|
||||
shift="-2" label="Publisher:"/>
|
||||
|
||||
<Bento:InfoLine id="infodisplay.line.composer" x="0" y="0" w="0" relatw="1" h="15" visible="0"
|
||||
shift="-2" label="Composer:"/>
|
||||
|
||||
<Bento:InfoLine id="infodisplay.line.format" x="0" y="0" w="0" relatw="1" h="15" visible="0"
|
||||
shift="-2" label="Decoder:"/>
|
||||
|
||||
<Bento:InfoLine id="infodisplay.line.sname" x="0" y="0" w="0" relatw="1" h="15" visible="0"
|
||||
shift="-2" label="Stream:"/>
|
||||
|
||||
<Bento:InfoLine id="infodisplay.line.surl" x="0" y="0" w="0" relatw="1" h="15" visible="0"
|
||||
shift="-2" label="Homepage:"/>
|
||||
|
||||
<Bento:InfoLine id="infodisplay.line.albumartist" x="0" y="0" w="0" relatw="1" h="15" visible="0"
|
||||
shift="-2" label="Album Artist:"/>
|
||||
|
||||
<Bento:InfoLine id="infodisplay.line.disc" x="0" y="0" w="0" relatw="1" h="15" visible="0"
|
||||
shift="-2" label="Disc:"/>
|
||||
|
||||
<script file="../Big Bento/scripts/fileinfo.maki" param="@HAVE_LIBRARY@,5"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<!-- Info:Component:PLSideCar -->
|
||||
|
||||
<groupdef id="info.component.plsidecar">
|
||||
|
||||
<PlaylistDirectory fitparent="1" antialias="0" fontsize="13"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="info.component.coverflow">
|
||||
|
||||
<!--button id="coverflow.prev"
|
||||
x="0" y="-18" relaty="1"
|
||||
image="config.colorthemes.button.prev2.normal"
|
||||
hoverImage="config.colorthemes.button.prev2.hover"
|
||||
downImage="config.colorthemes.button.prev2.down"
|
||||
tooltip="Scroll backwards in Playlist"
|
||||
/>
|
||||
|
||||
<button id="coverflow.next"
|
||||
x="30" y="-18" relaty="1"
|
||||
image="config.colorthemes.button.next.normal"
|
||||
hoverImage="config.colorthemes.button.next.hover"
|
||||
downImage="config.colorthemes.button.next.down"
|
||||
tooltip="Scroll forwards in Playlist"
|
||||
/-->
|
||||
|
||||
<text id="info" nograbb="1" move="0"
|
||||
x="64" y="-14" relaty="1" h="12" w="-130" relatw="1"
|
||||
align="center" color="color.display" fontsize="12" valign="top" bold="2" ghost="1"
|
||||
/>
|
||||
|
||||
<group id="info.component.coverflow.g" x="0" y="2" h="-1" relath="1" w="315" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<!-- Info:Instance -->
|
||||
|
||||
<groupdef id="infocomp.visbuttons">
|
||||
|
||||
<button
|
||||
id="vis.cfg"
|
||||
image="infocomp.button.vis.cfg2.normal"
|
||||
downImage="infocomp.button.vis.cfg2.down"
|
||||
hoverImage="infocomp.button.vis.cfg2.hover"
|
||||
action="VIS_Menu"
|
||||
x="0" y="3"
|
||||
tooltip="Configure Visualizer"
|
||||
/>
|
||||
|
||||
<button
|
||||
id="vis.prv"
|
||||
image="config.colorthemes.button.prev.normal"
|
||||
downImage="config.colorthemes.button.prev.down"
|
||||
hoverImage="config.colorthemes.button.prev.hover"
|
||||
action="VIS_Prev"
|
||||
x="24" y="3"
|
||||
tooltip="Previous Visualization Preset"
|
||||
/>
|
||||
|
||||
<ToggleButton
|
||||
id="vis.rnd"
|
||||
image="infocomp.button.vis.rnd.normal"
|
||||
downImage="infocomp.button.vis.rnd.down"
|
||||
hoverImage="infocomp.button.vis.rnd.hover"
|
||||
x="48" y="3"
|
||||
tooltip="Randomly change Visualization Presets"
|
||||
cfgattrib="{0000000A-000C-0010-FF7B-01014263450C};Random"
|
||||
/>
|
||||
|
||||
<button
|
||||
id="vis.nxt"
|
||||
image="config.colorthemes.button.next.normal"
|
||||
downImage="config.colorthemes.button.next.down"
|
||||
hoverImage="config.colorthemes.button.next.hover"
|
||||
action="VIS_Next"
|
||||
x="72" y="3"
|
||||
tooltip="Next Visualization Preset"
|
||||
/>
|
||||
|
||||
<ToggleButton id="vis.rnd.active"
|
||||
x="40" y="0" h="17" w="41"
|
||||
ActiveImage="infocomp.button.vis.rnd.active"
|
||||
ghost="1"
|
||||
cfgattrib="{0000000A-000C-0010-FF7B-01014263450C};Random"
|
||||
/>
|
||||
|
||||
<script file="../Big Bento/scripts/syncbutton.maki" param="vis.rnd;vis.rnd.active" />
|
||||
<script file="../Big Bento/scripts/visbuttons.maki" />
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="infocomp.background.footer.over">
|
||||
|
||||
<layer move="0" ghost="1"
|
||||
x="0" y="3"
|
||||
image="infocomp.background.buttons.left.over"
|
||||
/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="infocomp.background.footer">
|
||||
|
||||
<grid
|
||||
id="footer.background.grid" move="1"
|
||||
x="0" y="3" h="13" w="0" relatw="1"
|
||||
middle="pledit.background.buttons.center"
|
||||
right="pledit.background.buttons.right"
|
||||
/>
|
||||
|
||||
<group id="infocomp.background.footer.over" x="0" y="0" w="-5" relatw="1" />
|
||||
|
||||
<group x="0" y="0" h="17" w="0" relatw="1" id="infocomp.visbuttons" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="info.component.holder">
|
||||
|
||||
<grid fitparent="1" move="1"
|
||||
topleft="infocomp.background.topleft"
|
||||
top="infocomp.background.top"
|
||||
topright="infocomp.background.topright"
|
||||
left="infocomp.background.left"
|
||||
middle="infocomp.background.center"
|
||||
right="infocomp.background.right"
|
||||
bottomleft="infocomp.background.bottomleft"
|
||||
bottom="infocomp.background.bottom"
|
||||
bottomright="infocomp.background.bottomright"
|
||||
/>
|
||||
|
||||
<group x="6" y="-17" h="17" w="-8" relatw="1" relaty="1" id="infocomp.background.footer" />
|
||||
|
||||
<group id="info.component.cover" x="4" y="4" h="84" w="84"/>
|
||||
<group id="info.component.vis" x="4" y="4" h="84" w="84"/>
|
||||
<group id="info.component.vis.full" x="0" y="3" h="89" w="0" relatw="1" visible="0"/>
|
||||
<group id="info.component.eq" x="0" y="0" h="92" w="0" relatw="1" visible="0"/>
|
||||
<group id="info.component.config" x="2" y="1" h="91" w="-4" relatw="1" visible="0"/>
|
||||
<group id="info.component.plsidecar" x="3" y="3" h="75" w="-5" relatw="1" visible="0"/>
|
||||
|
||||
<layer id="branding" visible="0" move="1" ghost="1"
|
||||
x="0" y="35" h="24" w="100" image="infocomp.branding"
|
||||
/>
|
||||
|
||||
<group id="info.component.infodisplay" x="80" y="3" h="-19" relath="1" w="-143" relatw="1" />
|
||||
|
||||
<button
|
||||
id="comp.menu"
|
||||
x="-27" y="-14" w="26" h="13" relatx="1" relaty="1"
|
||||
image="infocomp.button.toggle.normal"
|
||||
hoverImage="infocomp.button.toggle.hover"
|
||||
downImage="infocomp.button.toggle.down"
|
||||
tooltip="Change the content this area holds"
|
||||
/>
|
||||
|
||||
<button
|
||||
id="sendTo"
|
||||
x="-51" y="-14" w="25" h="13" relatx="1" relaty="1"
|
||||
action="ML_SendTo"
|
||||
image="infocomp.button.more.normal"
|
||||
hoverImage="infocomp.button.more.hover"
|
||||
downImage="infocomp.button.more.down"
|
||||
tooltip="Send this file to..."
|
||||
anchor_menu="bottomleft"
|
||||
/>
|
||||
|
||||
<!-- <button
|
||||
id="search"
|
||||
x="-74" y="-14" relatx="1" relaty="1"
|
||||
image="infocomp.button.blank.normal"
|
||||
hoverImage="infocomp.button.blank.hover"
|
||||
downImage="infocomp.button.blank.down"
|
||||
tooltip="Search the web for this artist"
|
||||
anchor_menu="bottomleft"
|
||||
/>
|
||||
<layer id="search.icon.bg" x="-74" y="-14" relatx="1" ghost="1" relaty="1" image="infocomp.button.icon.bg" />
|
||||
<script file="../Big Bento/scripts/syncbutton.maki" param="search;search.icon.bg"/>
|
||||
<layer id="search.icon" x="-74" y="-14" relatx="1" ghost="1" relaty="1" image="infocomp.button.icon.search" />
|
||||
<script file="../Big Bento/scripts/syncbutton.maki" param="search;search.icon"/>
|
||||
|
||||
<button
|
||||
id="nowplaying"
|
||||
x="-97" y="-14" relatx="1" relaty="1"
|
||||
image="infocomp.button.blank.normal"
|
||||
hoverImage="infocomp.button.blank.hover"
|
||||
downImage="infocomp.button.blank.down"
|
||||
tooltip="More information about this artist"
|
||||
anchor_menu="bottomleft"
|
||||
/>
|
||||
<layer id="nowplaying.icon.bg" x="-97" y="-14" relatx="1" ghost="1" relaty="1" image="infocomp.button.icon.bg" />
|
||||
<script file="../Big Bento/scripts/syncbutton.maki" param="nowplaying;nowplaying.icon.bg"/>
|
||||
<layer id="nowplaying.icon" x="-97" y="-14" relatx="1" ghost="1" relaty="1" image="infocomp.button.icon.nowplaying" />
|
||||
<script file="../Big Bento/scripts/syncbutton.maki" param="nowplaying;nowplaying.icon"/>
|
||||
-->
|
||||
<script file="../Big Bento/scripts/shadelinks.maki"/>
|
||||
|
||||
<!--script file="scripts/componentregion.maki" param="comp.menu" /-->
|
||||
|
||||
<!--layer id="osd.trigger" fitparent="1" rectrgn="1" ghost="0"/-->
|
||||
|
||||
<script file="scripts/mcvcore.maki" param="small" />
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="player.component.fileinfo">
|
||||
|
||||
<group id="info.component.holder" x="0" y="0" h="92" w="0" relatw="1"/>
|
||||
|
||||
</groupdef>
|
315
Src/resources/skins/Bento/xml/player-normal-sui.xml
Normal file
@ -0,0 +1,315 @@
|
||||
<!-- SUI:Component:Browser -->
|
||||
|
||||
<!-- <groupdef id="wdh.browser">
|
||||
|
||||
<Winamp:Browser fitparent="1" id="sui.component.browser" />
|
||||
|
||||
</groupdef> -->
|
||||
|
||||
<!-- SUI:Component:MediaLibrary -->
|
||||
|
||||
<groupdef id="wdh.ml">
|
||||
|
||||
<windowholder x="3" y="4" w="-5" h="-4" relath="1" relatw="1" autofocus="1" wantfocus="1" autoclose="1" autoopen="1" autoavailable="0" visible="1" hold="guid:{6B0EDF80-C9A5-11D3-9F26-00C04F39FFC6}"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<!-- SUI:Component:Video -->
|
||||
|
||||
<groupdef id="wdh.video.resizable">
|
||||
|
||||
<rect color="0,0,0" fitparent="1" filled="1"/>
|
||||
|
||||
<rect id="wdh.outer" x="4" y="4" w="-8" relatw="1" h="-8" relath="1" color="80,80,80"/>
|
||||
|
||||
<rect id="wdh.drag" x="-5" y="-5" relatx="1" relaty="1" h="5" w="5" filled="1" color="100,100,100" cursor="IDC_SIZENWSE"/>
|
||||
|
||||
<windowholder id="wdh" x="5" y="5" w="-10" relatw="1" h="-10" relath="1" autofocus="1" wantfocus="1" autoclose="1" autoopen="1" autoavailable="0" visible="1" hold="guid:{F0816D7B-FFFC-4343-80F2-E8199AA15CC3}"/>
|
||||
|
||||
<script file="../Big Bento/scripts/videoresize.maki"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="wdh.video">
|
||||
|
||||
<layer x="1" y="4" h="1" w="-2" relatw="1" image="sui.component.bottom2" move="0" alpha="180"/>
|
||||
<layer x="1" y="-24" relaty="1" h="1" w="-2" relatw="1" image="sui.component.top2" move="0" />
|
||||
|
||||
<group id="wdh.video.resizable" x="1" y="5" w="-2" relatw="1" h="-29" relath="1" />
|
||||
|
||||
<Button action="VID_FS"
|
||||
x="4" y="-21" h="21" w="24" relaty="1" rectrgn="1"
|
||||
image="video.button.fullscreen.normal"
|
||||
hoverImage="video.button.fullscreen.hover"
|
||||
downImage="video.button.fullscreen.down"
|
||||
tooltip="Fullscreen"
|
||||
/>
|
||||
|
||||
<Button action="VID_1X"
|
||||
x="29" y="-21" h="21" w="24" relaty="1" rectrgn="1"
|
||||
image="video.button.1x.normal"
|
||||
hoverImage="video.button.1x.hover"
|
||||
downImage="video.button.1x.down"
|
||||
tooltip="Normal Size"
|
||||
/>
|
||||
|
||||
<Button action="VID_2X"
|
||||
x="54" y="-21" h="21" w="24" relaty="1" rectrgn="1"
|
||||
image="video.button.2x.normal"
|
||||
hoverImage="video.button.2x.hover"
|
||||
downImage="video.button.2x.down"
|
||||
tooltip="Double Size"
|
||||
/>
|
||||
|
||||
<!--<Button action="VID_TV"
|
||||
x="80" y="-21" h="21" w="24" relaty="1" rectrgn="1"
|
||||
image="video.button.itv.normal"
|
||||
hoverImage="video.button.itv.hover"
|
||||
downImage="video.button.itv.down"
|
||||
tooltip="Internet TV"
|
||||
/>-->
|
||||
|
||||
<NStatesButton nstates="2"
|
||||
x="-53" relatx="1" y="-21" h="21" w="24" relaty="1" rectrgn="1"
|
||||
image="video.button.pin.normal"
|
||||
hoverImage="video.button.pin.hover"
|
||||
downImage="video.button.pin.down"
|
||||
tooltip="Enable Video in Window resizing"
|
||||
cfgattrib="{E704AB5A-108E-4309-B54B-43EBA5C0C3AA};Enable Video in Window resizing"
|
||||
/>
|
||||
|
||||
<Button action="VID_Misc"
|
||||
x="-27" y="-21" h="21" w="24" relaty="1" relatx="1" rectrgn="1"
|
||||
image="video.button.cfg.normal"
|
||||
hoverImage="video.button.cfg.hover"
|
||||
downImage="video.button.cfg.down"
|
||||
tooltip="Video Options"
|
||||
/>
|
||||
|
||||
<text id="info" display="VID_Info" ticker="1"
|
||||
x="105" y="-18" relaty="1" h="13" w="-161" relatw="1"
|
||||
align="center" color="color.window.txt"
|
||||
/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="wdh.pl">
|
||||
|
||||
<layer x="1" y="4" h="1" w="-2" relatw="1" image="sui.component.bottom2" move="0" alpha="180"/>
|
||||
<layer x="1" y="-24" relaty="1" h="1" w="-2" relatw="1" image="sui.component.top2" move="0" />
|
||||
|
||||
<group id="playlistpro" y="3" h="-25" x="2" w="-4" relath="1" relatw="1"/>
|
||||
|
||||
<Wasabi:Button action="PE_Add"
|
||||
x="4" y="-21" h="21" w="24" relaty="1" rectrgn="1"
|
||||
image="pledit.tab.button.add"
|
||||
center_image="1"
|
||||
tooltip="Add Files to Playlist"
|
||||
/>
|
||||
|
||||
<Wasabi:Button action="PE_Rem"
|
||||
x="29" y="-21" h="21" w="24" relaty="1" rectrgn="1"
|
||||
image="pledit.tab.button.rem"
|
||||
center_image="1"
|
||||
tooltip="Remove Files from Playlist"
|
||||
/>
|
||||
|
||||
<Wasabi:Button action="PE_Sel"
|
||||
x="54" y="-21" h="21" w="24" relaty="1" rectrgn="1"
|
||||
image="pledit.tab.button.sel"
|
||||
center_image="1"
|
||||
tooltip="Select Files in Playlist"
|
||||
/>
|
||||
|
||||
<Wasabi:Button action="PE_Misc"
|
||||
x="79" y="-21" h="21" w="24" relaty="1" rectrgn="1"
|
||||
image="pledit.tab.button.misc"
|
||||
center_image="1"
|
||||
tooltip="Misc Actions"
|
||||
/>
|
||||
|
||||
<Wasabi:Button action="PE_List"
|
||||
x="104" y="-21" h="21" w="24" relaty="1" rectrgn="1"
|
||||
image="pledit.tab.button.manage"
|
||||
center_image="1"
|
||||
tooltip="Manage Playlist"
|
||||
/>
|
||||
|
||||
<Wasabi:Button id="pe.move.top"
|
||||
x="-27" y="-21" h="21" w="24" relaty="1" relatx="1" rectrgn="1"
|
||||
image="pledit.tab.button.up"
|
||||
center_image="1"
|
||||
tooltip="Restore original Playlist position"
|
||||
/>
|
||||
|
||||
<text id="info" display="PE_Info" ticker="1"
|
||||
x="131" y="-18" relaty="1" h="13" w="-161" relatw="1"
|
||||
align="center" color="color.window.txt"
|
||||
/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<!-- SUI:Component:Visualization -->
|
||||
|
||||
<groupdef id="wdh.vis">
|
||||
|
||||
<layer x="1" y="4" h="1" w="-2" relatw="1" image="sui.component.bottom2" move="0" alpha="180"/>
|
||||
<layer x="1" y="-24" relaty="1" h="1" w="-2" relatw="1" image="sui.component.top2" move="0" />
|
||||
|
||||
<windowholder id="wdh.vis.object" x="1" y="5" w="-2" relatw="1" h="-29" relath="1" autofocus="1" wantfocus="1" autoclose="1" autoopen="1" autoavailable="0" visible="1" hold="guid:{0000000A-000C-0010-FF7B-01014263450C}"/>
|
||||
|
||||
<Button action="VIS_FS"
|
||||
x="4" y="-21" h="21" w="24" relaty="1" rectrgn="1"
|
||||
image="video.button.fullscreen.normal"
|
||||
hoverImage="video.button.fullscreen.hover"
|
||||
downImage="video.button.fullscreen.down"
|
||||
tooltip="Fullscreen"
|
||||
/>
|
||||
|
||||
<Button action="VIS_Prev"
|
||||
x="29" y="-21" h="21" w="21" relaty="1" rectrgn="1"
|
||||
image="vis.button.prev.normal"
|
||||
hoverImage="vis.button.prev.hover"
|
||||
downImage="vis.button.prev.down"
|
||||
tooltip="Previous Visualization Preset"
|
||||
/>
|
||||
|
||||
<Button action="VIS_Next"
|
||||
x="51" y="-21" h="21" w="21" relaty="1" rectrgn="1"
|
||||
image="vis.button.next.normal"
|
||||
hoverImage="vis.button.next.hover"
|
||||
downImage="vis.button.next.down"
|
||||
tooltip="Next Visualization Preset"
|
||||
/>
|
||||
|
||||
<ToggleButton id="vis.random"
|
||||
x="74" y="-21" h="21" w="24" relaty="1" rectrgn="1"
|
||||
image="vis.button.random.normal"
|
||||
hoverImage="vis.button.random.hover"
|
||||
downImage="vis.button.random.down"
|
||||
tooltip="Randomly change Visualization Presets"
|
||||
cfgattrib="{0000000A-000C-0010-FF7B-01014263450C};Random"
|
||||
/>
|
||||
|
||||
<ToggleButton id="vis.random.active"
|
||||
x="74" y="-21" h="21" w="24" relaty="1" rectrgn="1"
|
||||
ActiveImage="vis.button.random.active"
|
||||
ghost="1"
|
||||
cfgattrib="{0000000A-000C-0010-FF7B-01014263450C};Random"
|
||||
/>
|
||||
|
||||
<script file="../Big Bento/scripts/syncbutton.maki" param="vis.random;vis.random.active" />
|
||||
|
||||
<Button action="VIS_Menu"
|
||||
x="-52" y="-21" h="21" w="24" relaty="1" relatx="1" rectrgn="1"
|
||||
image="vis.button.presets.normal"
|
||||
hoverImage="vis.button.presets.hover"
|
||||
downImage="vis.button.presets.down"
|
||||
tooltip="Presets"
|
||||
/>
|
||||
|
||||
<Button action="VIS_Cfg"
|
||||
x="-27" y="-21" h="21" w="24" relaty="1" relatx="1" rectrgn="1"
|
||||
image="video.button.cfg.normal"
|
||||
hoverImage="video.button.cfg.hover"
|
||||
downImage="video.button.cfg.down"
|
||||
tooltip="Preset Editor / Options"
|
||||
/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="sui.components">
|
||||
|
||||
<group id="wdh.ml" fitparent="1" visible="0" />
|
||||
<group id="wdh.pl" fitparent="1" visible="0" />
|
||||
<group id="wdh.vis" fitparent="1" visible="0" />
|
||||
<group id="wdh.video" fitparent="1" visible="0" />
|
||||
<!-- <group id="wdh.browser" fitparent="1" visible="0" /> -->
|
||||
|
||||
</groupdef>
|
||||
|
||||
<!--
|
||||
Params for <Bento:TabButton/>
|
||||
text="sometext"
|
||||
the object itself is a button.
|
||||
-->
|
||||
|
||||
<groupdef id="bento.tabbutton" xuitag="Bento:TabButton" embed_xui="bento.tabbutton.mousetrap">
|
||||
|
||||
<grid id="bento.tabbutton.normal"
|
||||
fitparent="1" y="1" h="-2" relath="1" visible="1"
|
||||
left="sui.button.inactive.normal.left"
|
||||
middle="sui.button.inactive.normal.center"
|
||||
right="sui.button.inactive.normal.right"
|
||||
/>
|
||||
|
||||
<text id="bento.tabbutton.normal.text" x="7" y="2" w="-15" relatw="1" h="15" bold="1" align="center" font="Tahoma" fontsize="12" antialias="1" visible="1" color="color.tabbutton.text.inactive" shadow="1" shadowcolor="color.tabbutton.text.inactive.shadow" shadowx="0" shadowy="1"/>
|
||||
|
||||
<grid id="bento.tabbutton.hover"
|
||||
fitparent="1" y="1" h="-2" relath="1" visible="0"
|
||||
left="sui.button.inactive.hover.left"
|
||||
middle="sui.button.inactive.hover.center"
|
||||
right="sui.button.inactive.hover.right"
|
||||
/>
|
||||
|
||||
<text id="bento.tabbutton.hover.text" x="7" y="2" w="-15" relatw="1" h="15" bold="1" align="center" font="Tahoma" fontsize="12" antialias="1" visible="0" color="color.tabbutton.text.inactive.hover" shadow="1" shadowcolor="color.tabbutton.text.inactive.shadow" shadowx="0" shadowy="1"/>
|
||||
|
||||
<grid id="bento.tabbutton.active"
|
||||
fitparent="1" y="0" h="-1" relath="1" visible="0"
|
||||
left="sui.button.active.normal.left"
|
||||
middle="sui.button.active.normal.center"
|
||||
right="sui.button.active.normal.right"
|
||||
/>
|
||||
|
||||
<text id="bento.tabbutton.active.text" x="7" y="2" w="-15" relatw="1" h="15" bold="1" align="center" font="Tahoma" fontsize="12" antialias="1" visible="0" color="color.tabbutton.text.active" shadow="1" shadowcolor="color.tabbutton.text.active.shadow" shadowx="0" shadowy="1"/>
|
||||
|
||||
<grid id="bento.tabbutton.footer"
|
||||
x="0" y="-1" h="1" w="0" relatw="1" relaty="1" visible="0"
|
||||
left="sui.button.active.footer.left"
|
||||
middle="sui.button.active.footer.center"
|
||||
right="sui.button.active.footer.right"
|
||||
/>
|
||||
|
||||
<button id="bento.tabbutton.mousetrap" fitparent="1" y="1" h="-1" relath="1" rectrgn="1" />
|
||||
|
||||
<script file="../Big Bento/scripts/tabbutton.maki" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="sui.content" >
|
||||
|
||||
<grid fitparent="1" move="1"
|
||||
topleft="sui.background.topleft"
|
||||
top="sui.background.top"
|
||||
topright="sui.background.topright"
|
||||
left="sui.background.left"
|
||||
middle="sui.background.center"
|
||||
right="sui.background.right"
|
||||
bottomleft="sui.background.bottomleft"
|
||||
bottom="sui.background.bottom"
|
||||
bottomright="sui.background.bottomright"
|
||||
/>
|
||||
|
||||
<grid x="1" y="23" h="-24" w="-2" relath="1" relatw="1"
|
||||
topleft="sui.component.topleft"
|
||||
top="sui.component.top"
|
||||
topright="sui.component.topright"
|
||||
left="sui.component.left"
|
||||
middle="sui.component.center"
|
||||
right="sui.component.right"
|
||||
bottomleft="sui.component.bottomleft"
|
||||
bottom="sui.component.bottom"
|
||||
bottomright="sui.component.bottomright"
|
||||
/>
|
||||
|
||||
<Bento:TabButton id="switch.ml" x="4" h="19" w="87" y="5" tabtext="Media Library"/>
|
||||
<Bento:TabButton id="switch.pl" x="4" h="19" w="87" y="5" tabtext="Playlist"/>
|
||||
<Bento:TabButton id="switch.video" x="92" h="19" w="47" y="5" tabtext="Video"/>
|
||||
<Bento:TabButton id="switch.vis" x="140" h="19" w="84" y="5" tabtext="Visualization"/>
|
||||
<!-- <Bento:TabButton id="switch.browser" x="225" h="19" w="63" y="5" tabtext="Browser"/> -->
|
||||
|
||||
<script file="../Big Bento/scripts/tabcontrol.maki" param="@HAVE_LIBRARY@"/>
|
||||
|
||||
<group id="sui.components" x="1" y="23" h="-26" w="-2" relatw="1" relath="1"/>
|
||||
|
||||
</groupdef>
|
80
Src/resources/skins/Bento/xml/player-normal.xml
Normal file
@ -0,0 +1,80 @@
|
||||
<include file="player-normal-group.xml"/>
|
||||
<include file="player-normal-sui.xml"/>
|
||||
<include file="player-normal-mcv.xml"/>
|
||||
|
||||
<layout id="normal" minimum_h="492" minimum_w="633" h="600" w="800" appbar="top|bottom" >
|
||||
|
||||
<!-- Background Outfit -->
|
||||
|
||||
<group id="window.background.regions" fitparent="1" sysregion="1" />
|
||||
|
||||
<layer id="window.background.maximize" fitparent="1" image="window.background.maximized" sysregion="1" visible="0"/>
|
||||
|
||||
<layer x="0" y="18" w="5" h="5" image="window.background.topleft" resize="left" regionop="1"/>
|
||||
<layer x="5" y="18" w="-10" relatw="1" h="5" image="window.background.top" regionop="1"/>
|
||||
<layer x="-5" relatx="1" y="18" w="5" h="5" image="window.background.topright" resize="right" regionop="1"/>
|
||||
<layer x="0" y="23" w="5" h="-28" relath="1" image="window.background.left" resize="left" regionop="1"/>
|
||||
<layer x="5" y="23" w="-10" relatw="1" h="-28" relath="1" image="window.background.center" move="0" regionop="1"/>
|
||||
<layer x="-5" relatx="1" y="23" w="5" h="-28" relath="1" image="window.background.right" resize="right" regionop="1"/>
|
||||
<layer x="0" y="-5" relaty="1" w="5" h="5" image="window.background.bottomleft" resize="bottomleft" id="player.resizer.bottomleft" regionop="1"/>
|
||||
<layer x="5" y="-5" relaty="1" w="-79" relatw="1" h="5" image="window.background.bottom" resize="bottom" id="player.resizer.bottom" regionop="1"/>
|
||||
<layer x="-74" y="-13" relaty="1" w="36" relatx="1" h="13" image="window.background.collapse" resize="bottom" id="player.resizer.collapse" regionop="1"/>
|
||||
<layer x="-39" y="-5" relaty="1" w="34" relatx="1" h="5" image="window.background.bottom" resize="bottom" id="player.resizer.bottom2" regionop="1"/>
|
||||
<layer x="-5" relatx="1" y="-5" relaty="1" w="5" h="5" image="window.background.bottomright" regionop="1"/>
|
||||
<layer x="-20" y="-11" w="15" h="7" relaty="1" relatx="1" image="window.background.resizer" id="player.resizer.bottomright" rectrgn="1" regionop="1"/>
|
||||
|
||||
<layer id="player.resizer.disable" x="0" y="18" h="-18" w="0" relath="1" relatw="1" rectrgn="1" move="0"/>
|
||||
|
||||
<layer x="2" y="19" image="window.background.gradient" move="0" ghost="1"/>
|
||||
|
||||
<group id="focus.dummy" x="5" w="-10" relatw="1" y="18" h="-23" relath="1" rectrgn="1" wantfocus="1" move="1"/>
|
||||
|
||||
<layer x="-20" y="-11" w="20" h="11" relaty="1" relatx="1" resize="bottomright" id="player.resizer.bottomright.dummy" rectrgn="1" />
|
||||
|
||||
<group x="0" y="0" h="18" w="0" relatw="1" id="player.titlebar" sysregion="1" wantfocus="1" rectrgn="1"/>
|
||||
|
||||
<Wasabi:Frame id="player.mainframe" x="4" y="21" w="-8" relath="0" h="95" from="l" relatw="1" orientation="v" maxwidth="-300" left="player.layout" right="player.dualwnd.pl.info" minwidth="226" width="226" jump="none" vgrabber="empty" vbitmap="empty"/>
|
||||
|
||||
<layer id="player.mainframe.grabber" ghost="1" x="229" y="21" h="92" w="8" image="wasabi.framewnd.verticaldivider" move="1"/>
|
||||
|
||||
<layer id="bolt.glow" x="191" y="83" image="player.button.bolt.glow" alpha="0" ghost="1"/>
|
||||
<button
|
||||
id="bolt"
|
||||
action="TOGGLE" param="guid:{D6201408-476A-4308-BF1B-7BACA1124B12}"
|
||||
x="191" y="83"
|
||||
image="player.button.bolt.normal"
|
||||
downImage="player.button.bolt.down"
|
||||
hoverImage="player.button.bolt.hover"
|
||||
/>
|
||||
|
||||
<script file="scripts/pledit.maki" param="small"/>
|
||||
|
||||
<group id="sui.content" x="4" y="119" h="-136" relath="1" w="-8" relatw="1" sysregion="1" wantfocus="1" rectrgn="1"/>
|
||||
|
||||
<button
|
||||
id="sui.show" regionop="1"
|
||||
x="-73" w="34" y="-12" h="11" relatx="1" relaty="1"
|
||||
image="window.button.expand.normal"
|
||||
hoverImage="window.button.expand.hover"
|
||||
downImage="window.button.expand.down"
|
||||
tooltip="Expand Window"
|
||||
/>
|
||||
<button
|
||||
id="sui.hide" regionop="1"
|
||||
x="-73" w="34" y="-12" h="11" relatx="1" relaty="1"
|
||||
image="window.button.collapse.normal"
|
||||
hoverImage="window.button.collapse.hover"
|
||||
downImage="window.button.collapse.down"
|
||||
tooltip="Collapse Window"
|
||||
/>
|
||||
|
||||
<script file="../Big Bento/scripts/suicore.maki" param="130"/>
|
||||
<!-- The main machine,
|
||||
param - height of main wnd if you hide the sui
|
||||
-->
|
||||
|
||||
<groupdef id="playlistpro">
|
||||
<PlaylistPro id="centro.windowholder.playlist1" x="0" y="0" h="0" w="0" relath="1" relatw="1" autofocus="1" wantfocus="1" autoclose="1" autoopen="1" autoavailable="1"/>
|
||||
</groupdef>
|
||||
|
||||
</layout>
|
341
Src/resources/skins/Bento/xml/player-shade.xml
Normal file
@ -0,0 +1,341 @@
|
||||
<groupdef id="shade.cbuttons">
|
||||
|
||||
<Button id="Prev"
|
||||
x="0" y="0" h="16" w="14" rectrgn="1"
|
||||
image="shade.button.previous.normal"
|
||||
hoverImage="shade.button.previous.hover"
|
||||
downImage="shade.button.previous.down"
|
||||
action="PREV" tooltip="Previous Track"
|
||||
/>
|
||||
|
||||
<Button id="Play"
|
||||
x="14" y="0" h="16" w="12" rectrgn="1"
|
||||
image="shade.button.play.normal"
|
||||
hoverImage="shade.button.play.hover"
|
||||
downImage="shade.button.play.down"
|
||||
action="PLAY" tooltip="Play"
|
||||
/>
|
||||
|
||||
<Button id="Pause"
|
||||
x="26" y="0" h="16" w="12" rectrgn="1"
|
||||
image="shade.button.pause.normal"
|
||||
hoverImage="shade.button.pause.hover"
|
||||
downImage="shade.button.pause.down"
|
||||
action="PAUSE" tooltip="Pause Playback"
|
||||
/>
|
||||
|
||||
<Button id="Stop"
|
||||
x="38" y="0" h="16" w="14" rectrgn="1"
|
||||
image="shade.button.stop.normal"
|
||||
hoverImage="shade.button.stop.hover"
|
||||
downImage="shade.button.stop.down"
|
||||
action="STOP" tooltip="Stop Playback"
|
||||
/>
|
||||
|
||||
<Button id="Next"
|
||||
x="52" y="0" h="16" w="14" rectrgn="1"
|
||||
image="shade.button.next.normal"
|
||||
hoverImage="shade.button.next.hover"
|
||||
downImage="shade.button.next.down"
|
||||
action="NEXT" tooltip="Next Track"
|
||||
/>
|
||||
|
||||
<Button id="Eject"
|
||||
x="72" y="0" h="16" w="15" rectrgn="1"
|
||||
image="shade.button.eject.normal"
|
||||
hoverImage="shade.button.eject.hover"
|
||||
downImage="shade.button.eject.down"
|
||||
action="EJECT" tooltip="Open File(s)"
|
||||
/>
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="shade.display">
|
||||
|
||||
<grid
|
||||
x="0" y="0" h="18" w="-5" relatw="1" ghost="1"
|
||||
left="shade.display.left"
|
||||
middle="shade.display.middle"
|
||||
right="shade.display.right"
|
||||
/>
|
||||
|
||||
<text id="SongTime"
|
||||
x="3" y="7" h="5" w="35" relatw="0" timeroffstyle="1" timecolonwidth="6"
|
||||
display="time" align="left" font="player.bitmapfont.songinfo"
|
||||
/>
|
||||
|
||||
<SongTicker id="Songticker" nograbb="1" move="1"
|
||||
x="0" y="2" h="12" w="-7" relatw="1"
|
||||
display="SONGTITLE" showlen="1" ticker="1" rightpadding="-3"
|
||||
rightclickaction="trackmenu" dblclickaction="trackinfo" align="right"
|
||||
color="color.display" fontsize="12" valign="top" bold="2"
|
||||
/>
|
||||
<text id="InfoDisplay" nograbb="1" move="1"
|
||||
x="0" y="2" h="12" w="-7" relatw="1" offsetx="-3"
|
||||
align="right" color="color.display" fontsize="12" valign="top" bold="2" ghost="1"
|
||||
/>
|
||||
|
||||
<script file="../Big Bento/scripts/songticker.maki" param="3,small" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="shade.vis">
|
||||
|
||||
<grid
|
||||
x="0" y="0" h="18" w="-6" relatw="1" ghost="1"
|
||||
left="shade.display.left"
|
||||
middle="shade.display.middle"
|
||||
right="shade.display.right"
|
||||
/>
|
||||
|
||||
<vis
|
||||
id="main.vis"
|
||||
x="4" y="4"
|
||||
w="54" h="9"
|
||||
colorbandpeak="162,193,204"
|
||||
colorband1="82,97,102"
|
||||
colorband2="74,88,93"
|
||||
colorband3="78,92,97"
|
||||
colorband4="83,97,104"
|
||||
colorband5="88,102,107"
|
||||
colorband6="94,107,112"
|
||||
colorband7="100,113,118"
|
||||
colorband8="106,120,125"
|
||||
colorband9="112,121,131"
|
||||
colorband10="117,131,136"
|
||||
colorband11="122,137,142"
|
||||
colorband12="127,141,146"
|
||||
colorband13="131,145,150"
|
||||
colorband14="136,150,155"
|
||||
colorband15="140,154,159"
|
||||
colorband16="145,159,164"
|
||||
colorosc1="82,97,102"
|
||||
colorosc2="83,97,104"
|
||||
colorosc3="106,120,125"
|
||||
colorosc4="127,141,146"
|
||||
colorosc5="145,159,164"
|
||||
gammagroup="Displaytext"
|
||||
/>
|
||||
|
||||
<layer id="main.vis.trigger" x="2" y="3" h="11" w="58" rectrgn="1"/>
|
||||
|
||||
<script file="../Big Bento/scripts/visualizer.maki"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="shade.volume">
|
||||
|
||||
<button id="mute" x="0" y="0" w="16" h="16"
|
||||
image="shade.button.mute.normal"
|
||||
hoverImage="shade.button.mute.hover"
|
||||
downImage="shade.button.mute.down"
|
||||
tooltip="Mute Volume"
|
||||
/>
|
||||
<button id="etum" x="0" y="0" w="16" h="16"
|
||||
image="shade.button.demute.normal"
|
||||
hoverImage="shade.button.demute.hover"
|
||||
downImage="shade.button.demute.down"
|
||||
tooltip="Turn Volume on"
|
||||
visible="0"
|
||||
/>
|
||||
|
||||
<layer id="player.volume.label" x="20" y="1" image="shade.label.volume" ghost="1"/>
|
||||
|
||||
<layer id="shade.volume.bg"
|
||||
x="17" y="5" h="5" w="40"
|
||||
image="shade.track.volume"
|
||||
ghost="1"
|
||||
/>
|
||||
|
||||
<grid id="player.volume.fill"
|
||||
x="19" y="7" h="2" w="38"
|
||||
left="player.slider.light.left"
|
||||
middle="player.slider.light.center"
|
||||
right="player.slider.light.right"
|
||||
/>
|
||||
|
||||
<Slider
|
||||
id="Volume"
|
||||
action="Volume"
|
||||
x="16" y="4" h="10" w="42"
|
||||
thumb="shade.volume.thumb.normal"
|
||||
hoverThumb="shade.volume.thumb.hover"
|
||||
downThumb="shade.volume.thumb.down"
|
||||
tooltip="Volume"
|
||||
/>
|
||||
|
||||
<script file="../Big Bento/scripts/mute.maki" param="38"/>
|
||||
<!-- param = max_w for volume fillbar -->
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="shade.seek">
|
||||
|
||||
<grid id="player.seek.bg"
|
||||
x="1" y="5" h="5" w="-8" relatw="1"
|
||||
left="shade.track.seek.left"
|
||||
middle="shade.track.seek.middle"
|
||||
right="shade.track.seek.right"
|
||||
/>
|
||||
|
||||
<ProgressGrid id="progressbar"
|
||||
x="3" y="7" h="2" w="-10" relatw="1"
|
||||
orientation="right"
|
||||
left="player.slider.light.left"
|
||||
middle="player.slider.light.center"
|
||||
right="player.slider.light.right"
|
||||
/>
|
||||
|
||||
<Slider
|
||||
id="seeker"
|
||||
action="SEEK"
|
||||
x="0" y="4" h="10" w="-7" relatw="1"
|
||||
thumb="shade.seek.thumb.normal"
|
||||
hoverThumb="shade.seek.thumb.hover"
|
||||
downThumb="shade.seek.thumb.down"
|
||||
ghost="1"
|
||||
visible="0"
|
||||
tooltip="Seeker"
|
||||
/>
|
||||
|
||||
<Slider
|
||||
id="seeker.ghost"
|
||||
action="SEEK"
|
||||
x="0" y="4" h="10" w="-7" relatw="1"
|
||||
thumb="shade.seek.thumb.normal"
|
||||
hoverThumb="shade.seek.thumb.hover"
|
||||
downThumb="shade.seek.thumb.down"
|
||||
tooltip="Seeker"
|
||||
/>
|
||||
|
||||
<script file="../Big Bento/scripts/seek.maki"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="shade.links">
|
||||
|
||||
<rect color="0,0,0" alpha="180" x="0" y="0" w="39" h="18" filled="1"/>
|
||||
|
||||
<button id="search" x="20" y="0" w="18" h="16"
|
||||
image="shade.button.search.normal"
|
||||
hoverImage="shade.button.search.hover"
|
||||
downImage="shade.button.search.down"
|
||||
tooltip="Search the web for this artist"
|
||||
/>
|
||||
<layer id="search.bg" ghost="1" x="20" y="0" image="shade.button.icon.bg" />
|
||||
<layer id="search.icon" ghost="1" x="20" y="0" image="shade.button.icon.search" />
|
||||
<script file="../Big Bento/scripts/syncbutton.maki" param="search;search.bg"/>
|
||||
<script file="../Big Bento/scripts/syncbutton.maki" param="search;search.icon"/>
|
||||
|
||||
<button id="nowplaying" x="1" y="0" w="18" h="16"
|
||||
image="shade.button.search.normal"
|
||||
hoverImage="shade.button.search.hover"
|
||||
downImage="shade.button.search.down"
|
||||
tooltip="More information about this artist"
|
||||
/>
|
||||
<layer id="nowplaying.bg" ghost="1" x="1" y="0" image="shade.button.icon.bg" />
|
||||
<layer id="nowplaying.icon" ghost="1" x="1" y="0" image="shade.button.icon.nowplaying" />
|
||||
<script file="../Big Bento/scripts/syncbutton.maki" param="nowplaying;nowplaying.bg"/>
|
||||
<script file="../Big Bento/scripts/syncbutton.maki" param="nowplaying;nowplaying.icon"/>
|
||||
|
||||
<script file="../Big Bento/scripts/syncbutton.maki" param="nowplaying;nowplaying.icon"/>
|
||||
|
||||
<script file="../Big Bento/scripts/shadelinks.maki"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<layout id="shade" minimum_w="250" h="18" minimum_h="18" maximum_h="18" w="500" primarycomponent="guid:player" appbar="top|bottom">
|
||||
|
||||
<!-- Background -->
|
||||
|
||||
<group id="window.background.regions" fitparent="1" sysregion="1" />
|
||||
|
||||
<layer id="window.background.maximize" fitparent="1" image="window.background.maximized" sysregion="1" visible="0"/>
|
||||
|
||||
<grid
|
||||
x="0" y="0" h="18" w="0" relatw="1" regionop="1"
|
||||
left="window.titlebar.grid.left"
|
||||
middle="window.titlebar.grid.middle"
|
||||
right="window.titlebar.grid.right"
|
||||
/>
|
||||
|
||||
<grid
|
||||
x="0" y="0" h="18" w="0" relatw="1" regionop="1"
|
||||
left="window.titlebar.grid.over.left"
|
||||
middle="window.titlebar.grid.over.middle"
|
||||
right="window.titlebar.grid.over.right"
|
||||
/>
|
||||
|
||||
<layer x="27" y="6" image="window.titlebar.text.winamp" ghost="1" />
|
||||
|
||||
<guiobject fitparent="1" rectrgn="1" move="1" id="shade.mousetrap"/>
|
||||
|
||||
<!-- System Buttons -->
|
||||
|
||||
<button
|
||||
x="5" y="2" h="13" w="15"
|
||||
action="SYSMENU"
|
||||
image="window.titlebar.button.sysmenu.normal"
|
||||
hoverImage="window.titlebar.button.sysmenu.hover"
|
||||
downImage="window.titlebar.button.sysmenu.down"
|
||||
tooltip="Main Menu"
|
||||
/>
|
||||
|
||||
<button
|
||||
x="-79" relatx="1" y="2" h="13" w="17"
|
||||
id="shade.button.minimize"
|
||||
action="MINIMIZE"
|
||||
image="window.titlebar.button.minimize.normal"
|
||||
hoverImage="window.titlebar.button.minimize.hover"
|
||||
downImage="window.titlebar.button.minimize.down"
|
||||
tooltip="Minimize Winamp"
|
||||
/>
|
||||
|
||||
<button
|
||||
x="-60" relatx="1" y="2" h="13" w="17"
|
||||
id="shade.button.restore"
|
||||
image="window.titlebar.button.restore.normal"
|
||||
hoverImage="window.titlebar.button.restore.hover"
|
||||
downImage="window.titlebar.button.restore.down"
|
||||
tooltip="Restore Winamp"
|
||||
/>
|
||||
|
||||
<button
|
||||
x="-60" relatx="1" y="2" h="13" w="17"
|
||||
id="shade.button.maximize"
|
||||
image="window.titlebar.button.maximize.normal"
|
||||
hoverImage="window.titlebar.button.maximize.hover"
|
||||
downImage="window.titlebar.button.maximize.down"
|
||||
tooltip="Maximize Winamp"
|
||||
/>
|
||||
|
||||
<button
|
||||
x="-41" relatx="1" y="2" h="13" w="17"
|
||||
action="SWITCH" param="normal"
|
||||
image="window.titlebar.button.shade.normal"
|
||||
hoverImage="window.titlebar.button.shade.hover"
|
||||
downImage="window.titlebar.button.shade.down"
|
||||
tooltip="Main Mode"
|
||||
/>
|
||||
|
||||
<button
|
||||
x="-22" relatx="1" y="2" h="13" w="17"
|
||||
action="CLOSE"
|
||||
image="window.titlebar.button.close.normal"
|
||||
hoverImage="window.titlebar.button.close.hover"
|
||||
downImage="window.titlebar.button.close.down"
|
||||
tooltip="Exit Winamp"
|
||||
/>
|
||||
|
||||
<layer x="-5" y="0" w="5" h="18" rectrgn="1" relatx="1" resize="right" image="shade.resizer.right" id="shade.resizer.right"/>
|
||||
<layer x="-5" y="0" w="5" h="18" rectrgn="1" relatx="1" resize="right" id="shade.resizer.right2"/>
|
||||
|
||||
<group id="shade.display" x="163" y="0" w="100" h="18" visible="0"/>
|
||||
<group id="shade.cbuttons" x="77" y="1" w="96" h="16"/>
|
||||
<group id="shade.volume" x="163" y="1" w="65" h="16" visible="0"/>
|
||||
<group id="shade.seek" x="-144" relatx="1" y="1" w="63" h="16" visible="0"/>
|
||||
<group id="shade.vis" x="79" y="0" w="67" h="16" visible="0"/>
|
||||
<group id="shade.links" x="0" y="1" w="43" h="21" relatx="1" visible="0"/>
|
||||
|
||||
<script file="../Big Bento/scripts/shadesize.maki" param="83" />
|
||||
|
||||
</layout>
|
65
Src/resources/skins/Bento/xml/player.xml
Normal file
@ -0,0 +1,65 @@
|
||||
<include file="player-elements.xml"/>
|
||||
<include file="playlistpro.xml"/>
|
||||
|
||||
<container id="main" name="Main Window" primarycomponent="guid:player">
|
||||
|
||||
<include file="player-normal.xml"/>
|
||||
<include file="player-shade.xml"/>
|
||||
|
||||
</container>
|
||||
<!--
|
||||
<container id="browser.quicklink.edit.dialog2" name="Edit Quicklink" dynamic="1" default_visible="0" nomenu="1" >
|
||||
|
||||
<groupdef id="browser.quicklink.content">
|
||||
|
||||
<text x="5" y="3" text="Store Quick Link in:" color="color.window.txt" ghost="1" antialias="0"/>
|
||||
|
||||
<wasabi:Combobox id="edit.parent" x="5" y="20" w="-10" h="20" relatw="1" maxitems="5"/>
|
||||
|
||||
<text x="5" y="43" text="Quick Link Name:" color="color.window.txt" ghost="1" antialias="0"/>
|
||||
|
||||
<wasabi:editbox id="edit.name" x="5" y="60" w="-10" h="20" relatw="1"/>
|
||||
|
||||
<text x="5" y="83" text="Quick Link URL:" color="color.window.txt" ghost="1" antialias="0"/>
|
||||
|
||||
<wasabi:editbox id="edit.url" x="5" y="100" w="-10" h="20" relatw="1"/>
|
||||
|
||||
<wasabi:button x="5" y="128" w="-10" h="19" relatw="1" text="OK" id="return.values"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<layout id="normal" noparent="1" ontop="1" noactivation="1" minimum_h="185" minimum_w="300" maximum_h="185" maximum_w="300" lockminmax="1" nodock="1" move="0" >
|
||||
|
||||
<Wasabi:StandardFrame:Static
|
||||
fitparent="1"
|
||||
regionop="1"
|
||||
content="browser.quicklink.content"
|
||||
/>
|
||||
|
||||
</layout>
|
||||
|
||||
</container>
|
||||
|
||||
<container id="browser.submenu.edit2" name="Edit Submenu" dynamic="1" default_visible="0" nomenu="1" >
|
||||
|
||||
<groupdef id="browser.submenu.content">
|
||||
|
||||
<text x="5" y="2" text="Submenu Name:" color="color.window.txt" ghost="1" antialias="0"/>
|
||||
|
||||
<wasabi:editbox id="edit.name" x="5" y="20" w="-10" h="20" relatw="1"/>
|
||||
|
||||
<wasabi:button x="5" y="48" w="-10" h="19" relatw="1" text="OK" id="return.values"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<layout id="normal" noparent="1" ontop="1" noactivation="1" minimum_h="105" minimum_w="300" maximum_h="105" maximum_w="300" lockminmax="1" nodock="1" move="0" >
|
||||
|
||||
<Wasabi:StandardFrame:Static
|
||||
fitparent="1"
|
||||
regionop="1"
|
||||
content="browser.submenu.content"
|
||||
/>
|
||||
|
||||
</layout>
|
||||
|
||||
</container>-->
|
62
Src/resources/skins/Bento/xml/playlistpro.xml
Normal file
@ -0,0 +1,62 @@
|
||||
<groupdef id="PlaylistPro.list.group" minimum_h="64" background="studio.BaseTexture">
|
||||
|
||||
<grid
|
||||
fitparent="1"
|
||||
topleft="sui.pl.search.box.1"
|
||||
top="sui.pl.search.box.2"
|
||||
topright="sui.pl.search.box.3"
|
||||
left="sui.pl.search.box.4"
|
||||
middle="sui.pl.search.box.5"
|
||||
right="sui.pl.search.box.6"
|
||||
bottomleft="sui.pl.search.box.7"
|
||||
bottom="sui.pl.search.box.8"
|
||||
bottomright="sui.pl.search.box.9"
|
||||
sysregion="1"
|
||||
/>
|
||||
|
||||
<list id="PlaylistPro.list" x="4" y="0" w="-6" h="-24" relatw="1" relath="1" nocolheader="1" antialias="1" font="arial" multiselect="1"/>
|
||||
<text id="PlaylistPro.list.news" x="3" y="-22" w="-6" h="20" relaty="1" relatw="1" text="Results found: 22 items" font="arial" color="wasabi.list.text" align="center" antialias="1" fontsize="17"/>
|
||||
<layer x="0" y="-1" relaty="1" w="0" relatw="1" h="20" resize="bottom" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
<container id="searchresults" name="Search Results" dynamic="1" default_visible="0" nomenu="1" nofocusapponclose="1" autoclose="1">
|
||||
<layout id="normal" noparent="1" ontop="1" noactivation="1" nodock="1" move="0" autoclose="1">
|
||||
<group id="PlaylistPro.list.group" x="1" y="0" h="0" w="-12" relath="1" relatw="1"/>
|
||||
<layer id="1px.patch" x="-11" y="0" w="1" relath="1" relatx="1" h="20" image="sui.pl.search.box.6" sysregion="1"/>
|
||||
</layout>
|
||||
</container>
|
||||
|
||||
|
||||
<groupdef id="wasabi.edits" xuitag="Wasabi:EditBox2" embed_xui="wasabi.edit.box" h="24">
|
||||
<button id="pl.search.edit.rect" x="1" y="2" w="-4" h="22" relatw="1" relath="0" rectrgn="1" tooltip="Click to search the playlist (Right-Click for search history)" cursor="IDC_IBEAM"/>
|
||||
<text id="pl.search.edit.searchhelp" x="1" y="2" w="-5" h="19" relatw="1" antialias="1" color="wasabi.list.text" text="Search in Playlist" ghost="1" font="arial" alpha="230" fontsize="16"/>
|
||||
<edit id="wasabi.edit.box" x="1" y="0" w="-21" h="22" relatw="1" relath="0" autoselect="1" visible="0"/>
|
||||
|
||||
<button id="pl.search.edit.clear.text" x="-20" y="2" h="19" w="20" relatx="1" rectrgn="1" image="sui.pl.search.stop.bgv" visible="0"/>
|
||||
<button id="pl.search.edit.clear" x="-20" y="2" h="19" w="20" relatx="1" rectrgn="1" image="sui.pl.search.stop.1" hoverimage="sui.pl.search.stop.1" downimage="sui.pl.search.stop.3" cursor="IDC_HAND" tooltip="Clear Search" visible="0"/>
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="player.component.playlist.searchbar.search" h="30">
|
||||
<grid x="0" y="0" h="31" w="0" relatw="1"
|
||||
left="sui.pl.search.bgv.1" middle="sui.pl.search.bgv.2" right="sui.pl.search.bgv.3"/>
|
||||
|
||||
<grid x="0" y="0" h="30" w="0" relatw="1"
|
||||
left="sui.pl.search.bg.1" middle="sui.pl.search.bg.2" right="sui.pl.search.bg.3"/>
|
||||
|
||||
<button id="pl.search.go" x="-26" y="4" h="19" w="20" relatx="1" image="sui.pl.search.go.1" hoverimage="sui.pl.search.go.2" downimage="sui.pl.search.go.3" tooltip="Go Search" rectrgn="1"/>
|
||||
<Wasabi:EditBox2 id="pl.search.edit" x="4" y="4" relatw="1" w="-10" h="20" text=""/>
|
||||
</groupdef>
|
||||
<groupdef id="PlaylistPro.topbar">
|
||||
<group id="player.component.playlist.searchbar.search" x="0" y="0" w="0" relatw="1"/>
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="PlaylistPro.xui" wantfocus="1" rectrgn="1" xuitag="PlaylistPro" embed_xui="wdh.playlist">
|
||||
<!--rect fitparent="1" filled="1" color="wasabi.window.background"/-->
|
||||
|
||||
<windowholder id="wdh.playlist" h="0" x="0" w="0" relath="1" relatw="1" autofocus="0" wantfocus="0" autoclose="1" autoopen="1" autoavailable="1" hold="guid:{45f3f7c1-a6f3-4ee6-a15e-125e92fc3f8d}"/>
|
||||
|
||||
<group id="PlaylistPro.topbar" x="0" y="0" w="0" h="30" relatw="1" visible="0"/>
|
||||
<script file="scripts/playlistpro.maki"/>
|
||||
</groupdef>
|
||||
|
153
Src/resources/skins/Bento/xml/standardframe.xml
Normal file
@ -0,0 +1,153 @@
|
||||
<!-- =======================================================================================================
|
||||
|
||||
This group serves as a template for all the Wasabi:StandardFrame objects
|
||||
|
||||
======================================================================================================== -->
|
||||
|
||||
<groupdef id="wasabi.frame.layout">
|
||||
|
||||
<layer x="0" y="0" h="1" w="1" image="window.background.region" regionop="-2" />
|
||||
<layer x="-1" relatx="1" y="0" h="1" w="1" image="window.background.region" regionop="-2" />
|
||||
<layer x="0" y="-1" relaty="1" h="1" w="1" image="window.background.region" regionop="-2" />
|
||||
<layer x="-1" relatx="1" y="-1" relaty="1" h="1" w="1" image="window.background.region" regionop="-2" />
|
||||
|
||||
<grid
|
||||
x="0" y="0" h="18" w="0" relatw="1" regionop="1"
|
||||
left="window.titlebar.grid.left"
|
||||
middle="window.titlebar.grid.middle"
|
||||
right="window.titlebar.grid.right"
|
||||
/>
|
||||
|
||||
<layer x="0" y="0" h="18" w="0" relatw="1" move="1" />
|
||||
|
||||
<text id="componentname" x="27" y="2" w="-77" h="14" relatw="1" fontsize="11" bold="1" default=":componentname" ghost="1" color="wasabi.titlebar.color" font="Arial" align="left" forceuppercase="1"/>
|
||||
|
||||
<layer x="0" y="18" w="5" h="5" image="window.background.topleft" resize="left" regionop="1"/>
|
||||
<layer x="5" y="18" w="-10" relatw="1" h="5" image="window.background.top" regionop="1"/>
|
||||
<layer x="-5" relatx="1" y="18" w="5" h="5" image="window.background.topright" resize="right" regionop="1"/>
|
||||
<layer x="0" y="23" w="5" h="-28" relath="1" image="window.background.left" resize="left" regionop="1"/>
|
||||
<layer x="5" y="23" w="-10" relatw="1" h="-28" relath="1" image="window.background.center" move="1" regionop="1"/>
|
||||
<layer x="-5" relatx="1" y="23" w="5" h="-28" relath="1" image="window.background.right" resize="right" regionop="1"/>
|
||||
<layer x="0" y="-5" relaty="1" w="5" h="5" image="window.background.bottomleft" resize="bottomleft" id="player.resizer.bottomleft" regionop="1"/>
|
||||
<layer x="5" y="-5" relaty="1" w="-10" relatw="1" h="5" image="window.background.bottom" resize="bottom" id="player.resizer.bottom" regionop="1"/>
|
||||
<layer x="-5" relatx="1" y="-5" relaty="1" w="5" h="5" image="window.background.bottomright" regionop="1"/>
|
||||
<layer x="-20" y="-11" w="15" h="7" relaty="1" relatx="1" image="window.background.resizer" id="player.resizer.bottomright" rectrgn="1" regionop="1"/>
|
||||
<layer x="-20" y="-11" w="20" h="11" relaty="1" relatx="1" resize="bottomright" id="player.resizer.bottomright.dummy" rectrgn="1" />
|
||||
|
||||
<layer id="window.resize.disabler" fitparent="1" move="1" visible="0"/>
|
||||
|
||||
<button
|
||||
x="-41" relatx="1" y="2" h="13" w="17"
|
||||
id="restore"
|
||||
image="window.titlebar.button.restore.normal"
|
||||
hoverImage="window.titlebar.button.restore.hover"
|
||||
downImage="window.titlebar.button.restore.down"
|
||||
tooltip="Restore Winamp"
|
||||
/>
|
||||
|
||||
<button
|
||||
x="-41" relatx="1" y="2" h="13" w="17"
|
||||
id="maximize"
|
||||
image="window.titlebar.button.maximize.normal"
|
||||
hoverImage="window.titlebar.button.maximize.hover"
|
||||
downImage="window.titlebar.button.maximize.down"
|
||||
tooltip="Maximize Winamp"
|
||||
/>
|
||||
|
||||
<button
|
||||
x="5" y="2" h="13" w="15"
|
||||
action="SYSMENU"
|
||||
image="window.titlebar.button.sysmenu.normal"
|
||||
hoverImage="window.titlebar.button.sysmenu.hover"
|
||||
downImage="window.titlebar.button.sysmenu.down"
|
||||
tooltip="Main Menu"
|
||||
/>
|
||||
|
||||
<button
|
||||
x="-22" relatx="1" y="2" h="13" w="17"
|
||||
action="CLOSE"
|
||||
image="window.titlebar.button.close.normal"
|
||||
hoverImage="window.titlebar.button.close.hover"
|
||||
downImage="window.titlebar.button.close.down"
|
||||
tooltip="Close Window"
|
||||
/>
|
||||
|
||||
<grid
|
||||
x="0" y="0" h="18" w="0" relatw="1" regionop="1" ghost="1"
|
||||
left="window.titlebar.grid.over.left"
|
||||
middle="window.titlebar.grid.over.middle"
|
||||
right="window.titlebar.grid.over.right"
|
||||
/>
|
||||
|
||||
<LayoutStatus id="sysmenu.status" bg="0" x="5" y="2" h="13" w="15" includeonly="{system}" />
|
||||
<hideobject target="sysmenu.status"/>
|
||||
|
||||
<script file="../Big Bento/scripts/simplemaximize.maki"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- =======================================================================================================
|
||||
|
||||
<Wasabi:StandardFrame:Status /> implementation
|
||||
|
||||
======================================================================================================== -->
|
||||
|
||||
<groupdef id="wasabi.standardframe.statusbar" background="wasabi.frame.basetexture" sysregion="1" xuitag="Wasabi:StandardFrame:Status">
|
||||
|
||||
<group id="wasabi.frame.layout" x="0" y="0" w="0" relatw="1" h="0" relath="1"/>
|
||||
|
||||
<LayoutStatus id="standardframe.layoutstatus" x="5" y="-33" relaty="1" w="-10" relatw="1" h="18" exclude="{system}" />
|
||||
<script id="standardframe.script" file="../Big Bento/scripts/standardframe.maki" param="5,21,-10,-54,0,0,1,1" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- =======================================================================================================
|
||||
|
||||
<Wasabi:StandardFrame:NoStatus /> implementation
|
||||
|
||||
======================================================================================================== -->
|
||||
|
||||
<groupdef id="wasabi.standardframe.nostatusbar" background="wasabi.frame.basetexture" sysregion="1" xuitag="Wasabi:StandardFrame:NoStatus">
|
||||
|
||||
<group id="wasabi.frame.layout" x="0" y="0" w="0" h="0" relatw="1" relath="1"/>
|
||||
|
||||
<script id="standardframe.script" file="../Big Bento/scripts/standardframe.maki" param="5,21,-10,-36,0,0,1,1" />
|
||||
|
||||
</groupdef>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- =======================================================================================================
|
||||
|
||||
<Wasabi:StandardFrame:Modal /> implementation
|
||||
|
||||
======================================================================================================== -->
|
||||
|
||||
<groupdef id="wasabi.standardframe.modal" inherit_group="wasabi.standardframe.nostatusbar" background="wasabi.frame.basetexture" sysregion="1" xuitag="Wasabi:StandardFrame:Modal">
|
||||
<sendparams target="window.resize.disabler" visible="1" />
|
||||
<sendparams target="player.resizer.bottomright" visible="0" />
|
||||
<sendparams target="restore" visible="0" />
|
||||
<sendparams target="maximize" visible="0" />
|
||||
</groupdef>
|
||||
|
||||
|
||||
<!-- =======================================================================================================
|
||||
|
||||
<Wasabi:StandardFrame:Static /> implementation
|
||||
|
||||
======================================================================================================== -->
|
||||
|
||||
<groupdef id="wasabi.standardframe.static" inherit_group="wasabi.standardframe.nostatusbar" background="wasabi.frame.basetexture" sysregion="1" xuitag="Wasabi:StandardFrame:Static">
|
||||
<sendparams target="window.resize.disabler" visible="1" />
|
||||
<sendparams target="player.resizer.bottomright" visible="0" />
|
||||
<sendparams target="restore" visible="0" />
|
||||
<sendparams target="maximize" visible="0" />
|
||||
</groupdef>
|