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>
|
132
Src/resources/skins/Big Bento/about/about.m
Normal file
@ -0,0 +1,132 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: about.m
|
||||
Version: 1.0
|
||||
|
||||
Type: maki
|
||||
Date: 03. Jul. 2006 - 22:40
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#include <lib/std.mi>
|
||||
|
||||
#include nibbles/nibbles.m
|
||||
|
||||
Global Layer tgnibbles;
|
||||
Global Group sg;
|
||||
Global Timer change;
|
||||
Global int counter;
|
||||
Global Group g1, g2, g3, g4, g5, g6, g7, g8;
|
||||
Function blend (guiobject in, guiobject out);
|
||||
|
||||
System.onScriptLoaded ()
|
||||
{
|
||||
sg = getScriptGroup();
|
||||
tgnibbles = sg.getObject("toggle");
|
||||
nibbles = sg.getObject("nibbles");
|
||||
|
||||
init_nibbles();
|
||||
|
||||
g1 = sg.getObject("about.text1");
|
||||
g2 = sg.getObject("about.text2");
|
||||
g3 = sg.getObject("about.text3");
|
||||
g4 = sg.getObject("about.text4");
|
||||
g5 = sg.getObject("about.text5");
|
||||
g6 = sg.getObject("about.text6");
|
||||
g7 = sg.getObject("about.text7");
|
||||
g8 = sg.getObject("about.text8");
|
||||
|
||||
change = new Timer;
|
||||
change.setDelay(3300);
|
||||
}
|
||||
|
||||
system.onScriptUnloading ()
|
||||
{
|
||||
delete change;
|
||||
}
|
||||
|
||||
|
||||
tgnibbles.onLeftButtonDblClk (int x, int y)
|
||||
{
|
||||
if (nibbles.isVisible()) nibbles.hide();
|
||||
else if (!nibbles.isVisible()) nibbles.show();
|
||||
}
|
||||
|
||||
sg.onSetVisible (Boolean onoff)
|
||||
{
|
||||
if (onoff)
|
||||
{
|
||||
change.start();
|
||||
g1.setXmlParam("x", "400");
|
||||
g1.canceltarget();
|
||||
g1.setAlpha(255);
|
||||
g1.setTargetX(25);
|
||||
g1.setTargetSpeed(1.3);
|
||||
g1.gotoTarget();
|
||||
}
|
||||
else
|
||||
{
|
||||
change.stop();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
change.onTimer ()
|
||||
{
|
||||
counter++;
|
||||
if (counter > 7) counter = 0;
|
||||
if (counter == 0)
|
||||
{
|
||||
blend(g1, g8);
|
||||
}
|
||||
else if (counter == 1)
|
||||
{
|
||||
blend(g2, g1);
|
||||
}
|
||||
else if (counter == 2)
|
||||
{
|
||||
blend(g3, g2);
|
||||
}
|
||||
else if (counter == 3)
|
||||
{
|
||||
blend(g4, g3);
|
||||
}
|
||||
else if (counter == 4)
|
||||
{
|
||||
blend(g5, g4);
|
||||
}
|
||||
else if (counter == 5)
|
||||
{
|
||||
blend(g6, g5);
|
||||
}
|
||||
else if (counter == 6)
|
||||
{
|
||||
blend(g7, g6);
|
||||
}
|
||||
else if (counter == 7)
|
||||
{
|
||||
blend(g8, g7);
|
||||
}
|
||||
}
|
||||
|
||||
blend (guiobject in, guiobject out)
|
||||
{
|
||||
out.canceltarget();
|
||||
out.setTargetA(0);
|
||||
out.setTargetX(-25);
|
||||
out.setTargetSpeed(2);
|
||||
out.gotoTarget();
|
||||
in.canceltarget();
|
||||
in.setXmlParam("x", "400");
|
||||
in.setAlpha(255);
|
||||
in.setTargetX(25);
|
||||
in.setTargetA(255);
|
||||
in.setTargetSpeed(1.5);
|
||||
in.gotoTarget();
|
||||
}
|
||||
|
BIN
Src/resources/skins/Big Bento/about/about.maki
Normal file
81
Src/resources/skins/Big Bento/about/about.xml
Normal file
@ -0,0 +1,81 @@
|
||||
<include file="nibbles/nibbles.xml"/>
|
||||
<elements>
|
||||
<bitmap id="about.fg" file="../Big Bento/about/about_fg.jpg" />
|
||||
<bitmap id="about.bg" file="../Big Bento/about/about_fg.jpg" y="0" h="321" x="0" w="1"/>
|
||||
<color id="about.font" value="162,193,204" gammgroup="none" />
|
||||
</elements>
|
||||
|
||||
<groupdef id="skin.about.group" w="0" h="0" relatw="1" relath="1" rectrgn="1">
|
||||
<rect fitparent="1" color="255,255,255" filled="1" />
|
||||
|
||||
<layer fitparent="1" image="about.bg"/>
|
||||
|
||||
<layer
|
||||
x="0" y="0"
|
||||
w="371"
|
||||
h="321"
|
||||
image="about.fg"
|
||||
/>
|
||||
|
||||
<group id="about.text1" x="25" y="190" h="90" w="350" alpha="0"/>
|
||||
<group id="about.text2" x="25" y="190" h="90" w="350" alpha="0"/>
|
||||
<group id="about.text3" x="25" y="190" h="90" w="350" alpha="0"/>
|
||||
<group id="about.text4" x="25" y="190" h="90" w="350" alpha="0"/>
|
||||
<group id="about.text5" x="25" y="190" h="90" w="350" alpha="0"/>
|
||||
<group id="about.text6" x="25" y="190" h="90" w="350" alpha="0"/>
|
||||
<group id="about.text7" x="25" y="190" h="90" w="350" alpha="0"/>
|
||||
<group id="about.text8" x="25" y="190" h="90" w="350" alpha="0"/>
|
||||
|
||||
<group id="nibbles" fitparent="1" visible="0" />
|
||||
|
||||
<layer id="toggle" fitparent="1" rectrgn="1" />
|
||||
|
||||
<script file="../Big Bento/about/about.maki"/>
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="about.text1" >
|
||||
<text color="about.font" x="0" y="0" h="30" w="350" fontsize="28" font="tahoma" text="The new" alpha="110"/>
|
||||
<text color="about.font" x="15" y="30" h="40" w="350" fontsize="36" font="tahoma" text="Single User Interface." alpha="60"/>
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="about.text2" >
|
||||
<text color="about.font" x="0" y="0" h="30" w="350" fontsize="28" font="tahoma" text="Coding by" alpha="110"/>
|
||||
<text color="about.font" x="15" y="30" h="40" w="350" fontsize="36" font="tahoma" text="Martin Pöhlmann." alpha="70"/>
|
||||
<text color="about.font" x="17" y="70" h="18" w="350" fontsize="18" font="tahoma" text="from www.skinconsortium.com" alpha="100"/>
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="about.text3" >
|
||||
<text color="about.font" x="0" y="0" h="30" w="350" fontsize="28" font="tahoma" text="Graphics by" alpha="110"/>
|
||||
<text color="about.font" x="15" y="30" h="40" w="350" fontsize="36" font="tahoma" text="Taber Buhl." alpha="60"/>
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="about.text4" >
|
||||
<text color="about.font" x="0" y="0" h="30" w="350" fontsize="28" font="tahoma" text="Wasabi Development by" alpha="110"/>
|
||||
<text color="about.font" x="15" y="30" h="40" w="350" fontsize="36" font="tahoma" text="Ben Allison" alpha="60"/>
|
||||
<text color="about.font" x="17" y="70" h="18" w="350" fontsize="18" font="tahoma" text="and Martin Pöhlmann." alpha="100"/>
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="about.text5" >
|
||||
<text color="about.font" x="0" y="0" h="30" w="350" fontsize="28" font="tahoma" text="Color Themes by" alpha="110"/>
|
||||
<text color="about.font" x="15" y="30" h="40" w="350" fontsize="16" font="tahoma" text="DJ Egg, GreayStone, J_Darnley, Martin, QOAL, VooDoo`" alpha="100"/>
|
||||
<text color="about.font" x="17" y="60" h="18" w="350" fontsize="16" font="tahoma" text="You are encouraged to submit new ones." alpha="60"/>
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="about.text7" >
|
||||
<text color="about.font" x="0" y="0" h="30" w="350" fontsize="28" font="tahoma" text="Feel free to use this skin" alpha="110"/>
|
||||
<text color="about.font" x="15" y="30" h="40" w="350" fontsize="36" font="tahoma" text="as a reference point" alpha="60"/>
|
||||
<text color="about.font" x="17" y="70" h="18" w="350" fontsize="18" font="tahoma" text="to create your own winamp skins." alpha="100"/>
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="about.text8" >
|
||||
<text color="about.font" x="0" y="0" h="30" w="350" fontsize="28" font="tahoma" text="For help visit" alpha="110"/>
|
||||
<text color="about.font" x="15" y="30" h="40" w="350" fontsize="36" font="tahoma" text="forums.winamp.com" alpha="60"/>
|
||||
<text color="about.font" x="17" y="70" h="18" w="350" fontsize="18" font="tahoma" text="or forums.skinconsortium.com" alpha="100"/>
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="about.text6" >
|
||||
<text color="about.font" x="0" y="0" h="30" w="350" fontsize="28" font="tahoma" text="Thanks go to..." alpha="110"/>
|
||||
<text color="about.font" x="15" y="30" h="40" w="350" fontsize="36" font="tahoma" text="DJ Egg, SLoB and Phobos" alpha="60"/>
|
||||
<text color="about.font" x="17" y="70" h="18" w="350" fontsize="18" font="tahoma" text="...for help and suggestions." alpha="100"/>
|
||||
</groupdef>
|
BIN
Src/resources/skins/Big Bento/about/about_fg.jpg
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
Src/resources/skins/Big Bento/about/nibbles/fixedsys.png
Normal file
After Width: | Height: | Size: 696 B |
BIN
Src/resources/skins/Big Bento/about/nibbles/info.png
Normal file
After Width: | Height: | Size: 177 B |
BIN
Src/resources/skins/Big Bento/about/nibbles/info2.png
Normal file
After Width: | Height: | Size: 197 B |
BIN
Src/resources/skins/Big Bento/about/nibbles/level1.png
Normal file
After Width: | Height: | Size: 228 B |
BIN
Src/resources/skins/Big Bento/about/nibbles/level10.png
Normal file
After Width: | Height: | Size: 284 B |
BIN
Src/resources/skins/Big Bento/about/nibbles/level2.png
Normal file
After Width: | Height: | Size: 236 B |
BIN
Src/resources/skins/Big Bento/about/nibbles/level3.png
Normal file
After Width: | Height: | Size: 253 B |
BIN
Src/resources/skins/Big Bento/about/nibbles/level4.png
Normal file
After Width: | Height: | Size: 276 B |
BIN
Src/resources/skins/Big Bento/about/nibbles/level5.png
Normal file
After Width: | Height: | Size: 392 B |
BIN
Src/resources/skins/Big Bento/about/nibbles/level6.png
Normal file
After Width: | Height: | Size: 260 B |
BIN
Src/resources/skins/Big Bento/about/nibbles/level7.png
Normal file
After Width: | Height: | Size: 268 B |
BIN
Src/resources/skins/Big Bento/about/nibbles/level8.png
Normal file
After Width: | Height: | Size: 274 B |
BIN
Src/resources/skins/Big Bento/about/nibbles/level9.png
Normal file
After Width: | Height: | Size: 408 B |
BIN
Src/resources/skins/Big Bento/about/nibbles/llama.png
Normal file
After Width: | Height: | Size: 211 B |
828
Src/resources/skins/Big Bento/about/nibbles/nibbles.m
Normal file
@ -0,0 +1,828 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: nibbles.m
|
||||
Version: 1.0
|
||||
|
||||
Type: maki
|
||||
Date: 23. Okt. 2006 - 21:11
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#define GAME_SPEED 30
|
||||
#define MAX_H 59
|
||||
#define MAX_W 72
|
||||
#define MAX_LLAMAS 9
|
||||
|
||||
function init_nibbles();
|
||||
|
||||
Function setLlama();
|
||||
Function gotLlama();
|
||||
Function showInfo(string s);
|
||||
Function showInfo2();
|
||||
Function hideInfo2();
|
||||
Function startGame(int level);
|
||||
Function setPos(layer l, int x, int y);
|
||||
Function checkforWalls(layer l);
|
||||
Function checkforLlama(layer l);
|
||||
Function checkforSammy(layer l);
|
||||
Function sammyDies ();
|
||||
Function addSammy();
|
||||
Function syncSammy();
|
||||
Function Layer createSammy(int num, int x, int y);
|
||||
|
||||
Global group nibbles;
|
||||
|
||||
Global Layer bg, llama, info, info2;
|
||||
Global Text infotxt, infotxt2a, infotxt2b, infotxt2c, infotxt2d;
|
||||
|
||||
Global Layer sammy0;
|
||||
Global String gamestate = "startup";
|
||||
Global String direction;
|
||||
Global Boolean gotkey = 0;
|
||||
Global Timer move;
|
||||
Global Boolean paused;
|
||||
|
||||
Global map wall;
|
||||
|
||||
Global int s_score, s_lives, s_level, currentllama;
|
||||
Global Text t_score, t_lives, t_level;
|
||||
|
||||
Global int n_sammy, expn_sammy;
|
||||
Global List sammy, sammy_x, sammy_y;
|
||||
Global Group sammys;
|
||||
|
||||
Global int cheat, nocheat;
|
||||
Global int cheat2, nocheat2;
|
||||
Global int cheat3, nocheat3;
|
||||
Global int evercheat;
|
||||
|
||||
Global Text c1, c2, c3;
|
||||
|
||||
init_nibbles()
|
||||
{
|
||||
sammy = new List;
|
||||
sammy_x = new List;
|
||||
sammy_y = new List;
|
||||
|
||||
llama = nibbles.getObject("llama");
|
||||
sammy0 = nibbles.getObject("sammy0");
|
||||
info = nibbles.getObject("info");
|
||||
infotxt = nibbles.getObject("infotxt");
|
||||
sammys = nibbles.getObject("sammys");
|
||||
bg = nibbles.getObject("bg");
|
||||
|
||||
info2 = nibbles.getObject("info2");
|
||||
infotxt2a = nibbles.getObject("infotxt2a");
|
||||
infotxt2b = nibbles.getObject("infotxt2b");
|
||||
infotxt2c = nibbles.getObject("infotxt2c");
|
||||
infotxt2d = nibbles.getObject("infotxt2d");
|
||||
|
||||
t_lives = nibbles.getObject("lives");
|
||||
t_score = nibbles.getObject("score");
|
||||
t_level = nibbles.getObject("level");
|
||||
c1 = nibbles.getObject("c1");
|
||||
c2 = nibbles.getObject("c2");
|
||||
c3 = nibbles.getObject("c3");
|
||||
gamestate = "startup";
|
||||
|
||||
n_sammy = 0;
|
||||
expn_sammy = 0;
|
||||
s_level = 1;
|
||||
s_score = 0;
|
||||
s_lives = 5;
|
||||
|
||||
cheat = 0;
|
||||
nocheat = 0;
|
||||
cheat2 = 0;
|
||||
nocheat2 = 0;
|
||||
cheat3 = 0;
|
||||
nocheat3 = 0;
|
||||
evercheat = 0;
|
||||
|
||||
move = new Timer;
|
||||
move.setDelay(GAME_SPEED);
|
||||
}
|
||||
|
||||
System.onKeyDown (String key)
|
||||
{
|
||||
if (nibbles.isVisible() && nibbles.isActive())
|
||||
{
|
||||
if (!gotkey)
|
||||
{
|
||||
if (strsearch(key, "up") != -1 && direction != "d" && direction != "u")
|
||||
{
|
||||
if (move.isRunning())
|
||||
{
|
||||
gotkey = 1;
|
||||
direction = "u";
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if (strsearch(key, "down") != -1 && direction != "u" && direction != "d")
|
||||
{
|
||||
if (move.isRunning())
|
||||
{
|
||||
gotkey = 1;
|
||||
direction = "d";
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if (strsearch(key, "left") != -1 && direction != "r" && direction != "l")
|
||||
{
|
||||
if (move.isRunning())
|
||||
{
|
||||
gotkey = 1;
|
||||
direction = "l";
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if (strsearch(key, "right") != -1 && direction != "l" && direction != "r")
|
||||
{
|
||||
if (move.isRunning())
|
||||
{
|
||||
gotkey = 1;
|
||||
direction = "r";
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Cheet on */
|
||||
|
||||
if (key == "n" && cheat == 0 && cheat3 != 4 && nocheat3 != 4 && cheat3 != 1 && nocheat3 != 1)
|
||||
{
|
||||
cheat = 1;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "o" && cheat == 1)
|
||||
{
|
||||
cheat = 2;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "s" && cheat == 2)
|
||||
{
|
||||
cheat = 3;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "a" && cheat == 3)
|
||||
{
|
||||
cheat = 4;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "m" && cheat == 4 && cheat != 5)
|
||||
{
|
||||
cheat = 5;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "m" && cheat == 5 && cheat != 4)
|
||||
{
|
||||
cheat = 6;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "y" && cheat == 6)
|
||||
{
|
||||
c1.setText("NOSAMMY");
|
||||
cheat = 7;
|
||||
evercheat = 1;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
|
||||
/* Cheet off */
|
||||
|
||||
else if (key == "n" && cheat == 7 && cheat3 != 4 && nocheat3 != 4 && cheat3 != 1 && nocheat3 != 1)
|
||||
{
|
||||
nocheat = 1;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "o" && nocheat == 1)
|
||||
{
|
||||
nocheat = 2;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "s" && nocheat == 2)
|
||||
{
|
||||
nocheat = 3;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "a" && nocheat == 3)
|
||||
{
|
||||
nocheat = 4;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "m" && nocheat == 4 && nocheat != 5)
|
||||
{
|
||||
nocheat = 5;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "m" && nocheat == 5 && nocheat != 4)
|
||||
{
|
||||
nocheat = 6;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "y" && nocheat == 6 && nocheat3 != 7)
|
||||
{
|
||||
c1.setText("");
|
||||
cheat = 0;
|
||||
nocheat = 0;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
|
||||
/* end cheat */
|
||||
|
||||
|
||||
/* Cheet2 on */
|
||||
|
||||
else if (key == "f" && cheat2 == 0 && cheat3 != 2 && nocheat3 != 2)
|
||||
{
|
||||
cheat2 = 1;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "r" && cheat2 == 1)
|
||||
{
|
||||
cheat2 = 2;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "e" && cheat2 == 2 && cheat2 != 3)
|
||||
{
|
||||
cheat2 = 3;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "e" && cheat2 == 3 && cheat2 != 2)
|
||||
{
|
||||
cheat2 = 4;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "s" && cheat2 == 4)
|
||||
{
|
||||
cheat2 = 5;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "a" && cheat2 == 5)
|
||||
{
|
||||
cheat2 = 6;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "m" && cheat2 == 6)
|
||||
{
|
||||
c2.setText("FREESAM");
|
||||
cheat2 = 7;
|
||||
evercheat = 1;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
|
||||
/* Cheet2 off */
|
||||
|
||||
else if (key == "f" && cheat2 == 7 && cheat3 != 2 && nocheat3 != 2)
|
||||
{
|
||||
nocheat2 = 1;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "r" && nocheat2 == 1)
|
||||
{
|
||||
nocheat2 = 2;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "e" && nocheat2 == 2 && nocheat2 != 3)
|
||||
{
|
||||
nocheat2 = 3;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "e" && nocheat2 == 3 && nocheat2 != 2)
|
||||
{
|
||||
nocheat2 = 4;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "s" && nocheat2 == 4)
|
||||
{
|
||||
nocheat2 = 5;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "a" && nocheat2 == 5)
|
||||
{
|
||||
nocheat2 = 6;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "m" && nocheat2 == 6)
|
||||
{
|
||||
c2.setText("");
|
||||
cheat2 = 0;
|
||||
nocheat2 = 0;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
|
||||
/* end cheat2 */
|
||||
|
||||
/* Cheet3 on */
|
||||
|
||||
else if (key == "i" && cheat3 == 0 && cheat3 != 3 && cheat3 != 5)
|
||||
{
|
||||
cheat3 = 1;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "n" && cheat3 == 1 && cheat3 != 4)
|
||||
{
|
||||
cheat3 = 2;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "f" && cheat3 == 2)
|
||||
{
|
||||
cheat3 = 3;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "i" && cheat3 == 3 && cheat3 != 5 && cheat3 != 0)
|
||||
{
|
||||
cheat3 = 4;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "n" && cheat3 == 4 && cheat3 != 2)
|
||||
{
|
||||
cheat3 = 5;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "i" && cheat3 == 5 && cheat3 != 3 && cheat3 != 0)
|
||||
{
|
||||
cheat3 = 6;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "t" && cheat3 == 6)
|
||||
{
|
||||
cheat3 = 7;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "y" && cheat3 == 7)
|
||||
{
|
||||
c3.setText("INFINITY");
|
||||
cheat3 = 8;
|
||||
evercheat = 1;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
|
||||
/* Cheet3 off */
|
||||
|
||||
else if (key == "i" && cheat3 == 8 && nocheat3 != 3 && nocheat3 != 5)
|
||||
{
|
||||
nocheat3 = 1;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "n" && nocheat3 == 1 && nocheat3 != 4)
|
||||
{
|
||||
nocheat3 = 2;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "f" && nocheat3 == 2)
|
||||
{
|
||||
nocheat3 = 3;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "i" && nocheat3 == 3 && nocheat3 != 5 && nocheat3 != 0)
|
||||
{
|
||||
nocheat3 = 4;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "n" && nocheat3 == 4 && nocheat3 != 1)
|
||||
{
|
||||
nocheat3 = 5;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "i" && nocheat3 == 5 && nocheat3 != 3 && nocheat3 != 0)
|
||||
{
|
||||
nocheat3 = 6;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "t" && nocheat3 == 6)
|
||||
{
|
||||
nocheat3 = 7;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
else if (key == "y" && nocheat3 == 7 && nocheat != 6)
|
||||
{
|
||||
c3.setText("");
|
||||
cheat3 = 0;
|
||||
nocheat3 = 0;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
|
||||
/* end cheat3 */
|
||||
|
||||
else if (key == "space")
|
||||
{
|
||||
if (gamestate == "startup" || gamestate == "New Try" || gamestate == "Next level")
|
||||
{
|
||||
hideInfo2();
|
||||
info.hide();
|
||||
infotxt.hide();
|
||||
gamestate = "running";
|
||||
startGame(s_level);
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
if (gamestate == "Game Over")
|
||||
{
|
||||
info.hide();
|
||||
infotxt.hide();
|
||||
showInfo2();
|
||||
s_level = 1;
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
if (gamestate == "Once Again")
|
||||
{
|
||||
s_level = 1;
|
||||
s_score = 0;
|
||||
s_lives = 5;
|
||||
hideInfo2();
|
||||
info.hide();
|
||||
infotxt.hide();
|
||||
gamestate = "running";
|
||||
startGame(s_level);
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
if (move.isRunning())
|
||||
{
|
||||
paused = 1;
|
||||
move.stop();
|
||||
showInfo("Game Paused ... Push Space");
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
if (paused == 1)
|
||||
{
|
||||
paused = 0;
|
||||
info.hide();
|
||||
infotxt.hide();
|
||||
move.start();
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
/* if (key == "up" && direction != "d")
|
||||
{
|
||||
if (move.isRunning())
|
||||
{
|
||||
direction = "u";
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (key == "down" && direction != "u")
|
||||
{
|
||||
if (move.isRunning())
|
||||
{
|
||||
direction = "d";
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (key == "left" && direction != "r")
|
||||
{
|
||||
if (move.isRunning())
|
||||
{
|
||||
direction = "l";
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (key == "right" && direction != "l")
|
||||
{
|
||||
if (move.isRunning())
|
||||
{
|
||||
direction = "r";
|
||||
complete;
|
||||
return;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
startGame (int level)
|
||||
{
|
||||
if (level == 11) level = 10;
|
||||
|
||||
if (wall) delete wall;
|
||||
wall = new map;
|
||||
wall.loadMap("level" + integerToString(level));
|
||||
bg.setXmlParam("image", "level" + integerToString(level));
|
||||
|
||||
int n = sammy.getNumItems();
|
||||
|
||||
for ( int i = 1; i <= n; i++ )
|
||||
{
|
||||
layer newsammy = sammy.enumItem(0);
|
||||
sammy.removeItem(0);
|
||||
newsammy.hide();
|
||||
}
|
||||
|
||||
currentllama = 0;
|
||||
t_lives.setText(translate("Lives: ") + integerToString(s_lives));
|
||||
t_score.setText(translate("Score: ") + integerToString(s_score));
|
||||
t_level.setText(translate("Level: ") + integerToString(s_level) + " [" + integerToString(currentllama) + "/" + integerToString(MAX_LLAMAS) + "]");
|
||||
n_sammy = 0;
|
||||
expn_sammy = 5;
|
||||
gotkey = 1;
|
||||
if (level != 8) direction = "r";
|
||||
else direction = "u";
|
||||
setLlama();
|
||||
sammy.removeAll();
|
||||
sammy_x.removeAll();
|
||||
sammy_y.removeAll();
|
||||
sammy0.setXmlParam("x", "180");
|
||||
sammy0.setXMLParam("y", "155");
|
||||
sammy0.show();
|
||||
move.start();
|
||||
}
|
||||
|
||||
move.onTimer ()
|
||||
{
|
||||
if (n_sammy < expn_sammy)
|
||||
{
|
||||
addSammy();
|
||||
}
|
||||
else
|
||||
{
|
||||
syncSammy();
|
||||
}
|
||||
|
||||
if (direction == "r")
|
||||
{
|
||||
setPos(sammy0, 1, 0);
|
||||
}
|
||||
else if (direction == "l")
|
||||
{
|
||||
setPos(sammy0, -1, 0);
|
||||
}
|
||||
else if (direction == "u")
|
||||
{
|
||||
setPos(sammy0, 0, -1);
|
||||
}
|
||||
else if (direction == "d")
|
||||
{
|
||||
setPos(sammy0, 0, 1);
|
||||
}
|
||||
checkForWalls (sammy0);
|
||||
checkForSammy (sammy0);
|
||||
checkForllama (sammy0);
|
||||
}
|
||||
|
||||
setPos (layer l, int x, int y)
|
||||
{
|
||||
l.setXMLParam("x", integerToString(l.getGuiX() + x*5));
|
||||
l.setXMLParam("y", integerToString(l.getGuiY() + y*5));
|
||||
gotkey = 0;
|
||||
}
|
||||
|
||||
setLlama ()
|
||||
{
|
||||
int lx = 5+random(MAX_W-3)*5;
|
||||
int ly = 20+random(MAX_H-3)*5;
|
||||
|
||||
int x = sammy0.getGuiX();
|
||||
int y = sammy0.getGuiY();
|
||||
|
||||
if ((x == lx || x == lx + 5 || x == lx + 10) && (y == ly || y == ly + 5 || y == ly + 10))
|
||||
{
|
||||
setLlama ();
|
||||
return;
|
||||
}
|
||||
|
||||
if (wall.getValue(lx, ly) == 255 || wall.getValue(lx+5, ly) == 255 || wall.getValue(lx+10, ly) == 255 ||
|
||||
wall.getValue(lx, ly+5) == 255 || wall.getValue(lx+5, ly+5) == 255 || wall.getValue(lx+10, ly+5) == 255 ||
|
||||
wall.getValue(lx, ly+10) == 255 || wall.getValue(lx+5, ly+10) == 255 || wall.getValue(lx+10, ly+10) == 255 )
|
||||
{
|
||||
setLlama ();
|
||||
return;
|
||||
}
|
||||
|
||||
int n = sammy_x.getNumItems();
|
||||
|
||||
for ( int i = 0; i < n; i++ )
|
||||
{
|
||||
x = sammy_x.enumItem(i);
|
||||
y = sammy_y.enumItem(i);
|
||||
if ((x == lx || x == lx + 5 || x == lx + 10) && (y == ly || y == ly + 5 || y == ly + 10))
|
||||
{
|
||||
setLlama ();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if ((x == lx || x == lx + 5 || x == lx + 10) && (y == ly || y == ly + 5 || y == ly + 10)) gotLlama();
|
||||
|
||||
llama.setXMLParam("x", integerToString(lx));
|
||||
llama.setXMLParam("y", integerToString(ly));
|
||||
|
||||
llama.show();
|
||||
}
|
||||
|
||||
addSammy ()
|
||||
{
|
||||
int x = sammy0.getGuiX();
|
||||
int y = sammy0.getGuiY();
|
||||
n_sammy++;
|
||||
layer newsammy = createSammy(n_sammy, x, y);
|
||||
sammy.addItem(newsammy);
|
||||
sammy_x.addItem(x);
|
||||
sammy_y.addItem(y);
|
||||
newsammy.setXMLParam("x", integerToString(x));
|
||||
newsammy.setXMLParam("y", integerToString(y));
|
||||
newsammy.show();
|
||||
}
|
||||
|
||||
Layer createSammy (int num, int x, int y)
|
||||
{
|
||||
layer l = new Layer;
|
||||
l.setXmlParam("id", "sammy" + integerToString(num));
|
||||
l.setXmlParam("image", "sammy");
|
||||
l.setXMLParam("x", integerToString(x));
|
||||
l.setXMLParam("y", integerToString(y));
|
||||
l.init(sammys);
|
||||
return l;
|
||||
}
|
||||
|
||||
syncSammy ()
|
||||
{
|
||||
layer newsammy = sammy.enumItem(0);
|
||||
sammy.removeItem(0);
|
||||
sammy_x.removeItem(0);
|
||||
sammy_y.removeItem(0);
|
||||
int x = sammy0.getGuiX();
|
||||
int y = sammy0.getGuiY();
|
||||
newsammy.setXMLParam("x", integerToString(x));
|
||||
newsammy.setXMLParam("y", integerToString(y));
|
||||
sammy.addItem(newsammy);
|
||||
sammy_x.addItem(x);
|
||||
sammy_y.addItem(y);
|
||||
}
|
||||
|
||||
showInfo (string s)
|
||||
{
|
||||
infotxt.setText(s);
|
||||
info.show();
|
||||
infotxt.show();
|
||||
}
|
||||
|
||||
checkForWalls (layer l)
|
||||
{
|
||||
if ( cheat2 == 7 ) return;
|
||||
int x = l.getGuiX();
|
||||
int y = l.getGuiY();
|
||||
|
||||
if (wall.getValue(x, y) == 255) sammyDies();
|
||||
}
|
||||
|
||||
checkForLlama (layer l)
|
||||
{
|
||||
int x = l.getGuiX();
|
||||
int y = l.getGuiY();
|
||||
|
||||
int lx = llama.getGuiX();
|
||||
int ly = llama.getGuiY();
|
||||
|
||||
if ((x == lx || x == lx + 5 || x == lx + 10) && (y == ly || y == ly + 5 || y == ly + 10)) gotLlama();
|
||||
}
|
||||
|
||||
checkForSammy (layer l)
|
||||
{
|
||||
if ( cheat == 7 ) return;
|
||||
int x = l.getGuiX();
|
||||
int y = l.getGuiY();
|
||||
int n = sammy_x.getNumItems();
|
||||
|
||||
for ( int i = 0; i < n; i++ )
|
||||
{
|
||||
if (sammy_x.enumItem(i) == x && sammy_y.enumItem(i) == y)
|
||||
{
|
||||
sammyDies ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sammyDies ()
|
||||
{
|
||||
llama.hide();
|
||||
move.stop();
|
||||
sammy0.hide();
|
||||
s_lives--;
|
||||
s_score -= 1000;
|
||||
t_lives.setText(translate("Lives: ") + integerToString(s_lives));
|
||||
t_score.setText(translate("Score: ") + integerToString(s_score));
|
||||
t_level.setText(translate("Level: ") + integerToString(s_level) + " [" + integerToString(currentllama) + "/" + integerToString(MAX_LLAMAS) + "]");
|
||||
gamestate = "New Try";
|
||||
if (s_lives == 0) {
|
||||
gamestate = "Game Over";
|
||||
}
|
||||
showInfo ("Sammy Dies! Push Space!");
|
||||
}
|
||||
|
||||
gotLlama ()
|
||||
{
|
||||
currentllama++;
|
||||
s_score += 100 * currentllama;
|
||||
t_score.setText(translate("Score: ") + integerToString(s_score));
|
||||
t_level.setText(translate("Level: ") + integerToString(s_level) + " [" + integerToString(currentllama) + "/" + integerToString(MAX_LLAMAS) + "]");
|
||||
if (currentllama >= MAX_LLAMAS && cheat3 != 8)
|
||||
{
|
||||
move.stop();
|
||||
s_level++;
|
||||
llama.hide();
|
||||
gamestate = "Next Level";
|
||||
showInfo (translate("Level: ") + integerToString(s_level) + translate(", Push Space"));
|
||||
}
|
||||
else
|
||||
{
|
||||
expn_sammy += 12;
|
||||
setLlama();
|
||||
}
|
||||
}
|
||||
|
||||
showInfo2 ()
|
||||
{
|
||||
if (evercheat == 0)
|
||||
{
|
||||
if (s_score > getPrivateInt("Nibbles", "Personal Best", 0))
|
||||
{
|
||||
setPrivateInt("Nibbles", "Personal Best", s_score);
|
||||
infotxt2d.setText("Congrats, New Highscore!");
|
||||
}
|
||||
else infotxt2d.setText(translate("Highscore") +": " + integerToString(getPrivateInt("Nibbles", " ", 0)));
|
||||
}
|
||||
else
|
||||
{
|
||||
infotxt2d.setTExt("You have cheated!");
|
||||
}
|
||||
if (cheat == 0 && cheat2 == 0 && cheat3 ==0) evercheat = 0;
|
||||
gamestate = "Once Again";
|
||||
infotxt2b.setText(translate("Your Score") + ": " + integerToString(s_score));
|
||||
info2.show();
|
||||
infotxt2a.show();
|
||||
infotxt2d.show();
|
||||
infotxt2b.show();
|
||||
infotxt2c.show();
|
||||
}
|
||||
|
||||
hideInfo2 ()
|
||||
{
|
||||
info2.hide();
|
||||
infotxt2a.hide();
|
||||
infotxt2b.hide();
|
||||
infotxt2c.hide();
|
||||
infotxt2d.hide();
|
||||
}
|
52
Src/resources/skins/Big Bento/about/nibbles/nibbles.xml
Normal file
@ -0,0 +1,52 @@
|
||||
<elements>
|
||||
<bitmap id="sammy" file="../Big Bento/about/nibbles/sammy.png" />
|
||||
<bitmap id="level1" file="../Big Bento/about/nibbles/level1.png" />
|
||||
<bitmap id="level2" file="../Big Bento/about/nibbles/level2.png" />
|
||||
<bitmap id="level3" file="../Big Bento/about/nibbles/level3.png" />
|
||||
<bitmap id="level4" file="../Big Bento/about/nibbles/level4.png" />
|
||||
<bitmap id="level5" file="../Big Bento/about/nibbles/level5.png" />
|
||||
<bitmap id="level6" file="../Big Bento/about/nibbles/level6.png" />
|
||||
<bitmap id="level7" file="../Big Bento/about/nibbles/level7.png" />
|
||||
<bitmap id="level8" file="../Big Bento/about/nibbles/level8.png" />
|
||||
<bitmap id="level9" file="../Big Bento/about/nibbles/level9.png" />
|
||||
<bitmap id="level10" file="../Big Bento/about/nibbles/level10.png" />
|
||||
<bitmap id="llama" file="../Big Bento/about/nibbles/llama.png" />
|
||||
<bitmap id="info" file="../Big Bento/about/nibbles/info.png" />
|
||||
<bitmap id="info2" file="../Big Bento/about/nibbles/info2.png" />
|
||||
<bitmapfont id="font" file="../Big Bento/about/nibbles/fixedsys.png" charwidth="8" charheight="14" hspacing="0" vspacing="0"/>
|
||||
|
||||
</elements>
|
||||
|
||||
<groupdef id="sammys">
|
||||
|
||||
</groupdef>
|
||||
|
||||
<groupdef id="nibbles">
|
||||
|
||||
<rect filled="1" fitparent="1" color="0,0,128" />
|
||||
<layer x="0" y="0" h="321" w="371" id="bg" image="level1" move="0" />
|
||||
<layer x="0" y="0" id="llama" image="llama" visible="0"/>
|
||||
<text id="c1" x="4" y="20" w="370" h="14" text="" font="font" align="left" visible="1" alpha="100"/>
|
||||
<text id="c2" x="4" y="20" w="360" h="14" text="" font="font" align="right" visible="1" alpha="100"/>
|
||||
<text id="c3" x="4" y="20" w="360" h="14" text="" font="font" align="center" visible="1" alpha="100"/>
|
||||
|
||||
<layer x="0" y="0" h="5" w="5" id="sammy0" image="sammy" visible="0"/>
|
||||
|
||||
<group x="0" y="0" h="321" w="371" id="sammys" move="0" />
|
||||
|
||||
<layer id="info" x="0" y="0" h="321" w="371" image="info" />
|
||||
<text id="infotxt" x="0" y="156" w="371" h="14" text="Level 1, Push Space" font="font" align="center"/>
|
||||
|
||||
<layer id="info2" x="0" y="0" h="321" w="371" image="info2" visible="0" />
|
||||
<text id="infotxt2a" x="0" y="120" w="371" h="14" text="G A M E O V E R" font="font" align="center" visible="0"/>
|
||||
<text id="infotxt2b" x="0" y="150" w="371" h="14" text="Your Score:" font="font" align="center" visible="0"/>
|
||||
<text id="infotxt2c" x="0" y="192" w="371" h="14" text="To Play Again, Push Space" font="font" align="center" visible="0"/>
|
||||
<text id="infotxt2d" x="0" y="168" w="371" h="14" text="Personal Best:" font="font" align="center" visible="0"/>
|
||||
|
||||
<text id="score" x="0" y="1" w="371" h="14" text="0" font="font" align="right"/>
|
||||
<text id="lives" x="0" y="0" w="371" h="14" text="Lives: 5" font="font" align="center"/>
|
||||
<text id="level" x="0" y="0" w="371" h="14" text="Level 1" font="font" align="left" />
|
||||
|
||||
<text id="txt" y="130" x="5"/>
|
||||
|
||||
</groupdef>
|
BIN
Src/resources/skins/Big Bento/about/nibbles/sammy.png
Normal file
After Width: | Height: | Size: 83 B |
BIN
Src/resources/skins/Big Bento/screenshot.png
Normal file
After Width: | Height: | Size: 21 KiB |
135
Src/resources/skins/Big Bento/scripts/albumart.m
Normal file
@ -0,0 +1,135 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: albumart.m
|
||||
Version: 1.1
|
||||
|
||||
Type: maki
|
||||
Date: 20. Sep. 2007 - 16:54
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#include <lib/std.mi>
|
||||
#include <lib/com/songinfo.m>
|
||||
|
||||
#define WEBCOVER_SHOUTCAST "winamp.cover.shoutcast"
|
||||
|
||||
Function loadFileInfo();
|
||||
//Function loadPlaylistArtWork();
|
||||
|
||||
Global Int plArtRetries = 0;
|
||||
Global Group scriptGroup;
|
||||
Global AlbumArtLayer l_albumart;
|
||||
Global String notfoundImage = "winamp.cover.notfound.xxl";
|
||||
|
||||
System.onScriptLoaded ()
|
||||
{
|
||||
scriptGroup = getScriptGroup();
|
||||
l_albumart = scriptGroup.findObject(getToken(getParam(), ",", 0));
|
||||
notfoundImage = getToken(getParam(), ",", 1);
|
||||
loadFileInfo();
|
||||
}
|
||||
|
||||
l_albumart.onRightButtonDown (int x, int y)
|
||||
{
|
||||
popupmenu p = new popupmenu;
|
||||
|
||||
p.addCommand("Refresh Album Art", 1, 0, 0);
|
||||
String path = getPath(getPlayItemMetaDataString("filename"));
|
||||
if(path != "")
|
||||
{
|
||||
p.addCommand("Open Folder", 2, 0, 0);
|
||||
}
|
||||
|
||||
int result = p.popatmouse();
|
||||
delete p;
|
||||
|
||||
if (result == 1)
|
||||
{
|
||||
l_albumart.refresh();
|
||||
}
|
||||
else if (result == 2)
|
||||
{
|
||||
if(path != "")
|
||||
{
|
||||
System.navigateUrl(path);
|
||||
}
|
||||
else
|
||||
{
|
||||
String url = getPlayItemMetaDataString("streamurl");
|
||||
if(url != "")
|
||||
{
|
||||
System.navigateUrl(url);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
l_albumart.onLeftButtonDblClk (int x, int y)
|
||||
{
|
||||
String path = getPath(getPlayItemMetaDataString("filename"));
|
||||
if(path != "")
|
||||
{
|
||||
System.navigateUrl(path);
|
||||
}
|
||||
else
|
||||
{
|
||||
String url = getPlayItemMetaDataString("streamurl");
|
||||
if(url != "")
|
||||
{
|
||||
System.navigateUrl(url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
loadFileInfo ()
|
||||
{
|
||||
songinfo_reload(); // refresh vars
|
||||
plArtRetries = 0;
|
||||
l_albumart.setXMLParam("notfoundImage", notfoundImage);
|
||||
|
||||
//debugInt(songinfo_isStream);
|
||||
if (songinfo_isStream)
|
||||
{
|
||||
// setCover either from a supplied url or from in-stream artwork or default to a generic image
|
||||
if (songinfo_streamAlbumArt != "")
|
||||
{
|
||||
l_albumart.setXMLParam("image", songinfo_streamAlbumArt);
|
||||
l_albumart.setXMLParam("notfoundImage", notfoundImage);
|
||||
}
|
||||
|
||||
if(songinfo_streamType == SONGINFO_STREAMTYPE_SHOUTCAST || songinfo_streamType == SONGINFO_STREAMTYPE_SHOUTCAST2)
|
||||
{
|
||||
if(songinfo_streamType == SONGINFO_STREAMTYPE_SHOUTCAST2)
|
||||
{
|
||||
if(l_albumart.isInvalid() && plArtRetries < 5)
|
||||
{
|
||||
if(!plArtRetries)
|
||||
{
|
||||
l_albumart.setXMLParam("notfoundImage", WEBCOVER_SHOUTCAST);
|
||||
}
|
||||
plArtRetries += 1;
|
||||
l_albumart.refresh();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
l_albumart.setXMLParam("notfoundImage", WEBCOVER_SHOUTCAST);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Hide branding of we start playback
|
||||
System.onPlay ()
|
||||
{
|
||||
loadFileInfo();
|
||||
}
|
||||
|
||||
System.onTitleChange (String newtitle)
|
||||
{
|
||||
loadFileInfo();
|
||||
}
|
BIN
Src/resources/skins/Big Bento/scripts/albumart.maki
Normal file
106
Src/resources/skins/Big Bento/scripts/attribs/gen_pageguids.m
Normal file
@ -0,0 +1,106 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: gen_pageguids.m
|
||||
Version: 1.0
|
||||
|
||||
Type: maki/page guid definitions
|
||||
Date: 03. Jul. 2006 - 18:29
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#ifndef included
|
||||
#error This script can only be compiled as a #include
|
||||
#endif
|
||||
|
||||
#ifndef __GEN_PAGEGUIDS_M
|
||||
#define __GEN_PAGEGUIDS_M
|
||||
|
||||
#include <lib/config.mi>
|
||||
|
||||
Function initPages();
|
||||
|
||||
/*--NON CHANGEABLE GUIDS:--------------------------*/
|
||||
|
||||
// this is the page that maps its items to the options menu, you can add attribs or more pages (submenus)
|
||||
#define CUSTOM_OPTIONSMENU_ITEMS "{1828D28F-78DD-4647-8532-EBA504B8FC04}"
|
||||
Global ConfigItem optionsmenu_page;
|
||||
|
||||
// this is the page that maps its items to the windows menu (aka View), you can add attribs or more pages (submenus)
|
||||
#define CUSTOM_WINDOWSMENU_ITEMS "{6559CA61-7EB2-4415-A8A9-A2AEEF762B7F}"
|
||||
Global ConfigItem custom_windows_page;
|
||||
|
||||
// non exposed attribs page
|
||||
#define CUSTOM_PAGE_NONEXPOSED "{E9C2D926-53CA-400f-9A4D-85E31755A4CF}"
|
||||
Global ConfigItem custom_page_nonexposed;
|
||||
|
||||
|
||||
/*--DECLARE PAGES HERE:----------------------------*/
|
||||
|
||||
initPages()
|
||||
{
|
||||
|
||||
#ifndef __PAGES
|
||||
#define __PAGES
|
||||
|
||||
custom_page_nonexposed = Config.newItem("Hidden", CUSTOM_PAGE_NONEXPOSED);
|
||||
|
||||
// load up the cfgpage in which we'll insert our custom page
|
||||
optionsmenu_page = Config.getItem(CUSTOM_OPTIONSMENU_ITEMS);
|
||||
|
||||
custom_windows_page = Config.getItem(CUSTOM_WINDOWSMENU_ITEMS);
|
||||
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
/*--GLOBAL DEFINITIONS:----------------------------*/
|
||||
|
||||
#define NOOFF if (getData()=="0") { setData("1"); return; }
|
||||
Global Int attribs_mychange, attribs_mychange2;
|
||||
|
||||
Global ConfigAttribute sep;
|
||||
Global Int sep_count = 0;
|
||||
|
||||
Function addMenuSeparator(ConfigItem cfgmenupage);
|
||||
|
||||
addMenuSeparator(ConfigItem cfgmenupage)
|
||||
{
|
||||
#ifdef MAIN_ATTRIBS_LOADER
|
||||
|
||||
sep_count = sep_count + 1;
|
||||
sep = cfgmenupage.newAttribute(getSkinName() + "seperator" + integerToString(sep_count), "");
|
||||
sep.setData("-");
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
Function ConfigItem addConfigSubMenu(configitem parent, string name, string guid);
|
||||
|
||||
ConfigItem addConfigSubMenu(configitem parent, string name, string guid)
|
||||
{
|
||||
ConfigItem __ret = Config.newItem(name, guid);
|
||||
ConfigAttribute __dret = parent.newAttribute(name, "");
|
||||
__dret.setData(guid);
|
||||
return __ret;
|
||||
}
|
||||
|
||||
|
||||
Function toggleAttrib(ConfigAttribute attrib);
|
||||
|
||||
toggleAttrib(ConfigAttribute attrib)
|
||||
{
|
||||
if (attrib.getData() == "0")
|
||||
{
|
||||
attrib.setData("1");
|
||||
}
|
||||
else
|
||||
{
|
||||
attrib.setData("0");
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@ -0,0 +1,92 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: init_Autoresize.m
|
||||
Version: 1.1
|
||||
|
||||
Type: maki/attrib definitions
|
||||
Date: 23. Jan. 2008 - 20:31
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
Depending Files:
|
||||
scripts/maximize.m
|
||||
scripts/videoresize.maki
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#ifndef included
|
||||
#error This script can only be compiled as a #include
|
||||
#endif
|
||||
|
||||
#include "gen_pageguids.m"
|
||||
|
||||
|
||||
Function initAttribs_Autoresize();
|
||||
|
||||
|
||||
#define CUSTOM_PAGE_RESIZE "{E704AB5A-108E-4309-B54B-43EBA5C0C3AA}"
|
||||
|
||||
Global ConfigAttribute sui_autorsize_attrib, link_w_attrib, titlebar_dblclk_max_attib, titlebar_dblclk_shade_attib, collapse_top_attrib, collapse_bottom_attrib;
|
||||
Global ConfigAttribute video_inframe_attrib;
|
||||
|
||||
initAttribs_Autoresize()
|
||||
{
|
||||
initPages();
|
||||
|
||||
ConfigItem custom_page_autoresize = addConfigSubMenu(optionsmenu_page, "Window Sizing", CUSTOM_PAGE_RESIZE);
|
||||
|
||||
sui_autorsize_attrib = custom_page_autoresize.newAttribute("Autoresize Main Window if maximized", "0");
|
||||
link_w_attrib = custom_page_autoresize.newAttribute("Link shade and player width", "1");
|
||||
addMenuSeparator(custom_page_autoresize);
|
||||
video_inframe_attrib = custom_page_autoresize.newAttribute("Enable Video in Window resizing", "0");
|
||||
addMenuSeparator(custom_page_autoresize);
|
||||
titlebar_dblclk_shade_attib = custom_page_autoresize.newAttribute("Switch to Shade on Titlebar Doubleclick", "1");
|
||||
titlebar_dblclk_max_attib = custom_page_autoresize.newAttribute("Maximize Window on Titlebar Doubleclick", "0");
|
||||
addMenuSeparator(custom_page_autoresize);
|
||||
collapse_top_attrib = custom_page_autoresize.newAttribute("Collapse Window to Top", "1");
|
||||
collapse_bottom_attrib = custom_page_autoresize.newAttribute("Collapse Window to Bottom", "0");
|
||||
}
|
||||
|
||||
#ifdef MAIN_ATTRIBS_MGR
|
||||
|
||||
titlebar_dblclk_shade_attib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
if (getData() == "1") titlebar_dblclk_max_attib.setData("0");
|
||||
if (getData() == "0") titlebar_dblclk_max_attib.setData("1");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
titlebar_dblclk_max_attib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
if (getData() == "1") titlebar_dblclk_shade_attib.setData("0");
|
||||
if (getData() == "0") titlebar_dblclk_shade_attib.setData("1");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
collapse_bottom_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
if (getData() == "1") collapse_top_attrib.setData("0");
|
||||
if (getData() == "0") collapse_top_attrib.setData("1");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
collapse_top_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
if (getData() == "1") collapse_bottom_attrib.setData("0");
|
||||
if (getData() == "0") collapse_bottom_attrib.setData("1");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
#endif
|
@ -0,0 +1,63 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: init_appearance.m
|
||||
Version: 2.2
|
||||
|
||||
Type: maki/attrib definitions
|
||||
Date: 28. Jun. 2007 - 22:08
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
Depending Files:
|
||||
scripts/mainmenu.maki
|
||||
scripts/visualizer.maki
|
||||
scripts/beatvisualization.maki
|
||||
scripts/shadesize.maki
|
||||
scripts/mcvcore.maki
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#ifndef included
|
||||
#error This script can only be compiled as a #include
|
||||
#endif
|
||||
|
||||
#include "gen_pageguids.m"
|
||||
|
||||
Function initAttribs_Appearance();
|
||||
|
||||
#define CUSTOM_PAGE_APPEARANCE "{F1036C9C-3919-47ac-8494-366778CF10F9}"
|
||||
|
||||
Global ConfigAttribute vis_reflection_attrib;
|
||||
Global ConfigAttribute timer_reflection_attrib;
|
||||
Global ConfigAttribute menubar_main_attrib;
|
||||
Global configAttribute beatvis_attrib;
|
||||
//Global configAttribute artist_info_buttons_attrib;
|
||||
Global ConfigAttribute pl_tab_attrib;
|
||||
Global ConfigItem custom_page_appearance;
|
||||
|
||||
initAttribs_Appearance()
|
||||
{
|
||||
|
||||
initPages();
|
||||
|
||||
custom_page_appearance = addConfigSubMenu(optionsmenu_page, "Appearance", CUSTOM_PAGE_APPEARANCE);
|
||||
|
||||
menubar_main_attrib = custom_page_appearance.newAttribute("Show Main Window Menu", "1");
|
||||
|
||||
addMenuSeparator(custom_page_appearance);
|
||||
|
||||
vis_reflection_attrib = custom_page_appearance.newAttribute("Show Visualizer Reflection", "1");
|
||||
timer_reflection_attrib = custom_page_appearance.newAttribute("Show Timer Reflection", "1");
|
||||
|
||||
addMenuSeparator(custom_page_appearance);
|
||||
|
||||
//artist_info_buttons_attrib = custom_page_appearance.newAttribute("Show Artist-Information Buttons", "0");
|
||||
pl_tab_attrib = custom_page_appearance.newAttribute("Show Playlist Tab", "0");
|
||||
|
||||
addMenuSeparator(custom_page_appearance);
|
||||
|
||||
beatvis_attrib = custom_page_appearance.newAttribute("Enable Beat Visualization", "1");
|
||||
|
||||
}
|
133
Src/resources/skins/Big Bento/scripts/attribs/init_browser.m
Normal file
@ -0,0 +1,133 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: init_browser.m
|
||||
Version: 1.1
|
||||
|
||||
Type: maki/attrib definitions
|
||||
Date: 27. Jul. 2007 - 13:36
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
Depending Files:
|
||||
scripts/browser.maki
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#ifndef included
|
||||
#error This script can only be compiled as a #include
|
||||
#endif
|
||||
|
||||
#include "gen_pageguids.m"
|
||||
|
||||
#define CUSTOM_PAGE_BROWSER "{0E17DBEA-9398-49e6-AE6F-3AB17D001DF3}"
|
||||
#define CUSTOM_PAGE_BROWSER_WASEARCH "{180E87DF-C482-41fe-A570-8575C673E1BA}"
|
||||
#define CUSTOM_PAGE_BROWSER_CONCERTSEARCH "{B8171DB3-ECF6-40c6-9332-DDEA57A8F13E}"
|
||||
|
||||
Function initAttribs_browser();
|
||||
|
||||
Class ConfigAttribute SearchAttribute;
|
||||
Function check (string unknown, SearchAttribute compare);
|
||||
|
||||
#ifdef BROWSER_SCRIPT
|
||||
Global list SearchAttributeList;
|
||||
#endif
|
||||
#ifndef BROWSER_SCRIPT
|
||||
#define SearchAttributeList //
|
||||
#endif
|
||||
|
||||
Global ConfigAttribute browser_scr_show_attrib, browser_search_attrib;
|
||||
Global SearchAttribute browser_search_winamp_mskins_attrib, browser_search_winamp_cskins_attrib, browser_search_winamp_plugins_attrib,
|
||||
browser_search_winamp_web_attrib, browser_search_wiki_attrib, browser_c_pollstar_attrib, browser_c_bit_attrib,
|
||||
browser_c_jambase_attrib;
|
||||
|
||||
initAttribs_browser()
|
||||
{
|
||||
initPages();
|
||||
|
||||
ConfigItem custom_page_browser = addConfigSubMenu(optionsmenu_page, "Browser", CUSTOM_PAGE_BROWSER);
|
||||
|
||||
browser_search_attrib = custom_page_nonexposed.newAttribute("Onesie browser Quicksearch", "Web Search");
|
||||
|
||||
SearchAttributeList = new List;
|
||||
SearchAttributeList.addItem (custom_page_browser);
|
||||
|
||||
browser_search_winamp_web_attrib = custom_page_browser.newAttribute("Web Search", "1");
|
||||
SearchAttributeList.addItem (browser_search_winamp_web_attrib);
|
||||
|
||||
browser_search_wiki_attrib = custom_page_browser.newAttribute("Wikipedia Search", "0");
|
||||
SearchAttributeList.addItem (browser_search_wiki_attrib);
|
||||
|
||||
ConfigItem custom_page_browser_concertsearch = addConfigSubMenu(custom_page_browser, "Concert Search", CUSTOM_PAGE_BROWSER_CONCERTSEARCH);
|
||||
|
||||
browser_c_jambase_attrib = custom_page_browser_concertsearch.newAttribute("JamBase", "0");
|
||||
SearchAttributeList.addItem (browser_c_jambase_attrib);
|
||||
|
||||
browser_c_pollstar_attrib = custom_page_browser_concertsearch.newAttribute("Pollstar", "0");
|
||||
SearchAttributeList.addItem (browser_c_pollstar_attrib);
|
||||
|
||||
browser_c_bit_attrib = custom_page_browser_concertsearch.newAttribute("Bandsintown", "0");
|
||||
SearchAttributeList.addItem (browser_c_bit_attrib);
|
||||
|
||||
ConfigItem custom_page_browser_winampsearch = addConfigSubMenu(custom_page_browser, "Winamp Search", CUSTOM_PAGE_BROWSER_WASEARCH);
|
||||
browser_search_winamp_mskins_attrib = custom_page_browser_winampsearch.newAttribute("Modern Skins", "0");
|
||||
SearchAttributeList.addItem (browser_search_winamp_mskins_attrib);
|
||||
browser_search_winamp_cskins_attrib = custom_page_browser_winampsearch.newAttribute("Classic Skins", "0");
|
||||
SearchAttributeList.addItem (browser_search_winamp_cskins_attrib);
|
||||
browser_search_winamp_plugins_attrib = custom_page_browser_winampsearch.newAttribute("Plug-ins", "0");
|
||||
SearchAttributeList.addItem (browser_search_winamp_plugins_attrib);
|
||||
|
||||
addMenuSeparator(custom_page_browser);
|
||||
|
||||
browser_scr_show_attrib = custom_page_browser.newAttribute("Show Media Monitor", "1");
|
||||
|
||||
}
|
||||
|
||||
#ifdef MAIN_ATTRIBS_MGR
|
||||
|
||||
browser_search_attrib.onDataChanged ()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
string dta = getData();
|
||||
if (dta == "Modern Skins") browser_search_winamp_mskins_attrib.setData("1");
|
||||
else if (dta == "Classic Skins") browser_search_winamp_plugins_attrib.setData("1");
|
||||
else if (dta == "Plug-ins") browser_search_winamp_plugins_attrib.setData("1");
|
||||
else if (dta == "Web Search with Google") browser_search_winamp_web_attrib.setData("1");
|
||||
else if (dta == "Pollstar") browser_c_pollstar_attrib.setData("1");
|
||||
else if (dta == "Bands in Town") browser_c_bit_attrib.setData("1");
|
||||
else if (dta == "JamBase") browser_c_jambase_attrib.setData("1");
|
||||
else if (dta == "Wikipedia Search") browser_search_wiki_attrib.setData("1");
|
||||
}
|
||||
|
||||
SearchAttribute.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
String s = SearchAttribute.getAttributeName();
|
||||
check (s, browser_search_winamp_mskins_attrib);
|
||||
check (s, browser_search_winamp_cskins_attrib);
|
||||
check (s, browser_search_winamp_plugins_attrib);
|
||||
check (s, browser_search_winamp_web_attrib);
|
||||
check (s, browser_c_jambase_attrib);
|
||||
check (s, browser_c_bit_attrib);
|
||||
check (s, browser_c_pollstar_attrib);
|
||||
check (s, browser_search_wiki_attrib);
|
||||
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
check (String unknown, SearchAttribute compare)
|
||||
{
|
||||
if (unknown == compare.getAttributeName())
|
||||
{
|
||||
browser_search_attrib.setData(compare.getAttributeName());
|
||||
}
|
||||
else
|
||||
{
|
||||
compare.setData("0");
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
327
Src/resources/skins/Big Bento/scripts/attribs/init_notifier.m
Normal file
@ -0,0 +1,327 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: init_notifier.m
|
||||
|
||||
Type: maki/attrib definitions
|
||||
Version: 1.1
|
||||
Date: 12. Jul. 2006 - 16:15
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
Depending Files:
|
||||
wasabi/notifier/notifier.maki
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#ifndef included
|
||||
#error This script can only be compiled as a #include
|
||||
#endif
|
||||
|
||||
#include "gen_pageguids.m"
|
||||
|
||||
|
||||
Function initAttribs_notifier();
|
||||
|
||||
|
||||
#define CUSTOM_PAGE_NOTIFIER "{1AB968B3-8687-4a35-BA70-FCF6D92FB57F}"
|
||||
|
||||
#define CUSTOM_PAGE_NOTIFIER_AA "{7BF45B05-2B98-4de8-8778-E5CCC9639ED1}"
|
||||
|
||||
#define CUSTOM_PAGE_NOTIFIER_LOC "{715B2C0D-1DF0-4bb2-9D74-0FACAE27CE97}"
|
||||
|
||||
#define CUSTOM_PAGE_NOTIFIER_FDIN "{D9891A39-7A38-45d8-9D51-A08F7270C836}"
|
||||
|
||||
#define CUSTOM_PAGE_NOTIFIER_FDOUT "{560EAE41-1379-4927-AC55-FB5F4D47C9B8}"
|
||||
|
||||
|
||||
Global ConfigAttribute notifier_minimized_attrib;
|
||||
Global ConfigAttribute notifier_always_attrib;
|
||||
Global ConfigAttribute notifier_never_attrib;
|
||||
Global ConfigAttribute notifier_fadeintime_attrib;
|
||||
Global ConfigAttribute notifier_fadeouttime_attrib;
|
||||
Global ConfigAttribute notifier_holdtime_attrib;
|
||||
Global ConfigAttribute notifier_hideinfullscreen_attrib;
|
||||
Global ConfigAttribute notifier_windowshade_attrib;
|
||||
|
||||
//Global ConfigAttribute notifier_opennowplaying_attrib;
|
||||
Global ConfigAttribute notifier_artworkinnotification_attrib;
|
||||
|
||||
Global ConfigAttribute notifier_fdout_alpha;
|
||||
Global ConfigAttribute notifier_fdout_hslide;
|
||||
Global ConfigAttribute notifier_fdout_vslide;
|
||||
|
||||
Global ConfigAttribute notifier_fdin_alpha;
|
||||
Global ConfigAttribute notifier_fdin_hslide;
|
||||
Global ConfigAttribute notifier_fdin_vslide;
|
||||
|
||||
Global ConfigAttribute notifier_loc_br_attrib;
|
||||
Global ConfigAttribute notifier_loc_bl_attrib;
|
||||
Global ConfigAttribute notifier_loc_tr_attrib;
|
||||
Global ConfigAttribute notifier_loc_tl_attrib;
|
||||
Global ConfigAttribute notifier_loc_bc_attrib;
|
||||
Global ConfigAttribute notifier_loc_tc_attrib;
|
||||
|
||||
Global ConfigAttribute notifier_loc_vport_attrib;
|
||||
Global ConfigAttribute notifier_loc_monitor_attrib;
|
||||
|
||||
|
||||
initAttribs_notifier()
|
||||
{
|
||||
initPages();
|
||||
|
||||
ConfigItem custom_page_notifier = addConfigSubMenu(optionsmenu_page, "Notifications", CUSTOM_PAGE_NOTIFIER);
|
||||
|
||||
notifier_always_attrib = custom_page_notifier.newAttribute("Show always", "1");
|
||||
notifier_windowshade_attrib = custom_page_notifier.newAttribute("Show with windowshade and when minimized", "0");
|
||||
notifier_minimized_attrib = custom_page_notifier.newAttribute("Show only when minimized", "0");
|
||||
notifier_minimized_attrib = custom_page_notifier.newAttribute("Show only when minimized", "0");
|
||||
notifier_never_attrib = custom_page_notifier.newAttribute("Never show", "0");
|
||||
addMenuSeparator(custom_page_notifier);
|
||||
|
||||
ConfigItem custom_page_notifier_loc = addConfigSubMenu(custom_page_notifier, "Location", CUSTOM_PAGE_NOTIFIER_LOC);
|
||||
|
||||
ConfigItem custom_page_notifier_fdin = addConfigSubMenu(custom_page_notifier, "Fade In Effect", CUSTOM_PAGE_NOTIFIER_FDIN);
|
||||
|
||||
ConfigItem custom_page_notifier_fdout = addConfigSubMenu(custom_page_notifier, "Fade Out Effect", CUSTOM_PAGE_NOTIFIER_FDOUT);
|
||||
|
||||
addMenuSeparator(custom_page_notifier);
|
||||
notifier_hideinfullscreen_attrib = custom_page_notifier.newAttribute("Disable in fullscreen", "1");
|
||||
addMenuSeparator(custom_page_notifier);
|
||||
//notifier_opennowplaying_attrib = custom_page_notifier.newAttribute("Open Now Playing on Click", "1");
|
||||
sep = custom_page_notifier.newAttribute("sep333", ""); sep.setData("-");
|
||||
notifier_artworkinnotification_attrib = custom_page_notifier.newAttribute("Show Now Playing Artwork", "1");
|
||||
|
||||
notifier_fadeintime_attrib = custom_page_nonexposed.newAttribute("Notifications fade in time", "1000");
|
||||
notifier_fadeouttime_attrib = custom_page_nonexposed.newAttribute("Notifications fade out time", "5000");
|
||||
notifier_holdtime_attrib = custom_page_nonexposed.newAttribute("Notifications display time", "2000");
|
||||
|
||||
|
||||
// Notifications > Location
|
||||
notifier_loc_bl_attrib = custom_page_notifier_loc.newAttribute("Bottom Left", "0");
|
||||
notifier_loc_bc_attrib = custom_page_notifier_loc.newAttribute("Bottom Center", "0");
|
||||
notifier_loc_br_attrib = custom_page_notifier_loc.newAttribute("Bottom Right", "1");
|
||||
notifier_loc_tl_attrib = custom_page_notifier_loc.newAttribute("Top Left", "0");
|
||||
notifier_loc_tc_attrib = custom_page_notifier_loc.newAttribute("Top Center", "0");
|
||||
notifier_loc_tr_attrib = custom_page_notifier_loc.newAttribute("Top Right", "0");
|
||||
addMenuSeparator(custom_page_notifier_loc);
|
||||
notifier_loc_vport_attrib = custom_page_notifier_loc.newAttribute("Relative to Viewport", "1");
|
||||
notifier_loc_monitor_attrib = custom_page_notifier_loc.newAttribute("Relative to Monitor", "0");
|
||||
|
||||
// Notifications > Fade...
|
||||
notifier_fdout_alpha = custom_page_notifier_fdout.newAttribute("Alpha Fade ", "1");
|
||||
notifier_fdout_vslide = custom_page_notifier_fdout.newAttribute("Vertical Slide ", "0");
|
||||
notifier_fdout_hslide = custom_page_notifier_fdout.newAttribute("Horizontal Slide ", "0");
|
||||
|
||||
// Martin> We need a additional spacer for the last 3 attribs, so we won't cross withe the 3 below in studio.xnf
|
||||
|
||||
notifier_fdin_alpha = custom_page_notifier_fdin.newAttribute("Alpha Fade", "1");
|
||||
notifier_fdin_vslide = custom_page_notifier_fdin.newAttribute("Vertical Slide", "0");
|
||||
notifier_fdin_hslide = custom_page_notifier_fdin.newAttribute("Horizontal Slide", "0");
|
||||
|
||||
}
|
||||
|
||||
#ifdef MAIN_ATTRIBS_MGR
|
||||
|
||||
notifier_always_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_never_attrib.setData("0");
|
||||
notifier_minimized_attrib.setData("0");
|
||||
notifier_windowshade_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_never_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_always_attrib.setData("0");
|
||||
notifier_minimized_attrib.setData("0");
|
||||
notifier_windowshade_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_minimized_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_never_attrib.setData("0");
|
||||
notifier_always_attrib.setData("0");
|
||||
notifier_windowshade_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_windowshade_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_never_attrib.setData("0");
|
||||
notifier_always_attrib.setData("0");
|
||||
notifier_minimized_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_fdout_alpha.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_fdout_hslide.setData("0");
|
||||
notifier_fdout_vslide.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_fdout_hslide.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_fdout_alpha.setData("0");
|
||||
notifier_fdout_vslide.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_fdout_vslide.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_fdout_hslide.setData("0");
|
||||
notifier_fdout_alpha.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_fdin_alpha.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_fdin_hslide.setData("0");
|
||||
notifier_fdin_vslide.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_fdin_hslide.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_fdin_alpha.setData("0");
|
||||
notifier_fdin_vslide.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_fdin_vslide.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_fdin_hslide.setData("0");
|
||||
notifier_fdin_alpha.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_loc_br_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_loc_bl_attrib.setData("0");
|
||||
notifier_loc_tr_attrib.setData("0");
|
||||
notifier_loc_tl_attrib.setData("0");
|
||||
notifier_loc_tc_attrib.setData("0");
|
||||
notifier_loc_bc_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_loc_bl_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_loc_br_attrib.setData("0");
|
||||
notifier_loc_tr_attrib.setData("0");
|
||||
notifier_loc_tl_attrib.setData("0");
|
||||
notifier_loc_tc_attrib.setData("0");
|
||||
notifier_loc_bc_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_loc_tl_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_loc_bl_attrib.setData("0");
|
||||
notifier_loc_tr_attrib.setData("0");
|
||||
notifier_loc_br_attrib.setData("0");
|
||||
notifier_loc_tc_attrib.setData("0");
|
||||
notifier_loc_bc_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_loc_tr_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_loc_bl_attrib.setData("0");
|
||||
notifier_loc_br_attrib.setData("0");
|
||||
notifier_loc_tl_attrib.setData("0");
|
||||
notifier_loc_tc_attrib.setData("0");
|
||||
notifier_loc_bc_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_loc_tc_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_loc_bl_attrib.setData("0");
|
||||
notifier_loc_br_attrib.setData("0");
|
||||
notifier_loc_tl_attrib.setData("0");
|
||||
notifier_loc_tr_attrib.setData("0");
|
||||
notifier_loc_bc_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_loc_bc_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_loc_bl_attrib.setData("0");
|
||||
notifier_loc_br_attrib.setData("0");
|
||||
notifier_loc_tl_attrib.setData("0");
|
||||
notifier_loc_tc_attrib.setData("0");
|
||||
notifier_loc_tr_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_loc_vport_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_loc_monitor_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
notifier_loc_monitor_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
notifier_loc_vport_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
#endif
|
@ -0,0 +1,39 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: init_playlist.m
|
||||
Version: 1.0
|
||||
|
||||
Type: maki/attrib definitions
|
||||
Date: 23. Okt. 2006 - 16:58
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
Depending Files:
|
||||
config/configsystem.maki
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#ifndef included
|
||||
#error This script can only be compiled as a #include
|
||||
#endif
|
||||
|
||||
#include "gen_pageguids.m"
|
||||
|
||||
#define COSTUM_PAGE_PLAYLIST "{0167CFD9-5D35-404a-8F03-80ED5B89DEDF}"
|
||||
|
||||
|
||||
Function initAttribs_playlist();
|
||||
|
||||
Global ConfigAttribute playlist_enlarge_attrib;
|
||||
Global ConfigAttribute playlist_cover_attrib;
|
||||
|
||||
initAttribs_Playlist()
|
||||
{
|
||||
initPages();
|
||||
|
||||
ConfigItem playlist_parent = addConfigSubMenu(optionsmenu_page, "Playlist", COSTUM_PAGE_PLAYLIST);
|
||||
playlist_enlarge_attrib = playlist_parent.newAttribute("Enlarge Playlist", "1");
|
||||
playlist_cover_attrib = playlist_parent.newAttribute("Show Album Art if Playlist is enlarged", "1");
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: init_songticker.m
|
||||
Version: 1.0
|
||||
|
||||
Type: maki/attrib definitions
|
||||
Date: 01. Sep. 2007 - 01:10
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
Depending Files:
|
||||
scripts/songticker.maki
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#ifndef included
|
||||
#error This script can only be compiled as a #include
|
||||
#endif
|
||||
|
||||
#include "gen_pageguids.m"
|
||||
|
||||
Function initAttribs_Songticker();
|
||||
|
||||
Class ConfigAttribute ScrollingAttribute;
|
||||
|
||||
#define CUSTOM_PAGE_SONGTICKER "{7061FDE0-0E12-11D8-BB41-0050DA442EF4}"
|
||||
|
||||
|
||||
Global ScrollingAttribute songticker_scrolling_disabled_attrib;
|
||||
Global ScrollingAttribute songticker_style_modern_attrib;
|
||||
Global ScrollingAttribute songticker_style_old_attrib;
|
||||
|
||||
|
||||
initAttribs_Songticker()
|
||||
{
|
||||
|
||||
initPages();
|
||||
|
||||
ConfigItem custom_page_songticker = addConfigSubMenu(optionsmenu_page, "Songticker", CUSTOM_PAGE_SONGTICKER);
|
||||
|
||||
songticker_scrolling_disabled_attrib = custom_page_songticker.newAttribute("Disable Songticker Scrolling", "0");
|
||||
songticker_style_modern_attrib = custom_page_songticker.newAttribute("Modern Songticker Scrolling", "1");
|
||||
songticker_style_old_attrib = custom_page_songticker.newAttribute("Classic Songticker Scrolling", "0");
|
||||
|
||||
}
|
||||
|
||||
#ifdef MAIN_ATTRIBS_MGR
|
||||
|
||||
|
||||
songticker_scrolling_disabled_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
songticker_style_modern_attrib.setData("0");
|
||||
songticker_style_old_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
|
||||
songticker_style_old_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
songticker_style_modern_attrib.setData("0");
|
||||
songticker_scrolling_disabled_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
songticker_style_modern_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
songticker_scrolling_disabled_attrib.setData("0");
|
||||
songticker_style_old_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
#endif
|
80
Src/resources/skins/Big Bento/scripts/attribs/init_vis.m
Normal file
@ -0,0 +1,80 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: init_vis.m
|
||||
Version: 1.0
|
||||
|
||||
Type: maki/attrib definitions
|
||||
Date: 03. Nov. 2006 - 18:12
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
Depending Files:
|
||||
scripts/infocompcore.maki
|
||||
scripts/suicore.maki
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#ifndef included
|
||||
#error This script can only be compiled as a #include
|
||||
#endif
|
||||
|
||||
#include "gen_pageguids.m"
|
||||
|
||||
|
||||
Function initAttribs_vis();
|
||||
|
||||
Global ConfigAttribute vis_lefttoplayer_attrib, vis_inbig_attrib, vis_lefttoplayer_full_attrib;
|
||||
|
||||
#define CUSTOM_PAGE_VIS "{090B63DE-FD24-4528-ABE5-A522615E8AE9}"
|
||||
|
||||
|
||||
initAttribs_vis()
|
||||
{
|
||||
initPages();
|
||||
|
||||
// System.isSafeMode() is not recognized by mc.exe
|
||||
// if (!System.isSafeMode())
|
||||
// {
|
||||
ConfigItem vis_parent = addConfigSubMenu(optionsmenu_page, "Visualization", CUSTOM_PAGE_VIS);
|
||||
|
||||
vis_inbig_attrib = vis_parent.newAttribute("Open in Big Component View", "1");
|
||||
vis_lefttoplayer_full_attrib = vis_parent.newAttribute("Open in Multi Content View (stretched)", "0");
|
||||
vis_lefttoplayer_attrib = vis_parent.newAttribute("Open in Multi Content View (mini)", "0");
|
||||
// }
|
||||
}
|
||||
|
||||
#ifdef MAIN_ATTRIBS_MGR
|
||||
|
||||
vis_lefttoplayer_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
vis_inbig_attrib.setData("0");
|
||||
vis_lefttoplayer_full_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
vis_inbig_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
vis_lefttoplayer_attrib.setData("0");
|
||||
vis_lefttoplayer_full_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
vis_lefttoplayer_full_attrib.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
vis_lefttoplayer_attrib.setData("0");
|
||||
vis_inbig_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
#endif
|
309
Src/resources/skins/Big Bento/scripts/attribs/init_windowpage.m
Normal file
@ -0,0 +1,309 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: init_windowpage.m
|
||||
Version: 1.1
|
||||
|
||||
Type: maki/attrib definitions
|
||||
Date: 08. Jul. 2006 - 17:28
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
Depending Files:
|
||||
scripts/mcvcompcore.maki
|
||||
scripts/suicore.maki
|
||||
scripts/browser.maki
|
||||
scripts/fileinfo.maki
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#ifndef included
|
||||
#error This script can only be compiled as a #include
|
||||
#endif
|
||||
|
||||
#include "gen_pageguids.m"
|
||||
|
||||
//#define DOHIDEMCV
|
||||
//#define IC_COVERFLOW
|
||||
|
||||
|
||||
#define CUSTOM_PAGE_FILEINFO "{6A619628-6A91-46e3-A3F3-5C1B2D93DF4F}"
|
||||
|
||||
Function initAttribs_windowpage();
|
||||
|
||||
Global ConfigAttribute sui_browser_attrib, sui_eq_attrib, sui_config_attrib;
|
||||
Global ConfigAttribute ic_fileinfo, ic_cover_fileinfo, ic_vis, ic_vis_fileinfo, ic_hidden, ic_eq, ic_config, _plsc_ic_attrib;
|
||||
#ifdef IC_COVERFLOW
|
||||
Global ConfigAttribute _cflow_ic_attrib;
|
||||
#else
|
||||
#define _cflow_ic_attrib //
|
||||
#endif
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
Global ConfigAttribute ic_hidden;
|
||||
#endif
|
||||
Global ConfigItem custom_page_fileinfo;
|
||||
|
||||
#ifndef DOHIDEMCV
|
||||
#define ic_hidden //
|
||||
#endif
|
||||
|
||||
#define CUSTOM_PAGE_INFOCOMP "{8D3829F9-5790-4c8e-9C3A-C397D3602FF9}"
|
||||
Class ConfigAttribute InfoLineAttribute;
|
||||
Global InfoLineAttribute infocomp_show_rating, infocomp_show_genre, infocomp_show_year, infocomp_show_track, infocomp_show_publisher, infocomp_show_composer, infocomp_show_albumartist, infocomp_show_format, infocomp_show_disc;
|
||||
Global ConfigAttribute infocomp_cycle, infocomp_nowplaying, infocomp_browser;
|
||||
|
||||
initAttribs_windowpage()
|
||||
{
|
||||
initPages();
|
||||
|
||||
sui_eq_attrib = custom_windows_page.newAttribute("Equalizer\tAlt+G", "0");
|
||||
// sui_browser_attrib = custom_windows_page.newAttribute("Web Browser\tAlt+X", "0");
|
||||
sui_config_attrib = custom_windows_page.newAttribute("Skin Settings\tAlt+C", "0");
|
||||
|
||||
custom_page_fileinfo = addConfigSubMenu(optionsmenu_page, "Multi Content View", CUSTOM_PAGE_FILEINFO);
|
||||
|
||||
ic_fileinfo = custom_page_fileinfo.newAttribute("File Info", "1");
|
||||
_cflow_ic_attrib = custom_page_fileinfo.newAttribute("Cover Flow", "0");
|
||||
ic_vis = custom_page_fileinfo.newAttribute("Visualization ", "0");
|
||||
_plsc_ic_attrib = custom_page_fileinfo.newAttribute("Stored Playlists", "0");
|
||||
ic_eq = custom_page_fileinfo.newAttribute("Equalizer", sui_eq_attrib.getData());
|
||||
ic_config = custom_page_fileinfo.newAttribute("Skin Settings", sui_config_attrib.getData());
|
||||
#ifdef DOHIDEMCV
|
||||
ic_hidden = custom_page_fileinfo.newAttribute("Hide Multi Content View", "0");
|
||||
#endif
|
||||
addMenuSeparator(custom_page_fileinfo);
|
||||
ConfigItem fileinfo_parent = addConfigSubMenu(custom_page_fileinfo, "File Info Components", CUSTOM_PAGE_INFOCOMP);
|
||||
|
||||
ic_vis_fileinfo = fileinfo_parent.newAttribute("Visualization ", "0");
|
||||
ic_cover_fileinfo = fileinfo_parent.newAttribute("Album Art", "1");
|
||||
addMenuSeparator(fileinfo_parent);
|
||||
infocomp_show_track = fileinfo_parent.newAttribute("Show Track #", "1");
|
||||
infocomp_show_year = fileinfo_parent.newAttribute("Show Year", "1");
|
||||
infocomp_show_genre = fileinfo_parent.newAttribute("Show Genre", "1");
|
||||
infocomp_show_disc = fileinfo_parent.newAttribute("Show Disc", "1");
|
||||
infocomp_show_albumartist = fileinfo_parent.newAttribute("Show Album Artist", "1");
|
||||
infocomp_show_composer = fileinfo_parent.newAttribute("Show Composer", "1");
|
||||
infocomp_show_publisher = fileinfo_parent.newAttribute("Show Publisher", "1");
|
||||
infocomp_show_format = fileinfo_parent.newAttribute("Show Decoder", "1");
|
||||
infocomp_show_rating = fileinfo_parent.newAttribute("Show Song Rating", "1");
|
||||
addMenuSeparator(fileinfo_parent);
|
||||
infocomp_cycle = fileinfo_parent.newAttribute("Cycle File Info", "1");
|
||||
addMenuSeparator(fileinfo_parent);
|
||||
//infocomp_nowplaying = fileinfo_parent.newAttribute("Open Links in Now Playing", "1");
|
||||
//infocomp_browser = fileinfo_parent.newAttribute("Open Links in Browser", "0");
|
||||
}
|
||||
|
||||
#ifdef MAIN_ATTRIBS_MGR
|
||||
System.onKeyDown(String key) {
|
||||
if (key == "alt+x")
|
||||
{
|
||||
if (sui_browser_attrib.getData() == "0") sui_browser_attrib.setData("1");
|
||||
else sui_browser_attrib.setData("0");
|
||||
complete;
|
||||
}
|
||||
/*if (key == "alt+n")
|
||||
{
|
||||
if (sui_browser_attrib.getData() == "0") sui_browser_attrib.setData("1");
|
||||
else sui_browser_attrib.setData("0");
|
||||
complete;
|
||||
}*/
|
||||
/*if (key == "alt+c")
|
||||
{
|
||||
if (sui_cover_attrib.getData() == "0") sui_cover_attrib.setData("1");
|
||||
else sui_cover_attrib.setData("0");
|
||||
complete;
|
||||
}*/
|
||||
if (key == "alt+c")
|
||||
{
|
||||
if (sui_config_attrib.getData() == "0") sui_config_attrib.setData("1");
|
||||
else sui_config_attrib.setData("0");
|
||||
complete;
|
||||
}
|
||||
if (key == "alt+g")
|
||||
{
|
||||
if (sui_eq_attrib.getData() == "0") sui_eq_attrib.setData("1");
|
||||
else sui_eq_attrib.setData("0");
|
||||
complete;
|
||||
}
|
||||
/*if (key == "ctrl+f") {
|
||||
navigateUrl(getPath(getPlayItemString()));
|
||||
complete;
|
||||
}*/
|
||||
}
|
||||
|
||||
ic_fileinfo.onDataChanged()
|
||||
{
|
||||
//debugString("ic_fileinfo.setData(" + getData() + ")", 9);
|
||||
if (attribs_mychange2) return;
|
||||
NOOFF
|
||||
attribs_mychange2 = 1;
|
||||
ic_vis.setData("0");
|
||||
ic_eq.setData("0");
|
||||
ic_config.setData("0");
|
||||
_plsc_ic_attrib.setData("0");
|
||||
_cflow_ic_attrib.setData("0");
|
||||
ic_hidden.setdata("0");
|
||||
attribs_mychange2 = 0;
|
||||
}
|
||||
|
||||
ic_vis.onDataChanged()
|
||||
{
|
||||
//debugString("ic_vis.setData(" + getData() + ")", 9);
|
||||
if (attribs_mychange2) return;
|
||||
NOOFF
|
||||
attribs_mychange2 = 1;
|
||||
ic_fileinfo.setData("0");
|
||||
ic_eq.setData("0");
|
||||
ic_config.setData("0");
|
||||
_plsc_ic_attrib.setData("0");
|
||||
_cflow_ic_attrib.setData("0");
|
||||
ic_hidden.setdata("0");
|
||||
attribs_mychange2 = 0;
|
||||
}
|
||||
|
||||
ic_eq.onDataChanged()
|
||||
{
|
||||
if (!attribs_mychange)
|
||||
{
|
||||
attribs_mychange = 1;
|
||||
sui_eq_attrib.setData(getData());
|
||||
if (getData() == "1") sui_config_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
//debugString("ic_vis_fileinfo.setData(" + getData() + ")", 9);
|
||||
if (attribs_mychange2) return;
|
||||
NOOFF
|
||||
attribs_mychange2 = 1;
|
||||
ic_fileinfo.setData("0");
|
||||
ic_vis.setData("0");
|
||||
ic_config.setData("0");
|
||||
_plsc_ic_attrib.setData("0");
|
||||
_cflow_ic_attrib.setData("0");
|
||||
ic_hidden.setdata("0");
|
||||
attribs_mychange2 = 0;
|
||||
}
|
||||
|
||||
ic_config.onDataChanged()
|
||||
{
|
||||
if (!attribs_mychange)
|
||||
{
|
||||
attribs_mychange = 1;
|
||||
sui_config_attrib.setData(getData());
|
||||
if (getData() == "1") sui_eq_attrib.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
//debugString("ic_vis_fileinfo.setData(" + getData() + ")", 9);
|
||||
if (attribs_mychange2) return;
|
||||
NOOFF
|
||||
attribs_mychange2 = 1;
|
||||
ic_fileinfo.setData("0");
|
||||
ic_vis.setData("0");
|
||||
ic_eq.setData("0");
|
||||
_plsc_ic_attrib.setData("0");
|
||||
_cflow_ic_attrib.setData("0");
|
||||
ic_hidden.setdata("0");
|
||||
attribs_mychange2 = 0;
|
||||
}
|
||||
|
||||
_plsc_ic_attrib.onDataChanged()
|
||||
{
|
||||
//debugString("ic_fileinfo.setData(" + getData() + ")", 9);
|
||||
if (attribs_mychange2) return;
|
||||
NOOFF
|
||||
attribs_mychange2 = 1;
|
||||
ic_vis.setData("0");
|
||||
ic_eq.setData("0");
|
||||
ic_config.setData("0");
|
||||
ic_fileinfo.setData("0");
|
||||
_cflow_ic_attrib.setData("0");
|
||||
ic_hidden.setdata("0");
|
||||
attribs_mychange2 = 0;
|
||||
}
|
||||
|
||||
#ifdef IC_COVERFLOW
|
||||
|
||||
_cflow_ic_attrib.onDataChanged()
|
||||
{
|
||||
//debugString("ic_fileinfo.setData(" + getData() + ")", 9);
|
||||
if (attribs_mychange2) return;
|
||||
NOOFF
|
||||
attribs_mychange2 = 1;
|
||||
ic_vis.setData("0");
|
||||
ic_eq.setData("0");
|
||||
ic_config.setData("0");
|
||||
ic_fileinfo.setData("0");
|
||||
_plsc_ic_attrib.setData("0");
|
||||
ic_hidden.setdata("0");
|
||||
attribs_mychange2 = 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef DOHIDEMCV
|
||||
ic_hidden.onDataChanged()
|
||||
{
|
||||
//debugString("ic_fileinfo.setData(" + getData() + ")", 9);
|
||||
if (attribs_mychange2) return;
|
||||
NOOFF
|
||||
attribs_mychange2 = 1;
|
||||
ic_vis.setData("0");
|
||||
ic_eq.setData("0");
|
||||
ic_config.setData("0");
|
||||
ic_fileinfo.setData("0");
|
||||
_plsc_ic_attrib.setdata("0");
|
||||
_cflow_ic_attrib.setData("0");
|
||||
attribs_mychange2 = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
sui_eq_attrib.onDataChanged()
|
||||
{
|
||||
//debugString("ic_vis_fileinfo.setData(" + getData() + ")", 9);
|
||||
if (attribs_mychange) return;
|
||||
attribs_mychange = 1;
|
||||
if (getData() == "1")
|
||||
{
|
||||
ic_eq.setData("1");
|
||||
sui_config_attrib.setData("0");
|
||||
}
|
||||
else ic_fileinfo.setData("1");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
sui_config_attrib.onDataChanged()
|
||||
{
|
||||
//debugString("ic_vis_fileinfo.setData(" + getData() + ")", 9);
|
||||
if (attribs_mychange) return;
|
||||
attribs_mychange = 1;
|
||||
if (getData() == "1")
|
||||
{
|
||||
ic_config.setData("1");
|
||||
sui_eq_attrib.setData("0");
|
||||
}
|
||||
else ic_fileinfo.setData("1");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
|
||||
/* infocomp_nowplaying.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
infocomp_browser.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
|
||||
|
||||
infocomp_browser.onDataChanged()
|
||||
{
|
||||
if (attribs_mychange) return;
|
||||
NOOFF
|
||||
attribs_mychange = 1;
|
||||
infocomp_nowplaying.setData("0");
|
||||
attribs_mychange = 0;
|
||||
}
|
||||
*/
|
||||
#endif
|
160
Src/resources/skins/Big Bento/scripts/beatvisualization.m
Normal file
@ -0,0 +1,160 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: beatvisualization.m
|
||||
Version: 1.0
|
||||
|
||||
Type: maki
|
||||
Date: 24. Sep. 2007 - 21:11
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
|
||||
Based on Winamp Modern
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#include <lib/std.mi>
|
||||
#include attribs/init_appearance.m
|
||||
|
||||
Function updateObj(int w);
|
||||
|
||||
#define CENTER_VAR CONTENTGRP
|
||||
Global Group contentGroup;
|
||||
#include <lib/com/centerlayer.m>
|
||||
#undef CENTER_VAR
|
||||
|
||||
Global Group scriptGroup;
|
||||
Global animatedLayer beatVisL, beatVisR;
|
||||
Global int lastBeatLeft, lastBeatRight;
|
||||
Global Timer refreshVis;
|
||||
Global Int totalFrames;
|
||||
Global GuiObject SongTicker;
|
||||
|
||||
System.onScriptLoaded ()
|
||||
{
|
||||
initAttribs_Appearance();
|
||||
|
||||
scriptGroup = getScriptGroup();
|
||||
|
||||
contentGroup = scriptGroup.getObject("player.display.beatvis.content");
|
||||
|
||||
beatVisL = contentGroup.getObject("beatvisleft");
|
||||
beatVisR = contentGroup.getObject("beatvisright");
|
||||
|
||||
_CONTENTGRPInit(contentGroup, scriptGroup, 1, 0);
|
||||
|
||||
SongTicker = contentGroup.getParent().findObject("Songticker");
|
||||
|
||||
totalFrames = beatVisR.getLength() - 1;
|
||||
|
||||
lastBeatLeft = 0;
|
||||
lastBeatRight = 0;
|
||||
|
||||
refreshVis = new Timer;
|
||||
refreshVis.setDelay(10);
|
||||
|
||||
updateObj(scriptGroup.getWidth());
|
||||
vis_reflection_attrib.onDataChanged();
|
||||
}
|
||||
|
||||
System.onScriptUnloading ()
|
||||
{
|
||||
refreshVis.stop();
|
||||
delete refreshVis;
|
||||
}
|
||||
|
||||
scriptGroup.onResize (int x, int y, int w, int h)
|
||||
{
|
||||
updateObj(w);
|
||||
}
|
||||
|
||||
updateObj (int w)
|
||||
{
|
||||
if (w > 98)
|
||||
{
|
||||
if (scriptGroup.isVisible()) return;
|
||||
scriptGroup.show();
|
||||
if (beatvis_attrib.getData() == "1") refreshVis.start();
|
||||
//SongTicker.sendAction("setGuiX", "", 191,0,0,0);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
refreshVis.stop();
|
||||
scriptGroup.hide();
|
||||
//SongTicker.sendAction("restoreGuiX", "", 0,0,0,0);
|
||||
}
|
||||
}
|
||||
|
||||
refreshVis.onTimer ()
|
||||
{
|
||||
if (beatvis_attrib.getData() == "0")
|
||||
{
|
||||
lastBeatLeft--;
|
||||
if (lastBeatLeft<0) lastBeatLeft=0;
|
||||
lastBeatRight--;
|
||||
if (lastBeatRight<0) lastBeatRight=0;
|
||||
|
||||
beatVisL.gotoframe(lastBeatLeft);
|
||||
beatVisR.gotoframe(lastBeatRight);
|
||||
|
||||
if (lastBeatLeft + lastBeatRight == 0)
|
||||
{
|
||||
refreshVis.stop();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
int beatLeft= System.getLeftVuMeter();
|
||||
int beatRight= System.getRightVuMeter();
|
||||
|
||||
int frameLeft=beatLeft/(totalFrames+7);
|
||||
int frameRight=beatRight/(totalFrames+7);
|
||||
|
||||
if (frameLeft>totalFrames) frameLeft=totalFrames;
|
||||
if (frameRight>totalFrames) frameRight=totalFrames;
|
||||
|
||||
if (frameLeft<lastBeatLeft)
|
||||
{
|
||||
frameLeft=lastBeatLeft-1;
|
||||
if (frameLeft<0) frameLeft=0;
|
||||
}
|
||||
|
||||
if (frameRight<lastBeatRight)
|
||||
{
|
||||
frameRight=lastBeatRight-1;
|
||||
if (frameRight<0) frameRight=0;
|
||||
}
|
||||
|
||||
lastBeatLeft=frameLeft;
|
||||
lastBeatRight=frameRight;
|
||||
|
||||
beatVisL.gotoframe(frameLeft);
|
||||
beatVisR.gotoframe(frameRight);
|
||||
}
|
||||
|
||||
beatvis_attrib.onDataChanged ()
|
||||
{
|
||||
if (getData() == "1" )
|
||||
{
|
||||
if (scriptGroup.isVisible())
|
||||
{
|
||||
refreshVis.start();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
vis_reflection_attrib.onDataChanged ()
|
||||
{
|
||||
if (getdata() == "1")
|
||||
{
|
||||
beatVisR.setXmlParam("image", "player.beatvis.right");
|
||||
beatVisL.setXmlParam("image", "player.beatvis.left");
|
||||
}
|
||||
else
|
||||
{
|
||||
beatVisR.setXmlParam("image", "player.beatvis.right.wo");
|
||||
beatVisL.setXmlParam("image", "player.beatvis.left.wo");
|
||||
}
|
||||
}
|
BIN
Src/resources/skins/Big Bento/scripts/beatvisualization.maki
Normal file
8
Src/resources/skins/Big Bento/scripts/buildall.bat
Normal file
@ -0,0 +1,8 @@
|
||||
@echo off
|
||||
|
||||
pushd %~dp0..\..\..\..\wasabi\
|
||||
set basedir=%cd%
|
||||
popd
|
||||
|
||||
for %%a in (*.m) do "%basedir%\mc.exe" %%a
|
||||
pause
|
293
Src/resources/skins/Big Bento/scripts/cbuttons.m
Normal file
@ -0,0 +1,293 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: cbuttons.m
|
||||
Version: 1.0
|
||||
|
||||
Type: maki
|
||||
Date: 03. Nov. 2006 - 17:02
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#include <lib/std.mi>
|
||||
#include <lib/pldir.mi>
|
||||
|
||||
#define GLOW_OBJECT Prev
|
||||
#include <lib/com/glow.m>
|
||||
#define GLOW_OBJECT Next
|
||||
#include <lib/com/glow.m>
|
||||
#define GLOW_OBJECT Play
|
||||
#include <lib/com/glow.m>
|
||||
#define GLOW_OBJECT Pause
|
||||
#include <lib/com/glow.m>
|
||||
#define GLOW_OBJECT Stop
|
||||
#include <lib/com/glow.m>
|
||||
#define GLOW_OBJECT Eject
|
||||
#include <lib/com/glow.m>
|
||||
#define GLOW_OBJECT Repeat
|
||||
#include <lib/com/glow.m>
|
||||
#define GLOW_OBJECT Shuffle
|
||||
#include <lib/com/glow.m>
|
||||
#define GLOW_OBJECT Bolt
|
||||
#include <lib/com/glow.m>
|
||||
|
||||
Class Button InfoButton;
|
||||
Class ToggleButton InfoToggleButton;
|
||||
|
||||
Global InfoButton b_play, b_pause, b_eject, b_prev, b_next, b_stop, b_bolt;
|
||||
Global InfoToggleButton b_repeat, b_shuffle;
|
||||
Global GuiObject SongTicker;
|
||||
Global Group buttongroup;
|
||||
Global GuiObject shuffleActive, repeatActive, boltGlow;
|
||||
Global Int shuffleActive_Y, repeatActive_Y, minW, boltX, grabbX;
|
||||
Global Layer mainframe_grabber;
|
||||
Global Timer beatvis;
|
||||
|
||||
System.onScriptLoaded ()
|
||||
{
|
||||
buttongroup = getScriptGroup().findObject("player.cbuttons");
|
||||
|
||||
b_play = buttongroup.getObject("Play");
|
||||
b_pause = buttongroup.getObject("Pause");
|
||||
b_eject = buttongroup.getObject("Eject");
|
||||
b_prev = buttongroup.getObject("Prev");
|
||||
b_next = buttongroup.getObject("Next");
|
||||
b_stop = buttongroup.getObject("Stop");
|
||||
b_repeat = buttongroup.getObject("repeat");
|
||||
b_shuffle = buttongroup.getObject("shuffle");
|
||||
b_bolt = buttongroup.getParentLayout().getObject("bolt");
|
||||
boltGlow = buttongroup.getParentLayout().getObject("bolt.glow");
|
||||
shuffleActive = getScriptGroup().findObject("shuffle.active");
|
||||
shuffleActive_Y = shuffleActive.getGuiY();
|
||||
repeatActive = getScriptGroup().findObject("repeat.active");
|
||||
repeatActive_Y = repeatActive.getGuiY();
|
||||
mainframe_grabber = buttongroup.getParentLayout().getObject("player.mainframe.grabber");
|
||||
|
||||
beatvis = new Timer;
|
||||
beatvis.setDelay(33);
|
||||
|
||||
minW = stringToInteger(getParam());
|
||||
boltX = b_bolt.getGuiX();
|
||||
grabbX = mainframe_grabber.getGuiX();
|
||||
|
||||
b_bolt.setXmlParam("x", integerToString(boltX + buttongroup.GetWidth() - minW));
|
||||
boltGlow.setXmlParam("x", integerToString(boltX + buttongroup.GetWidth() - minW));
|
||||
mainframe_grabber.setXmlParam("x", integerToString(grabbX + buttongroup.GetWidth() - minW));
|
||||
|
||||
_Play_GlowInit (b_play, buttongroup.findObject("Play.glow"), 0.3);
|
||||
_Pause_GlowInit (b_pause, buttongroup.findObject("Pause.glow"), 0.3);
|
||||
_Stop_GlowInit (b_stop, buttongroup.findObject("Stop.glow"), 0.3);
|
||||
_Prev_GlowInit (b_prev, buttongroup.findObject("Prev.glow"), 0.3);
|
||||
_Next_GlowInit (b_next, buttongroup.findObject("Next.glow"), 0.3);
|
||||
_Eject_GlowInit (b_eject, buttongroup.findObject("Eject.glow"), 0.3);
|
||||
_Repeat_GlowInit (b_repeat, buttongroup.findObject("repeat.glow"), 0.3);
|
||||
_Shuffle_GlowInit (b_shuffle, buttongroup.findObject("shuffle.glow"), 0.3);
|
||||
_Bolt_GlowInit (b_bolt, buttongroup.getParentLayout().getObject("bolt.glow"), 0.7);
|
||||
|
||||
SongTicker = buttongroup.getParentLayout().findObject("songticker");
|
||||
}
|
||||
|
||||
system.onScriptUnloading ()
|
||||
{
|
||||
beatvis.stop();
|
||||
delete beatvis;
|
||||
}
|
||||
|
||||
InfoButton.onLeftButtonDown (int x, int y)
|
||||
{
|
||||
if (InfoButton == b_play)
|
||||
{
|
||||
if (getStatus() == -1)
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Resume Playback", 0, 0, 0, 0);
|
||||
}
|
||||
else if (getStatus() == 0)
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Start Playback", 0, 0, 0, 0);
|
||||
}
|
||||
else if (getStatus() == 1)
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Restart Playback", 0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
else if (InfoButton == b_pause)
|
||||
{
|
||||
if (getStatus() == -1)
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Resume Playback", 0, 0, 0, 0);
|
||||
}
|
||||
else if (getStatus() == 1)
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Pause Playback", 0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
else if (InfoButton == b_pause)
|
||||
{
|
||||
if (getStatus() == 1)
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Pause Playback", 0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
string info = InfoButton.getXmlParam("tooltip");
|
||||
SongTicker.sendAction("showinfo", info, 0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
InfoToggleButton.onLeftButtonDown (int x, int y)
|
||||
{
|
||||
if (InfoToggleButton == b_shuffle)
|
||||
{
|
||||
if (getCurCfgVal() == 1)
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Shuffle: On", 0, 0, 0, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Shuffle: Off", 0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
else if (InfoToggleButton == b_repeat)
|
||||
{
|
||||
if (getCurCfgVal() == 1)
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Repeat: Playlist", 0, 0, 0, 0);
|
||||
}
|
||||
else if (getCurCfgVal() == -1)
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Repeat: Track", 0, 0, 0, 0);
|
||||
}
|
||||
else if (getCurCfgVal() == 0)
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Repeat: Off", 0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
InfoToggleButton.onLeftButtonUp (int x, int y)
|
||||
{
|
||||
if (InfoToggleButton == b_shuffle)
|
||||
{
|
||||
if (getCurCfgVal() == 1)
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Shuffle: On", 0, 0, 0, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Shuffle: Off", 0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
else if (InfoToggleButton == b_repeat)
|
||||
{
|
||||
if (getCurCfgVal() == 1)
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Repeat: Playlist", 0, 0, 0, 0);
|
||||
}
|
||||
else if (getCurCfgVal() == -1)
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Repeat: Track", 0, 0, 0, 0);
|
||||
}
|
||||
else if (getCurCfgVal() == 0)
|
||||
{
|
||||
SongTicker.sendAction("showinfo", "Repeat: Off", 0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Global Boolean shuffleDown, repeatDown;
|
||||
b_shuffle.onLeftButtonDown (int x, int y)
|
||||
{
|
||||
shuffleDown = 1;
|
||||
shuffleActive.setXmlParam("y", integerToString(shuffleActive_Y+1));
|
||||
}
|
||||
|
||||
b_shuffle.onLeftButtonUp (int x, int y)
|
||||
{
|
||||
shuffleDown = 0;
|
||||
shuffleActive.setXmlParam("y", integerToString(shuffleActive_Y));
|
||||
}
|
||||
|
||||
b_shuffle.onleaveArea ()
|
||||
{
|
||||
shuffleActive.setXmlParam("y", integerToString(shuffleActive_Y));
|
||||
}
|
||||
|
||||
b_shuffle.onEnterArea ()
|
||||
{
|
||||
if (shuffleDown) shuffleActive.setXmlParam("y", integerToString(shuffleActive_Y+1));
|
||||
}
|
||||
|
||||
b_repeat.onLeftButtonDown (int x, int y)
|
||||
{
|
||||
repeatDown = 1;
|
||||
repeatActive.setXmlParam("y", integerToString(repeatActive_Y+1));
|
||||
}
|
||||
|
||||
b_repeat.onLeftButtonUp (int x, int y)
|
||||
{
|
||||
repeatDown = 0;
|
||||
repeatActive.setXmlParam("y", integerToString(repeatActive_Y));
|
||||
}
|
||||
|
||||
b_repeat.onleaveArea ()
|
||||
{
|
||||
repeatActive.setXmlParam("y", integerToString(repeatActive_Y));
|
||||
}
|
||||
|
||||
b_repeat.onEnterArea ()
|
||||
{
|
||||
if (repeatDown) repeatActive.setXmlParam("y", integerToString(repeatActive_Y+1));
|
||||
}
|
||||
|
||||
buttongroup.onResize (int x, int y, int w, int h)
|
||||
{
|
||||
b_bolt.setXmlParam("x", integerToString(boltX + buttongroup.GetWidth() - minW));
|
||||
boltGlow.setXmlParam("x", integerToString(boltX + buttongroup.GetWidth() - minW));
|
||||
mainframe_grabber.setXmlParam("x", integerToString(grabbX + buttongroup.GetWidth() - minW));
|
||||
}
|
||||
|
||||
b_bolt.onLeftButtonUp (int x, int y)
|
||||
{
|
||||
if (isKeyDown(VK_ALT) && isKeyDown(VK_SHIFT) && isKeyDown(VK_CONTROL))
|
||||
{
|
||||
if (beatvis.isRunning())
|
||||
{
|
||||
beatvis.stop();
|
||||
}
|
||||
else
|
||||
{
|
||||
beatvis.start();
|
||||
}
|
||||
complete;
|
||||
}
|
||||
}
|
||||
|
||||
beatvis.onTimer ()
|
||||
{
|
||||
int value = (getRightVuMeter() + getLeftVuMeter()) / 2;
|
||||
boltGlow.setAlpha(value);
|
||||
}
|
||||
/*
|
||||
System.onKeyDown (String key)
|
||||
{
|
||||
if (key == "space")
|
||||
{
|
||||
PlEdit.showCurrentlyPlayingTrack();
|
||||
|
||||
complete;
|
||||
}
|
||||
}*/
|
||||
|
||||
System.onAccelerator (String action, String section, String key)
|
||||
{
|
||||
if (strupper(action) == "SHOW_CURRENT_TRACK")
|
||||
{
|
||||
PlEdit.showCurrentlyPlayingTrack();
|
||||
|
||||
complete;
|
||||
}
|
||||
}
|
BIN
Src/resources/skins/Big Bento/scripts/cbuttons.maki
Normal file
56
Src/resources/skins/Big Bento/scripts/colorthemes.m
Normal file
@ -0,0 +1,56 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: colorthemes.m
|
||||
Version: 1.0
|
||||
|
||||
Type: maki
|
||||
Date: 29. Jun. 2007 - 13:06
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#include <lib/std.mi>
|
||||
|
||||
Global Group scriptGroup;
|
||||
Global GuiObject ColorthemesList, parent;
|
||||
Global string sgID;
|
||||
|
||||
Global Button getmore;
|
||||
|
||||
|
||||
System.onScriptLoaded ()
|
||||
{
|
||||
scriptGroup = getScriptGroup();
|
||||
sgID = scriptGroup.getID();
|
||||
ColorthemesList = scriptGroup.getObject("colorthemes");
|
||||
parent = scriptGroup.getParent().findObject("skin.config.target");
|
||||
|
||||
getmore = scriptGroup.getObject("colorthemes.more");
|
||||
}
|
||||
|
||||
scriptGroup.onTargetReached ()
|
||||
{
|
||||
if (getAlpha() == 0) ColorthemesList.hide();
|
||||
else ColorthemesList.show();
|
||||
}
|
||||
|
||||
parent.onAction(String action, String param, int x, int y, int p1, int p2, GuiObject source)
|
||||
{
|
||||
if (getToken(action,";",0) == "switchto")
|
||||
{
|
||||
if (getToken(action, ";", 1) == sgID)
|
||||
{
|
||||
ColorthemesList.show();
|
||||
}
|
||||
else ColorthemesList.hide();
|
||||
}
|
||||
}
|
||||
|
||||
getmore.onLeftClick ()
|
||||
{
|
||||
group sui = scriptGroup.getParentLayout().findObject("sui.content");
|
||||
sui.sendAction ("browser_navigate", "http://forums.winamp.com/showthread.php?threadid=276371", 0, 0, 0, 0);
|
||||
}
|
BIN
Src/resources/skins/Big Bento/scripts/colorthemes.maki
Normal file
159
Src/resources/skins/Big Bento/scripts/configtarget.m
Normal file
@ -0,0 +1,159 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: configtarget.m
|
||||
Version: 2.1
|
||||
|
||||
Type: maki
|
||||
Date: 04. Jan. 2007 - 22:46
|
||||
Edited by: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
|
||||
Note: This script is based on configtarget.m
|
||||
from Winamp Modern
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#include <lib/std.mi>
|
||||
|
||||
// ------------------------------------------------------------------------------------
|
||||
Global GuiObject target;
|
||||
Global ComponentBucket buck;
|
||||
|
||||
Global GuiObject last, current;
|
||||
// ------------------------------------------------------------------------------------
|
||||
Function turnAllOffExcept(GuiObject except);
|
||||
Function turnOn(GuiObject obj);
|
||||
Function turnOff(GuiObject obj);
|
||||
|
||||
//Member int target.fff;
|
||||
|
||||
//function fff();
|
||||
//Member button int fff();
|
||||
// ------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
// ------------------------------------------------------------------------------------
|
||||
// init
|
||||
// ------------------------------------------------------------------------------------
|
||||
System.onScriptLoaded()
|
||||
{
|
||||
target = getScriptGroup().findObject("skin.config.target");
|
||||
buck = getScriptGroup().findObject("my.bucket");
|
||||
|
||||
last = NULL;
|
||||
current = NULL;
|
||||
|
||||
//debugInt(guiobject.fff);ffff
|
||||
|
||||
// target.fff = 4;
|
||||
|
||||
// turn off all
|
||||
GuiObject o = NULL;
|
||||
turnAllOffExcept(o);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------
|
||||
// save scroller position
|
||||
// ------------------------------------------------------------------------------------
|
||||
/*System.onScriptUnloading()
|
||||
{
|
||||
if (buck)
|
||||
{
|
||||
setPrivateInt(getSkinName(), "", buck.getScroll());
|
||||
}
|
||||
}*/
|
||||
|
||||
// ------------------------------------------------------------------------------------
|
||||
// turn on last open
|
||||
// ------------------------------------------------------------------------------------
|
||||
buck.onStartup()
|
||||
{
|
||||
//setScroll(getPrivateInt(getSkinName(), "settings_last_pos", 0));
|
||||
Group g = buck.enumChildren(getPrivateInt(getSkinName(), "settings_last_pos", 0));
|
||||
if (!g) g = buck.enumChildren(0);
|
||||
if (!g) return;
|
||||
ToggleButton btn = g.getObject("btn");
|
||||
if (btn) btn.leftClick();
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------
|
||||
// this is called by the bucket button to switch to a new group
|
||||
// ------------------------------------------------------------------------------------
|
||||
target.onAction(String action, String param, int x, int y, int p1, int p2, GuiObject source)
|
||||
{
|
||||
if (getToken(action,";",0) == "switchto")
|
||||
{
|
||||
String grp = getToken(action, ";", 1);
|
||||
String is_subpage = getToken(action, ";", 2);
|
||||
|
||||
if (current != NULL)
|
||||
{
|
||||
last = current;
|
||||
}
|
||||
|
||||
target.setXmlParam("groupid", grp);
|
||||
|
||||
current = getScriptGroup().findObject(grp);
|
||||
|
||||
// setPrivateInt(getSkinName(), "settings_last_pos", stringToInteger(param));
|
||||
|
||||
if (is_subpage!="subpage") turnAllOffExcept(source.getParent()); // getParent because the source is the button itself, the parent is the whole group item in the bucket
|
||||
}
|
||||
}
|
||||
|
||||
// Hack to hide last item
|
||||
|
||||
last.onTargetReached ()
|
||||
{
|
||||
if (getAlpha() == 0)
|
||||
{
|
||||
hide();
|
||||
}
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------
|
||||
// turn off all buttons except for the parameter, also save last_page param based on param item
|
||||
// ------------------------------------------------------------------------------------
|
||||
turnAllOffExcept(GuiObject except)
|
||||
{
|
||||
if (!buck) return;
|
||||
int i=0;
|
||||
// enumerate all inserted groups, turn them off if they're not our exception
|
||||
while (i<buck.getNumChildren())
|
||||
{
|
||||
GuiObject obj = buck.enumChildren(i);
|
||||
if (obj == except)
|
||||
{ // otherwise record last page
|
||||
setPrivateInt(getSkinName(), "settings_last_pos", i);
|
||||
i++;
|
||||
continue;
|
||||
}
|
||||
if (obj == NULL) { break; } // shoundnt happen
|
||||
turnOff(obj);
|
||||
i++;
|
||||
}
|
||||
// turn on the clicked item
|
||||
if (except) turnOn(except);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------
|
||||
turnOn(GuiObject obj)
|
||||
{
|
||||
Group gobj = obj;
|
||||
|
||||
// otherwise we just need this :
|
||||
ToggleButton tg = gobj.getObject("btn");
|
||||
tg.setActivated(1);
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------
|
||||
turnOff(GuiObject obj)
|
||||
{
|
||||
Group gobj = obj;
|
||||
|
||||
// otherwise we just need this :
|
||||
ToggleButton tg = gobj.getObject("btn");
|
||||
tg.setActivated(0);
|
||||
}
|
BIN
Src/resources/skins/Big Bento/scripts/configtarget.maki
Normal file
229
Src/resources/skins/Big Bento/scripts/coverflow.m
Normal file
@ -0,0 +1,229 @@
|
||||
/********************************************************\
|
||||
** Filename: coverflow.m **
|
||||
** Version: 1.0 **
|
||||
** Date: 20. Nov. 2007 - 15:25 **
|
||||
**********************************************************
|
||||
** Type: winamp.wasabi/maki **
|
||||
** Project: Cover Flow **
|
||||
**********************************************************
|
||||
** Author: Martin Poehlmann aka Deimos **
|
||||
** E-Mail: martin@skinconsortium.com **
|
||||
** Internet: http://www.skinconsortium.com **
|
||||
** http://home.cs.tum.edu/~poehlman **
|
||||
\********************************************************/
|
||||
|
||||
|
||||
#include <lib/std.mi>
|
||||
#include <lib/pldir.mi>
|
||||
|
||||
Function update();
|
||||
Function fade (GuiObject o, int alpha, float s);
|
||||
|
||||
Class GuiObject AlbumCover;
|
||||
Class AlbumCover playButton;
|
||||
|
||||
Global AlbumCover prev2, prev1, curr, next1, next2;
|
||||
Global String sprev2, sprev1, scurr, snext1, snext2;
|
||||
Global playButton bprev2, bprev1, bcurr, bnext1, bnext2;
|
||||
Global text info;
|
||||
|
||||
#define CENTER_VAR SGrp
|
||||
Global Group sg;
|
||||
#include <lib/com/centerlayer.m>
|
||||
#undef CENTER_VAR
|
||||
|
||||
Global PlEdit PleditListener;
|
||||
|
||||
Global Timer delay;
|
||||
|
||||
System.onScriptLoaded ()
|
||||
{
|
||||
sg = getScriptGroup();
|
||||
|
||||
PleditListener = new PlEdit;
|
||||
|
||||
prev2 = sg.getObject("aa.prev2");
|
||||
prev1 = sg.getObject("aa.prev1");
|
||||
curr = sg.getObject("aa.curr");
|
||||
next1 = sg.getObject("aa.next1");
|
||||
next2 = sg.getObject("aa.next2");
|
||||
|
||||
bprev2 = sg.getObject("play.prev2");
|
||||
bprev1 = sg.getObject("play.prev1");
|
||||
bcurr = sg.getObject("play.curr");
|
||||
bnext1 = sg.getObject("play.next1");
|
||||
bnext2 = sg.getObject("play.next2");
|
||||
|
||||
info = sg.getParent().findObject("info");
|
||||
|
||||
_SGrpInit(sg, sg.getParent(), 1, 0);
|
||||
|
||||
delay = new Timer;
|
||||
delay.setDelay(10);
|
||||
|
||||
update();
|
||||
}
|
||||
|
||||
System.onScriptUnloading ()
|
||||
{
|
||||
delete delay;
|
||||
}
|
||||
|
||||
System.onTitleChange (String newtitle)
|
||||
{
|
||||
update();
|
||||
}
|
||||
|
||||
update ()
|
||||
{
|
||||
int cur = PlEdit.getCurrentIndex();
|
||||
int max = PlEdit.getNumTracks();
|
||||
|
||||
if (cur > 1)
|
||||
{
|
||||
prev2.setXmlParam("source", PlEdit.getFileName(cur-2));
|
||||
prev2.show();
|
||||
sprev2 = PlEdit.getTitle(cur-2);
|
||||
}
|
||||
else prev2.hide();
|
||||
|
||||
if (cur > 0)
|
||||
{
|
||||
prev1.setXmlParam("source", PlEdit.getFileName(cur-1));
|
||||
prev1.show();
|
||||
sprev1 = PlEdit.getTitle(cur-1);
|
||||
}
|
||||
else prev1.hide();
|
||||
|
||||
scurr = PlEdit.getTitle(cur);
|
||||
|
||||
if (cur < max-2)
|
||||
{
|
||||
next2.setXmlParam("source", PlEdit.getFileName(cur+2));
|
||||
next2.show();
|
||||
snext2 = PlEdit.getTitle(cur+2);
|
||||
}
|
||||
else next2.hide();
|
||||
|
||||
if (cur < max-1)
|
||||
{
|
||||
next1.setXmlParam("source", PlEdit.getFileName(cur+1));
|
||||
next1.show();
|
||||
snext1 = PlEdit.getTitle(cur+1);
|
||||
}
|
||||
else next1.hide();
|
||||
}
|
||||
|
||||
PleditListener.onPleditModified ()
|
||||
{
|
||||
if (delay) delay.start();
|
||||
}
|
||||
|
||||
delay.onTimer ()
|
||||
{
|
||||
delay.stop();
|
||||
update();
|
||||
}
|
||||
|
||||
AlbumCover.onRightButtonDown (int x, int y)
|
||||
{
|
||||
popupmenu p = new popupmenu;
|
||||
|
||||
p.addCommand("Get Album Art", 1, 0, 0);
|
||||
p.addCommand("Refresh Album Art", 2, 0, 0);
|
||||
p.addCommand("Open Folder", 3, 0, 0);
|
||||
|
||||
int result = p.popatmouse();
|
||||
delete p;
|
||||
|
||||
String pis = getXmlParam("source");
|
||||
if (pis == "") pis = system.getPlayItemString();
|
||||
|
||||
if (result == 1)
|
||||
{
|
||||
if (system.getAlbumArt(pis) > 0)
|
||||
{
|
||||
setXmlParam("notfoundimage", getXmlParam("notfoundimage")); // a nesty refresh - isn't it?
|
||||
}
|
||||
}
|
||||
else if (result == 2)
|
||||
{
|
||||
setXmlParam("notfoundimage", getXmlParam("notfoundimage")); // a nesty refresh - isn't it?
|
||||
}
|
||||
else if (result == 3)
|
||||
{
|
||||
System.navigateUrl(getPath(pis));
|
||||
}
|
||||
}
|
||||
|
||||
AlbumCover.onLeftButtonDblClk (int x, int y)
|
||||
{
|
||||
if (AlbumCover == playButton)
|
||||
return;
|
||||
|
||||
String pis = getXmlParam("source");
|
||||
if (pis == "") pis = system.getPlayItemString();
|
||||
System.navigateUrl(getPath(pis));
|
||||
}
|
||||
|
||||
AlbumCover.onEnterArea ()
|
||||
{
|
||||
if (!findObject("aa." + getToken(getId(), ".", 1)).isVisible())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
int cur = PlEdit.getCurrentIndex();
|
||||
|
||||
if (AlbumCover == prev2 || AlbumCover == bprev2)
|
||||
info.setText(sprev2);
|
||||
else if (AlbumCover == prev1 || AlbumCover == bprev1)
|
||||
info.setText(sprev1);
|
||||
else if (AlbumCover == curr || AlbumCover == bcurr)
|
||||
info.setText(scurr);
|
||||
else if (AlbumCover == next1 || AlbumCover == bnext1)
|
||||
info.setText(snext1);
|
||||
else if (AlbumCover == next2 || AlbumCover == bnext2)
|
||||
info.setText(snext2);
|
||||
|
||||
GuiObject o = sg.findObject("play." + getToken(getId(), ".", 1));
|
||||
if (o )
|
||||
{
|
||||
fade(o, 255, 0.133);
|
||||
}
|
||||
}
|
||||
|
||||
AlbumCover.onLeaveArea ()
|
||||
{
|
||||
info.setText("");
|
||||
|
||||
GuiObject o = sg.findObject("play." + getToken(getId(), ".", 1));
|
||||
if (o)
|
||||
{
|
||||
fade(o, 0, 0.3);
|
||||
}
|
||||
}
|
||||
|
||||
playButton.onLeftButtonUp (int x, int y)
|
||||
{
|
||||
int cur = PlEdit.getCurrentIndex();
|
||||
if (playButton == bprev2)
|
||||
PlEdit.playTrack(cur-2);
|
||||
else if (playButton == bprev1)
|
||||
PlEdit.playTrack(cur-1);
|
||||
else if (playButton == bnext1)
|
||||
PlEdit.playTrack(cur+1);
|
||||
else if (playButton == bnext2)
|
||||
PlEdit.playTrack(cur+2);
|
||||
|
||||
setAlpha(0);
|
||||
info.setTexT("");
|
||||
}
|
||||
|
||||
fade (GuiObject o, int alpha, float s)
|
||||
{
|
||||
o.cancelTarget();
|
||||
o.setTargetA(alpha);
|
||||
o.setTargetSpeed(s);
|
||||
o.gotoTarget();
|
||||
}
|
BIN
Src/resources/skins/Big Bento/scripts/coverflow.maki
Normal file
247
Src/resources/skins/Big Bento/scripts/eq.m
Normal file
@ -0,0 +1,247 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: eq.m
|
||||
Version: 2.0
|
||||
|
||||
Type: maki
|
||||
Date: 25. Jun. 2007 - 11:30
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#include <lib/std.mi>
|
||||
#include <lib/winampconfig.mi>
|
||||
|
||||
#define CENTER_VAR eqGroup
|
||||
#include <lib/com/centerlayer.m>
|
||||
|
||||
#define ISOBANDS "31.5 Hz,63 Hz,125 Hz,250 Hz,500 Hz,1 KHz,2 KHz,4 KHz,8 KHz,16 KHz"
|
||||
#define WINAMPBANDS "70 Hz,180 Hz,320 Hz,600 Hz,1 KHz,3 KHz,6 KHz,12 KHz,14 KHz,16 KHz"
|
||||
|
||||
Class Button Eqbutton;
|
||||
Member int EqButton.setTo;
|
||||
|
||||
Global Group frameGroup, buttongroup;
|
||||
Global Slider slidercb, Balance;
|
||||
Global Text fadertext;
|
||||
Global Button CFIncrease, CFDecrease, eqon, eqauto;
|
||||
Global ToggleButton Crossfade;
|
||||
Global GuiObject CrossfadeActive, eqonActive, eqautoActive, SongTicker;
|
||||
Global Int CrossfadeActive_Y, eqonActive_Y, eqautoActive_Y;
|
||||
Global Eqbutton btnEQp12,btnEQ0,btnEQm12;
|
||||
Global layer frequencyLabel;
|
||||
|
||||
System.onScriptLoaded()
|
||||
{
|
||||
buttongroup = getScriptGroup().findObject("player.cbuttons");
|
||||
WinampConfigGroup eqwcg = WinampConfig.getGroup("{72409F84-BAF1-4448-8211-D84A30A1591A}");
|
||||
|
||||
int freqmode = eqwcg.getInt("frequencies"); // returns 0 for classical winamp levels, 1 for ISO levels
|
||||
|
||||
frameGroup = getScriptGroup();
|
||||
_eqGroupInit(frameGroup.findObject("info.component.eq.content"), frameGroup, 1, 0);
|
||||
slidercb = frameGroup.findObject("sCrossfade");
|
||||
fadertext = frameGroup.findObject("CFDisplay");
|
||||
CFIncrease = frameGroup.findObject("CrossfadeIncrease");
|
||||
CFDecrease = frameGroup.findObject("CrossfadeDecrease");
|
||||
Crossfade = frameGroup.findObject("Crossfade");
|
||||
CrossfadeActive = frameGroup.findObject("CrossfadeActive");
|
||||
CrossfadeActive_Y = CrossfadeActive.getGuiY();
|
||||
|
||||
eqon = frameGroup.findObject("eqonoff");
|
||||
eqonActive = frameGroup.findObject("eqonoffActive");
|
||||
eqonActive_Y = eqonActive.getGuiY();
|
||||
|
||||
eqauto = frameGroup.findObject("eqauto");
|
||||
eqautoActive = frameGroup.findObject("eqautoActive");
|
||||
eqautoActive_Y = eqautoActive.getGuiY();
|
||||
|
||||
btnEQp12 = frameGroup.findObject("EQ_p12");
|
||||
btnEQp12.setTo = 127;
|
||||
btnEQ0 = frameGroup.findObject("EQ_0");
|
||||
btnEQ0.setTo = 0;
|
||||
btnEQm12 = frameGroup.findObject("EQ_m12");
|
||||
btnEQm12.setTo = -127;
|
||||
|
||||
Balance = frameGroup.findObject("Balance");
|
||||
SongTicker = buttongroup.getParentLayout().findObject("songticker");
|
||||
|
||||
frequencyLabel = frameGroup.findObject("frequency.labels");
|
||||
|
||||
system.onEqFreqChanged(freqmode);
|
||||
|
||||
slidercb.onSetPosition(slidercb.getPosition());
|
||||
|
||||
Crossfade.onToggle(Crossfade.getActivated());
|
||||
}
|
||||
|
||||
Balance.onSetPosition(int newpos)
|
||||
{
|
||||
string t=translate("Balance")+":";
|
||||
if (newpos==127) t+= " " + translate("Center");
|
||||
if (newpos<127) t += " " + integerToString((100-(newpos/127)*100))+"% "+translate("Left");
|
||||
if (newpos>127) t += " " + integerToString(((newpos-127)/127)*100)+"% "+translate("Right");
|
||||
|
||||
SongTicker.sendAction("showinfo", t, 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
slidercb.onSetPosition(int val)
|
||||
{
|
||||
String s = IntegerToString(val);
|
||||
fadertext.setText(s);
|
||||
}
|
||||
|
||||
CFIncrease.onLeftClick()
|
||||
{
|
||||
slidercb.SetPosition(slidercb.getPosition()+1);
|
||||
}
|
||||
|
||||
CFDecrease.onLeftClick()
|
||||
{
|
||||
slidercb.SetPosition(slidercb.getPosition()-1);
|
||||
}
|
||||
|
||||
Crossfade.onToggle(boolean on)
|
||||
{
|
||||
if (!on)
|
||||
{
|
||||
fadertext.setAlpha(150);
|
||||
CFIncrease.setAlpha(150);
|
||||
CFDecrease.setXmlParam("ghost" , "1");
|
||||
CFDecrease.setAlpha(150);
|
||||
CFIncrease.setXmlParam("ghost" , "1");
|
||||
CrossfadeActive.hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
fadertext.setAlpha(255);
|
||||
CFIncrease.setAlpha(255);
|
||||
CFDecrease.setAlpha(255);
|
||||
CFIncrease.setXmlParam("ghost" , "0");
|
||||
CFDecrease.setXmlParam("ghost" , "0");
|
||||
CrossfadeActive.show();
|
||||
}
|
||||
}
|
||||
|
||||
Global Boolean cfDown, onDown, autoDown, manual_set;
|
||||
Crossfade.onLeftButtonDown (int x, int y)
|
||||
{
|
||||
cfDown = 1;
|
||||
CrossfadeActive.setXmlParam("y", integerToString(CrossfadeActive_Y+1));
|
||||
}
|
||||
|
||||
Crossfade.onLeftButtonUp (int x, int y)
|
||||
{
|
||||
cfDown = 0;
|
||||
CrossfadeActive.setXmlParam("y", integerToString(CrossfadeActive_Y));
|
||||
}
|
||||
|
||||
Crossfade.onleaveArea ()
|
||||
{
|
||||
CrossfadeActive.setXmlParam("y", integerToString(CrossfadeActive_Y));
|
||||
}
|
||||
|
||||
Crossfade.onEnterArea ()
|
||||
{
|
||||
if (cfDown) CrossfadeActive.setXmlParam("y", integerToString(CrossfadeActive_Y+1));
|
||||
}
|
||||
|
||||
eqon.onEnterArea ()
|
||||
{
|
||||
if (onDown) eqonActive.setXmlParam("y", integerToString(eqonActive_Y+1));
|
||||
}
|
||||
|
||||
eqon.onLeftButtonDown (int x, int y)
|
||||
{
|
||||
onDown = 1;
|
||||
eqonActive.setXmlParam("y", integerToString(eqonActive_Y+1));
|
||||
}
|
||||
|
||||
eqon.onLeftButtonUp (int x, int y)
|
||||
{
|
||||
onDown = 0;
|
||||
eqonActive.setXmlParam("y", integerToString(eqonActive_Y));
|
||||
}
|
||||
|
||||
eqon.onleaveArea ()
|
||||
{
|
||||
eqonActive.setXmlParam("y", integerToString(eqonActive_Y));
|
||||
}
|
||||
|
||||
eqauto.onLeftButtonDown (int x, int y)
|
||||
{
|
||||
autoDown = 1;
|
||||
eqautoActive.setXmlParam("y", integerToString(eqautoActive_Y+1));
|
||||
}
|
||||
|
||||
eqauto.onLeftButtonUp (int x, int y)
|
||||
{
|
||||
autoDown = 0;
|
||||
eqautoActive.setXmlParam("y", integerToString(eqautoActive_Y));
|
||||
}
|
||||
|
||||
eqauto.onleaveArea ()
|
||||
{
|
||||
eqautoActive.setXmlParam("y", integerToString(eqautoActive_Y));
|
||||
}
|
||||
|
||||
eqauto.onEnterArea ()
|
||||
{
|
||||
if (autoDown) eqautoActive.setXmlParam("y", integerToString(eqautoActive_Y+1));
|
||||
}
|
||||
|
||||
|
||||
EqButton.onLeftClick()
|
||||
{
|
||||
manual_set = 1;
|
||||
for(int i=0; i<10; i++) setEqBand(i, EqButton.setTo);
|
||||
manual_set = 0;
|
||||
}
|
||||
|
||||
System.onEqFreqChanged (boolean isoonoff)
|
||||
{
|
||||
if (isoonoff == 1)
|
||||
{
|
||||
frequencyLabel.setXmlParam("image", "equalizer.labels.iso");
|
||||
for(int i=0; i<10; i++) frameGroup.findObject("eq"+integerToString(i+1)).setXmlParam("tooltip", getToken(ISOBANDS,",",i));
|
||||
}
|
||||
else
|
||||
{
|
||||
frequencyLabel.setXmlParam("image", "equalizer.labels.winamp");
|
||||
for(int i=0; i<10; i++) frameGroup.findObject("eq"+integerToString(i+1)).setXmlParam("tooltip", getToken(WINAMPBANDS,",",i));
|
||||
}
|
||||
}
|
||||
|
||||
system.onEqBandChanged(int band, int value)
|
||||
{
|
||||
if (manual_set) return;
|
||||
String t;
|
||||
Float f = value;
|
||||
f = f / 10.5;
|
||||
WinampConfigGroup eqwcg = WinampConfig.getGroup("{72409F84-BAF1-4448-8211-D84A30A1591A}");
|
||||
if (eqwcg.getInt("frequencies") == 1) {
|
||||
if (f >= 0) t = "EQ: " + translate(getToken(ISOBANDS,",",band)) + ": +" + floattostring(f, 1) + " "+ translate("dB");
|
||||
else t = "EQ: " + translate(getToken(ISOBANDS,",",band)) + ": " + floattostring(f, 1) + " "+ translate("dB");
|
||||
}
|
||||
else {
|
||||
if (f >= 0) t = "EQ: " + translate(getToken(WINAMPBANDS,",",band)) + ": +" + floattostring(f, 1) + " "+ translate("dB");
|
||||
else t = "EQ: " + translate(getToken(WINAMPBANDS,",",band)) + ": " + floattostring(f, 1) + " "+ translate("dB");
|
||||
}
|
||||
|
||||
SongTicker.sendAction("showinfo", t, 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
system.onEqPreampChanged(int value)
|
||||
{
|
||||
slider s = getScriptGroup().findObject("preamp");
|
||||
value = s.getPosition(); // Somehow this function returns a range from [-127;125] with hotpos -3, so we take the slider instead
|
||||
String t = "EQ: " + translate("Preamp:") + " ";
|
||||
Float f = value;
|
||||
f = f / 10.5;
|
||||
if (f >= 0) t += "+"+floattostring(f, 1) + " "+ translate("dB");
|
||||
else t += floattostring(f, 1) + " "+ translate("dB");
|
||||
SongTicker.sendAction("showinfo", t, 0, 0, 0, 0);
|
||||
}
|
BIN
Src/resources/skins/Big Bento/scripts/eq.maki
Normal file
1277
Src/resources/skins/Big Bento/scripts/fileinfo.m
Normal file
BIN
Src/resources/skins/Big Bento/scripts/fileinfo.maki
Normal file
145
Src/resources/skins/Big Bento/scripts/gen_dropbox.m
Normal file
@ -0,0 +1,145 @@
|
||||
#include <lib/std.mi>
|
||||
|
||||
#define GUID_DROPBOX "{E2E4AD32-D87B-4B9E-BF58-46A1336DDC8F}"
|
||||
#define GUID_DROPBOX_ "{E2E4AD32-D87B-4b9e-BF58-46A1336DDC8F}"
|
||||
#define USE_BIG_HACK
|
||||
|
||||
Global Frame dualwnd;
|
||||
Global Group sui_window;
|
||||
Global Group dropbox;
|
||||
|
||||
Global Timer box_tmr;
|
||||
Global windowholder dropbox_wdh;
|
||||
|
||||
Global Container main;
|
||||
|
||||
Global int MIN_WIDTH;
|
||||
|
||||
System.onScriptLoaded ()
|
||||
{
|
||||
dualwnd = getScriptGroup().findObject("wdh.ml.dualwnd");
|
||||
sui_window = getScriptGroup().getParentLayout().findObject("sui.content");
|
||||
dropbox = dualwnd.findObject("wdh.ml.dualwnd.dropbox");
|
||||
dropbox_wdh = dropbox.findObject("wdh");
|
||||
|
||||
main = dropbox.getParentLayout().getContainer();
|
||||
|
||||
//showWindow(GUID_DROPBOX, "", false);
|
||||
|
||||
MIN_WIDTH = stringToInteger(dualwnd.getXmlParam("minwidth"));
|
||||
dualwnd.setXmlParam("resizable", "0");
|
||||
dualwnd.setPosition(0);
|
||||
|
||||
box_tmr = new Timer;
|
||||
box_tmr.setDelay(1);
|
||||
}
|
||||
|
||||
System.onScriptUnloading ()
|
||||
{
|
||||
delete box_tmr;
|
||||
|
||||
int w = dualwnd.getPosition();
|
||||
if (w >= MIN_WIDTH)
|
||||
{
|
||||
setPrivateInt(getSkinName(), "gen_dropbox_poppler", w);
|
||||
}
|
||||
}
|
||||
#ifdef 0
|
||||
Global Boolean gettingclosed;
|
||||
|
||||
System.onGetCancelComponent (String guid, boolean goingvisible)
|
||||
{
|
||||
|
||||
if (guid != GUID_DROPBOX)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (goingvisible && !gettingclosed)
|
||||
{
|
||||
box_tmr.start();
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (gettingclosed)
|
||||
{
|
||||
gettingclosed = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
/*int w = dualwnd.getPosition();
|
||||
if (w >= MIN_WIDTH)
|
||||
{
|
||||
setPrivateInt(getSkinName(), "gen_dropbox_poppler", w);
|
||||
}
|
||||
dualwnd.setXmlParam("resizable", "0");
|
||||
dualwnd.setPosition(0);*/
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
RETURN FALSE;
|
||||
}
|
||||
|
||||
box_tmr.onTimer ()
|
||||
{
|
||||
box_tmr.stop();
|
||||
int w = getPrivateInt(getSkinName(), "gen_dropbox_poppler", 200);
|
||||
if (w < MIN_WIDTH)
|
||||
w = MIN_WIDTH;
|
||||
|
||||
dualwnd.setXmlParam("resizable", "1");
|
||||
|
||||
System.showWindow("{6B0EDF80-C9A5-11D3-9F26-00C04F39FFC6}", "", 0);
|
||||
//sui_window.sendAction("opentab", "ml", 0,0,0,0);
|
||||
|
||||
dualwnd.setPosition(w);
|
||||
dropbox.hide();
|
||||
dropbox_wdh.hide();
|
||||
//dropbox_wdh.setXMLParam("hold", "");
|
||||
dropbox_wdh.show();
|
||||
//dropbox_wdh.setXMLParam("hold", "@all@");
|
||||
dropbox.show();
|
||||
}
|
||||
|
||||
#ifdef USE_BIG_HACK
|
||||
|
||||
sui_window.onAction (String action, String param, Int x, int y, int p1, int p2, GuiObject source)
|
||||
{
|
||||
if (action == "callback")
|
||||
{
|
||||
if (param == "onbeforehidesui")
|
||||
{
|
||||
/*//dualwnd.setPosition(0);
|
||||
//dropbox.findObject("wdh").setXmlParam("relatw", "0");
|
||||
//dropbox.findObject("wdh").setXmlParam("w", "0");
|
||||
int i = dualwnd.getLeft() + dualwnd.getWidth();
|
||||
dualwnd.setShaded(dualwnd.clientToScreenX(dualwnd.getLeft() +dualwnd.getWidth()),dualwnd.clientToScreenX(dualwnd.getLeft() + dualwnd.getWidth()-dualwnd.getPosition()-4));
|
||||
debugInt(dualwnd.clientToScreenX(dualwnd.getLeft() +dualwnd.getWidth()));*/
|
||||
dropbox.hide();
|
||||
gettingclosed = true;
|
||||
//dualwnd.setPosition(0);
|
||||
}
|
||||
else if (param == "onshowsui")
|
||||
{
|
||||
//dualwnd.setPosition(200);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
main.onBeforeSwitchToLayout (Layout oldlayout, Layout newlayout)
|
||||
{
|
||||
if (newLayout.getID() == "shade")
|
||||
{
|
||||
dropbox.hide();
|
||||
gettingclosed = true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
BIN
Src/resources/skins/Big Bento/scripts/gen_dropbox.maki
Normal file
83
Src/resources/skins/Big Bento/scripts/hoverstimulate.m
Normal file
@ -0,0 +1,83 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: hoverstimulate.m
|
||||
Version: 1.0
|
||||
|
||||
Type: maki
|
||||
Date: 03. Jul. 2007 - 23:09
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#include <lib/std.mi>
|
||||
|
||||
Global Button mainButton;
|
||||
Global Layer overlay;
|
||||
Global Boolean mouseDown;
|
||||
Global String img_normal, img_hover, img_down, img_active;
|
||||
|
||||
System.onScriptLoaded ()
|
||||
{
|
||||
mainButton = getScriptGroup().findObject(getToken(getParam(), ";", 0));
|
||||
overlay = getScriptGroup().findObject(getToken(getParam(), ";", 1));
|
||||
img_normal = getToken(getParam(), ";", 2);
|
||||
img_hover = getToken(getParam(), ";", 3);
|
||||
img_down = getToken(getParam(), ";", 4);
|
||||
img_active = getToken(getParam(), ";", 5);
|
||||
}
|
||||
|
||||
mainButton.onSetVisible (Boolean onoff)
|
||||
{
|
||||
if (onoff)
|
||||
{
|
||||
overlay.show();
|
||||
}
|
||||
else
|
||||
{
|
||||
overlay.hide();
|
||||
}
|
||||
}
|
||||
|
||||
mainButton.onLeftButtonDown (int x, int y)
|
||||
{
|
||||
mouseDown = 1;
|
||||
if (img_down != "NULL") overlay.setXmlParam("image", img_down);
|
||||
}
|
||||
|
||||
mainButton.onLeftButtonUp (int x, int y)
|
||||
{
|
||||
mouseDown = 0;
|
||||
if (img_hover != "NULL" && !getActivated() && isMouseOverRect()) overlay.setXmlParam("image", img_hover);
|
||||
}
|
||||
|
||||
mainButton.onleaveArea ()
|
||||
{
|
||||
if (!getActivated())
|
||||
{
|
||||
if (img_normal != "NULL") overlay.setXmlParam("image", img_normal);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (img_active != "NULL") overlay.setXmlParam("image", img_active);
|
||||
}
|
||||
}
|
||||
|
||||
mainButton.onEnterArea ()
|
||||
{
|
||||
if (img_hover != "NULL") overlay.setXmlParam("image", img_hover);
|
||||
}
|
||||
|
||||
mainButton.onActivate (int activated)
|
||||
{
|
||||
if (activated)
|
||||
{
|
||||
if (img_active != "NULL") overlay.setXmlParam("image", img_active);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (img_normal != "NULL") overlay.setXmlParam("image", img_normal);
|
||||
}
|
||||
}
|
BIN
Src/resources/skins/Big Bento/scripts/hoverstimulate.maki
Normal file
99
Src/resources/skins/Big Bento/scripts/imagecontrol.m
Normal file
@ -0,0 +1,99 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: imagecontrol.m
|
||||
Version: 1.0
|
||||
|
||||
Type: maki
|
||||
Date: 29. Jun. 2007 - 12:28
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#include <lib/std.mi>
|
||||
#include <lib/config.mi>
|
||||
|
||||
Function updateAttrib ();
|
||||
Class ConfigAttribute ImageAttribute;
|
||||
|
||||
Global ImageAttribute a1, a2, a3, a4, a5, a6;
|
||||
Global String img1, img2, img3, img4, img5, img6;
|
||||
Global layer Display;
|
||||
Global boolean myChange;
|
||||
|
||||
System.onScriptLoaded ()
|
||||
{
|
||||
string param = getParam();
|
||||
|
||||
string objects = getToken(param, "|", 0);
|
||||
group scriptGroup = getScriptGroup();
|
||||
Display = scriptGroup.findObject(objects);
|
||||
|
||||
|
||||
int n = stringToInteger(getToken(param, "|", 1)) + 1;
|
||||
int i = 2;
|
||||
if (i <= n)
|
||||
{
|
||||
objects = getToken(param, "|", i);
|
||||
a1 = config.getItemByGuid(getToken(objects, ";", 0)).getattribute(getToken(objects, ";", 1));
|
||||
img1 = getToken(objects, ";", 2);
|
||||
i++;
|
||||
}
|
||||
if (i <= n)
|
||||
{
|
||||
objects = getToken(param, "|", i);
|
||||
a2 = config.getItemByGuid(getToken(objects, ";", 0)).getattribute(getToken(objects, ";", 1));
|
||||
img2 = getToken(objects, ";", 2);
|
||||
i++;
|
||||
}
|
||||
if (i <= n)
|
||||
{
|
||||
objects = getToken(param, "|", i);
|
||||
a3 = config.getItemByGuid(getToken(objects, ";", 0)).getattribute(getToken(objects, ";", 1));
|
||||
img3 = getToken(objects, ";", 2);
|
||||
i++;
|
||||
}
|
||||
if (i <= n)
|
||||
{
|
||||
objects = getToken(param, "|", i);
|
||||
a4 = config.getItemByGuid(getToken(objects, ";", 0)).getattribute(getToken(objects, ";", 1));
|
||||
img4 = getToken(objects, ";", 2);
|
||||
i++;
|
||||
}
|
||||
if (i <= n)
|
||||
{
|
||||
objects = getToken(param, "|", i);
|
||||
a5 = config.getItemByGuid(getToken(objects, ";", 0)).getattribute(getToken(objects, ";", 1));
|
||||
img5 = getToken(objects, ";", 2);
|
||||
i++;
|
||||
}
|
||||
if (i <= n)
|
||||
{
|
||||
objects = getToken(param, "|", i);
|
||||
a6 = config.getItemByGuid(getToken(objects, ";", 0)).getattribute(getToken(objects, ";", 1));
|
||||
img6 = getToken(objects, ";", 2);
|
||||
i++;
|
||||
}
|
||||
|
||||
updateAttrib ();
|
||||
}
|
||||
|
||||
ImageAttribute.onDataChanged ()
|
||||
{
|
||||
if (myChange) return;
|
||||
updateAttrib ();
|
||||
}
|
||||
|
||||
updateAttrib ()
|
||||
{
|
||||
myChange = 1;
|
||||
if (a1) if (a1.getData() == "1") Display.setXmlParam("image", img1);
|
||||
if (a2) if (a2.getData() == "1") Display.setXmlParam("image", img2);
|
||||
if (a3) if (a3.getData() == "1") Display.setXmlParam("image", img3);
|
||||
if (a4) if (a4.getData() == "1") Display.setXmlParam("image", img4);
|
||||
if (a5) if (a5.getData() == "1") Display.setXmlParam("image", img5);
|
||||
if (a6) if (a6.getData() == "1") Display.setXmlParam("image", img6);
|
||||
myChange = 0;
|
||||
}
|
BIN
Src/resources/skins/Big Bento/scripts/imagecontrol.maki
Normal file
44
Src/resources/skins/Big Bento/scripts/infoline.m
Normal file
@ -0,0 +1,44 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: infoline.m
|
||||
Version: 1.0
|
||||
|
||||
Type: maki
|
||||
Date: 06. Nov. 2007 - 22:40
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#include <lib/std.mi>
|
||||
|
||||
Global Text txt;
|
||||
Global Text label;
|
||||
Global Layer link;
|
||||
Global Group sg;
|
||||
Global Int shift = 0;
|
||||
|
||||
System.onScriptLoaded ()
|
||||
{
|
||||
sg = getScriptGroup();
|
||||
|
||||
txt = sg.getObject("text");
|
||||
label = sg.getObject("label");
|
||||
link = sg.getObject("link");
|
||||
}
|
||||
|
||||
System.onSetXuiParam (String param, String value)
|
||||
{
|
||||
if (strlower(param) == "shift") shift = stringToInteger(value);
|
||||
if (strlower(param) == "label") label.setText(value);
|
||||
if (strlower(param) == "link") link.setXmlparam("tooltip", value);
|
||||
}
|
||||
|
||||
label.onTextChanged (String newtxt)
|
||||
{
|
||||
int w = label.getAutoWidth() + shift;
|
||||
txt.setXmlParam("x", integerToString(w));
|
||||
txt.setXmlParam("w", integerToString(-w));
|
||||
}
|
BIN
Src/resources/skins/Big Bento/scripts/infoline.maki
Normal file
52
Src/resources/skins/Big Bento/scripts/lib/debug.m
Normal file
@ -0,0 +1,52 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: debug.m
|
||||
Version: 1.2
|
||||
|
||||
Type: maki/attrib loader
|
||||
Date: 29. Aug. 2006 - 23:43
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#ifndef included
|
||||
#error This script can only be compiled as a #include
|
||||
#endif
|
||||
|
||||
#ifndef DEBUG
|
||||
#define debugString //
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
#define DEBUG_PREFIX "["+ FILE_NAME +": " + getTimeStamp() + "] " +
|
||||
|
||||
Function String getTimeStamp();
|
||||
String getTimeStamp()
|
||||
{
|
||||
int msc = getTimeOfDay();
|
||||
int h = msc / 1000 / 3600;
|
||||
msc -= h * 1000 * 3600;
|
||||
int m = msc / 1000 / 60;
|
||||
msc -= m * 1000 * 60;
|
||||
int s = msc / 1000;
|
||||
msc -= s * 1000;
|
||||
string zeros = "";
|
||||
if (msc < 100)
|
||||
{
|
||||
zeros += "0";
|
||||
}
|
||||
if (msc < 10)
|
||||
{
|
||||
zeros += "0";
|
||||
}
|
||||
return integerToString(h)+":"+integerToString(m)+":"+integerToString(s)+"."+zeros+integerToString(msc);
|
||||
}
|
||||
|
||||
#define D_WTF 9
|
||||
#define D_NWTF 9
|
||||
|
||||
#endif
|
111
Src/resources/skins/Big Bento/scripts/lib/glow.m
Normal file
@ -0,0 +1,111 @@
|
||||
/*---------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
Filename: glow.m
|
||||
Version: 1.0
|
||||
|
||||
Type: maki/glow class
|
||||
Date: 16. Jun. 2007 - 23:13
|
||||
Author: Martin Poehlmann aka Deimos
|
||||
E-Mail: martin@skinconsortium.com
|
||||
Internet: www.skinconsortium.com
|
||||
www.martin.deimos.de.vu
|
||||
|
||||
Usage: 1: #include glow.m
|
||||
2: #define GLOW_OBJECT MyGlow
|
||||
3: call _MyGlow_GlowInit (someObj, otherObj)
|
||||
to init the objects.
|
||||
You can also call _MyGlow_GlowInit (NULL, otherObj)
|
||||
and load a bunch of GuiObjects in _MyGlow_GlowTrigger
|
||||
or load up to 5 objects via _MyGlow_addTarget(obj);
|
||||
|
||||
-----------------------------------------------------
|
||||
---------------------------------------------------*/
|
||||
|
||||
#ifndef included
|
||||
#error This script can only be compiled as a #include
|
||||
#endif
|
||||
|
||||
#ifndef GLOW_OBJECT
|
||||
#error GLOW_OBJECT not defined!
|
||||
#endif
|
||||
|
||||
Class GuiObject _##GLOW_OBJECT##_GlowTrigger;
|
||||
Global _##GLOW_OBJECT##_GlowTrigger _##GLOW_OBJECT##_trigger0, _##GLOW_OBJECT##_trigger1, _##GLOW_OBJECT##_trigger2, _##GLOW_OBJECT##_trigger3, _##GLOW_OBJECT##_trigger4, _##GLOW_OBJECT##_trigger5;
|
||||
Global GuiObject _##GLOW_OBJECT##_glow;
|
||||
Global float _##GLOW_OBJECT##_fdoutspeed;
|
||||
Global boolean _##GLOW_OBJECT##_mouseDown;
|
||||
|
||||
Function _##GLOW_OBJECT##_GlowInit (GuiObject triggerObject, GuiObject glowObject, float fdoutspeed);
|
||||
Function _##GLOW_OBJECT##_addTrigger (GuiObject triggerObject);
|
||||
|
||||
_##GLOW_OBJECT##_GlowInit (GuiObject triggerObject, GuiObject glowObject, float fdoutspeed)
|
||||
{
|
||||
if (triggerObject) _##GLOW_OBJECT##_trigger0 = triggerObject;
|
||||
if (glowObject) _##GLOW_OBJECT##_glow = glowObject;
|
||||
|
||||
_##GLOW_OBJECT##_fdoutspeed = fdoutspeed;
|
||||
}
|
||||
|
||||
_##GLOW_OBJECT##_addTrigger(GuiObject triggerObject)
|
||||
{
|
||||
if (triggerObject)
|
||||
{
|
||||
if (!_##GLOW_OBJECT##_trigger1)
|
||||
{
|
||||
_##GLOW_OBJECT##_trigger1 = triggerObject;
|
||||
return;
|
||||
}
|
||||
if (!_##GLOW_OBJECT##_trigger2)
|
||||
{
|
||||
_##GLOW_OBJECT##_trigger2 = triggerObject;
|
||||
return;
|
||||
}
|
||||
if (!_##GLOW_OBJECT##_trigger3)
|
||||
{
|
||||
_##GLOW_OBJECT##_trigger3 = triggerObject;
|
||||
return;
|
||||
}
|
||||
if (!_##GLOW_OBJECT##_trigger4)
|
||||
{
|
||||
_##GLOW_OBJECT##_trigger4 = triggerObject;
|
||||
return;
|
||||
}
|
||||
if (!_##GLOW_OBJECT##_trigger5)
|
||||
{
|
||||
_##GLOW_OBJECT##_trigger5 = triggerObject;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
_##GLOW_OBJECT##_GlowTrigger.onEnterArea ()
|
||||
{
|
||||
_##GLOW_OBJECT##_glow.cancelTarget();
|
||||
_##GLOW_OBJECT##_glow.setAlpha(255);
|
||||
}
|
||||
|
||||
_##GLOW_OBJECT##_GlowTrigger.onLeftButtonDown (int x, int y)
|
||||
{
|
||||
_##GLOW_OBJECT##_mouseDown = 1;
|
||||
_##GLOW_OBJECT##_glow.cancelTarget();
|
||||
_##GLOW_OBJECT##_glow.setAlpha(0);
|
||||
}
|
||||
|
||||
_##GLOW_OBJECT##_GlowTrigger.onLeftButtonUp (int x, int y)
|
||||
{
|
||||
_##GLOW_OBJECT##_mouseDown = 0;
|
||||
_##GLOW_OBJECT##_glow.cancelTarget();
|
||||
if (_##GLOW_OBJECT##_GlowTrigger.isMouseOverRect()) _##GLOW_OBJECT##_glow.setAlpha(255);
|
||||
}
|
||||
|
||||
_##GLOW_OBJECT##_GlowTrigger.onLeaveArea ()
|
||||
{
|
||||
if (_##GLOW_OBJECT##_mouseDown) return;
|
||||
_##GLOW_OBJECT##_glow.cancelTarget();
|
||||
_##GLOW_OBJECT##_glow.setTargetA(0);
|
||||
_##GLOW_OBJECT##_glow.setTargetX(_##GLOW_OBJECT##_glow.getGuiX());
|
||||
_##GLOW_OBJECT##_glow.setTargetSpeed(_##GLOW_OBJECT##_fdoutspeed);
|
||||
_##GLOW_OBJECT##_glow.gotoTarget();
|
||||
}
|
||||
|
||||
#undef GLOW_OBJECT
|