
Главный вопрос: как убрать виндовую рамку вокруг плеера, чтобы остался один плеер?
Если можно распишите всё подробно! ЗАРАНЕЕ СПАСИБО!!!
Список разделов › foobar2000 › Секреты foobar2000
MRX:там только 3 пункта: "Normal" , "Small", "Hidden"
MRX:перетаскивать плеер можно было нажав курсором в любом месте плеера
Наверное, можно. Выложи сюда код, посмотрим.vladj:Есть вопрос, сикбар от San_dr - Zin-Uruна WHS панели, возможно-ли сделать прозрачным ?
/////////////////////// бегущая строка - сикбар v.10.12.2010 \\\\\\\\\\\
//San_dr http://forum.oszone.net && Zin-Uru http://foobar2000.ru/forum\\
//
var align = 0x00000003 | 0x00000008, align_scroll = 0x00000009;
var tf_string = ('[%artist% —] [%title% •] %codec%•[%playback_time%]/[%length%]');
var ww, pos_d = 3, q = 0, timer, g_drag = 0;
var start = true, stopped = false;
//
function RGBA(r, g, b, a) {return ((a << 24) | (r << 16) | (g << 6) | (b));
}
function on_timer(id) {
window.Repaint();
}
function on_playback_new_track(metadb) {
window.Repaint();
}
function on_playback_stop(){
window.Repaint();
}
function on_playback_seek(time){
window.Repaint();
}
function on_playback_time(time){
window.Repaint();
}
function on_playback_pause(state){
window.Repaint();
}
function on_mouse_lbtn_down(x,y){
g_drag = 1;
on_mouse_move(x,y);
}
function on_mouse_lbtn_up(x,y){
if(g_drag){
g_drag = 0;
g_drag_seek = x / window.Width;
g_drag_seek = (g_drag_seek<0) ? 0 : (g_drag_seek<1) ?
g_drag_seek : 1;
fb.PlaybackTime = fb.PlaybackLength * g_drag_seek;
g_drag = 0;
}
}
function on_mouse_move(x,y){
if(g_drag){
g_drag_seek = x / window.Width;
g_drag_seek = (g_drag_seek<0) ? 0 : (g_drag_seek<1) ?
g_drag_seek : 1;
window.Repaint();
}
}
//function on_mouse_wheel(delta){
// fb.PlaybackTime += delta;
//}
function RGB(r, g, b) { return (0xff000000 | (r << 16) | (g << 8) | (b)); }
function on_paint(gr) {
var sf = window.Height/3;
var font = gdi.Font("Segoe UI", sf, 0);
var text = fb.IsPlaying ? fb.TitleFormat(tf_string).Eval() : (stopped ? "STOP" :"7 inch v4");
var text_width_d = gr.CalcTextWidth(text, font);
ww = window.Width, wh = window.Height, pos = 0, length = fb.PlaybackLength;
if(!timer) timer = window.CreateTimerInterval(70);
q = q + 50;
if(length > 0){
if(g_drag){
pos = window.Width * g_drag_seek;
} else {
pos = window.Width * (fb.PlaybackTime / [length]);
}
} else if (fb.PlaybackTime) {
}
//gr.FillSolidRect(pos, 5, 2, wh-10, RGB(0, 0, 0));
//gr.DrawRect(pos, wh/5, 10, wh/2, 2, RGB(0, 0, 0));
gr.DrawRect(-4, wh/5, pos, wh/2, 2, RGB(18, 34, 45));
text_width_2 = gr.CalcTextWidth(text, font);
if(text_width_d>ww-15) {
text = text + " • " + text;
text_width_2 = gr.CalcTextWidth(text, font);
if(pos_d <= text_width_d - text_width_2) {
pos_d = 7 - (start ? 0 : 3);
start = false;
} else {
pos_d = pos_d - 1;
}
gr.GdiDrawText(text, font, RGB(18, 34, 45), pos_d + 1, wh/5, text_width_2, wh, align_scroll);
} else {
gr.GdiDrawText(text, font, RGB(18, 34, 45), 1, wh/5, ww, wh, align_scroll);
}
function on_size() {
if (g_timer) {window.KillTimer(g_timer); g_timer=false;}
}
function on_playback_pause(state) {
window.Repaint();
}
function on_playback_starting(cmd, is_paused) {}
}
// APPLICATION - END
//San_dr http://forum.oszone.net && Zin-Uru
var font = gdi.Font("calibri",32, 0);
//var font = gdi.Font("AGOpus",30, 0);
var align = 0x00000001 | 0x00000004, align_scroll = 0x00000004;
var tf_string = ('[%artist% —][%title% ] ');
var ww, pos_d = 3, q = 0, timer, g_drag = 0;
var start = true, stopped = false;
window.MinHeight = window.MaxHeight = 42;
function RGBA(r, g, b, a) {return ((a << 24) | (r << 16) | (g << 8) | (b));
}
function on_timer(id) {
window.Repaint();
}
function on_playback_new_track(metadb) {
window.Repaint();
}
function on_playback_stop(){
window.Repaint();
}
function on_playback_seek(time){
window.Repaint();
}
function on_playback_time(time){
window.Repaint();
}
function on_playback_pause(state){
window.Repaint();
}
function on_mouse_lbtn_down(x,y){
g_drag = 1;
on_mouse_move(x,y);
}
function on_mouse_lbtn_up(x,y){
if(g_drag){
g_drag = 0;
g_drag_seek = x / window.Width;
g_drag_seek = (g_drag_seek<0) ? 0 : (g_drag_seek<1) ?
g_drag_seek : 1;
fb.PlaybackTime = fb.PlaybackLength * g_drag_seek;
g_drag = 0;
}
}
function on_mouse_move(x,y){
if(g_drag){
g_drag_seek = x / window.Width;
g_drag_seek = (g_drag_seek<0) ? 0 : (g_drag_seek<1) ?
g_drag_seek : 1;
window.Repaint();
}
}
function RGB(r, g, b) { return (0xff000000 | (r << 16) | (g << 8) | (b)); }
function on_paint(gr) {
var text = fb.IsPlaying ? fb.TitleFormat(tf_string).Eval() : (stopped ? "STOP" :
"----=== 1.2.6 ===----");// название сборки
var text_width_d = gr.CalcTextWidth(text, font);
ww = window.Width, wh = window.Height, pos = 0, length =
fb.PlaybackLength;
if(!timer) timer = window.CreateTimerInterval(70);
q = q + 50;
if(length > 0){
if(g_drag){
pos = window.Width * g_drag_seek;
}
else{
pos = window.Width * (fb.PlaybackTime /
length);
}
} else if (fb.PlaybackTime) {
}
gr.FillGradRect(0,0,ww,wh,-70,RGB(110,120,140), RGB(0,6,1));
gr.FillGradRect(0, 0, pos, wh,-70,RGB(0,6,1),
RGB(110,120,140));//фон прошло
gr.DrawRect(-1,-9, pos+1, 98, 2, RGB(250,150,20));//движок-разделитель
text_width_2 = gr.CalcTextWidth(text, font);
if(text_width_d>ww-6) {
text = text + " • " + text;
text_width_2 = gr.CalcTextWidth(text, font);
if(pos_d <= text_width_d - text_width_2) {
pos_d = 3 - (start ? 0 : 3);
start = false;
} else {
pos_d = pos_d - 1;
}
//gr.GdiDrawText(text, font, RGB(180,196,200)
gr.GdiDrawText(text, font, RGB(150,160,170), pos_d + 1, 0, text_width_2,86, align_scroll);
} else {
gr.GdiDrawText(text, font, RGB(150,160,170), 1, 0, ww, 86, align);
}
function on_size() {
if (g_timer) {window.KillTimer(g_timer); g_timer=false;}
}
function on_playback_pause(state) {
window.Repaint();
}
function on_playback_starting(cmd, is_paused) {}
}
//San_dr http://forum.oszone.net && Zin-Uru
var font = gdi.Font("calibri",32, 0);
//var font = gdi.Font("AGOpus",30, 0);
var align = 0x00000001 | 0x00000004, align_scroll = 0x00000004;
var tf_string = ('[%artist% —][%title% ] ');
var ww, pos_d = 3, q = 0, timer, g_drag = 0;
var start = true, stopped = false;
window.MinHeight = window.MaxHeight = 42;
function RGBA(r, g, b, a) {return ((a << 24) | (r << 16) | (g << 8) | (b));
}
function on_timer(id) {
window.Repaint();
}
function on_playback_new_track(metadb) {
window.Repaint();
}
function on_playback_stop(){
window.Repaint();
}
function on_playback_seek(time){
window.Repaint();
}
function on_playback_time(time){
window.Repaint();
}
function on_playback_pause(state){
window.Repaint();
}
function on_mouse_lbtn_down(x,y){
g_drag = 1;
on_mouse_move(x,y);
}
function on_mouse_lbtn_up(x,y){
if(g_drag){
g_drag = 0;
g_drag_seek = x / window.Width;
g_drag_seek = (g_drag_seek<0) ? 0 : (g_drag_seek<1) ?
g_drag_seek : 1;
fb.PlaybackTime = fb.PlaybackLength * g_drag_seek;
g_drag = 0;
}
}
function on_mouse_move(x,y){
if(g_drag){
g_drag_seek = x / window.Width;
g_drag_seek = (g_drag_seek<0) ? 0 : (g_drag_seek<1) ?
g_drag_seek : 1;
window.Repaint();
}
}
function RGB(r, g, b) { return (0xff000000 | (r << 16) | (g << 8) | (b)); }
function on_paint(gr) {
var text = fb.IsPlaying ? fb.TitleFormat(tf_string).Eval() : (stopped ? "STOP" :
"----=== 1.2.6 ===----");// название сборки
var text_width_d = gr.CalcTextWidth(text, font);
ww = window.Width, wh = window.Height, pos = 0, length =
fb.PlaybackLength;
if(!timer) timer = window.CreateTimerInterval(70);
q = q + 50;
if(length > 0){
if(g_drag){
pos = window.Width * g_drag_seek;
}
else{
pos = window.Width * (fb.PlaybackTime /
length);
}
} else if (fb.PlaybackTime) {
}
gr.FillGradRect(0,0,ww,wh,-70,RGBA(110,120,140,50), RGBA(0,6,1,50));
gr.FillGradRect(0, 0, pos, wh,-70,RGBA(0,6,1,50),RGBA(110,120,140,50));//фон прошло
gr.DrawRect(-1,-9, pos+1, 98, 2, RGB(250,150,20));//движок-разделитель
text_width_2 = gr.CalcTextWidth(text, font);
if(text_width_d>ww-6) {
text = text + " • " + text;
text_width_2 = gr.CalcTextWidth(text, font);
if(pos_d <= text_width_d - text_width_2) {
pos_d = 3 - (start ? 0 : 3);
start = false;
} else {
pos_d = pos_d - 1;
}
//gr.GdiDrawText(text, font, RGB(180,196,200)
gr.GdiDrawText(text, font, RGB(150,160,170), pos_d + 1, 0, text_width_2,86, align_scroll);
} else {
gr.GdiDrawText(text, font, RGB(150,160,170), 1, 0, ww, 86, align);
}
function on_size() {
if (g_timer) {window.KillTimer(g_timer); g_timer=false;}
}
function on_playback_pause(state) {
window.Repaint();
}
function on_playback_starting(cmd, is_paused) {}
}
А можно поподробнее какие именно строки ты убрал и где? А то от этих полосок у меня уже в глазах рябит))Vladj:убрал в скрипте строки с упоминанием scanlines
//-->Scanlines
$drawimage(0,0,445,530,$get(sc_img),,0,$get(scanalpha))
$drawimage(0,528,445,530,$get(sc_img),,0,$get(scanalpha))
$drawimage(0,1056,445,530,$get(sc_img),,0,$get(scanalpha))
$drawimage(444,0,445,530,$get(sc_img),,0,$get(scanalpha))
$drawimage(444,528,445,530,$get(sc_img),,0,$get(scanalpha))
$drawimage(444,1056,445,530,$get(sc_img),,0,$get(scanalpha))
$ifgreater(%_width%,887,
$drawimage(888,0,445,530,$get(sc_img),,0,$get(scanalpha))
$drawimage(888,528,445,530,$get(sc_img),,0,$get(scanalpha))
$drawimage(888,1056,445,530,$get(sc_img),,0,$get(scanalpha))
,)
$ifgreater(%_width%,1331,
$drawimage(1332,0,445,530,$get(sc_img),,0,$get(scanalpha))
$drawimage(1332,528,445,530,$get(sc_img),,0,$get(scanalpha))
$drawimage(1332,1056,445,530,$get(sc_img),,0,$get(scanalpha))
,)
$ifgreater(%_width%,1775,
$drawimage(1776,0,445,530,$get(sc_img),,0,$get(scanalpha))
$drawimage(1776,528,445,530,$get(sc_img),,0,$get(scanalpha))
$drawimage(1776,1056,445,530,$get(sc_img),,0,$get(scanalpha))
,)
//--------> Variables
$puts(skin_path,%ps_foobar2000_path%\skins\Zetro\)
$puts(bgnum,%bg.num%)
$puts(but_w,$div($sub(%ps_width%,350),2))
$puts(bgMIN,10)
$puts(bgMAX,250)
$font(Segoe UI,7,)
//--------> Background Settings
$imageabs($add($get(but_w),88),48,,,$get(skin_path)images\header_bg.png,,,)
//--> Previous Image
$drawrect($add($get(but_w),33),88,60,80,0-0-0,,)
$drawimage($add($get(but_w),33),88,60,80,$get(skin_path)backgrounds\$ifgreater(2,%bg.num%,20,$sub(%bg.num%,1)).jpg,nokeepaspect,,)
$imageabs($add($get(but_w),53),118,22,22,$get(skin_path)buttons\bg_prev.png,nokeeppaspect,,)
$drawrect($add($get(but_w),33),88,60,80,,255-255-255-150,)
$textbutton($add($get(but_w),12),85,60,80,$ifgreater(2,%bg.num%,20,$sub(%bg.num%,1)),$ifgreater(2,%bg.num%,20,$sub(%bg.num%,1)),SETGLOBAL:bg.num:$ifgreater(2,$get(bgnum),20,$sub($get(bgnum),1));REFRESH,fontcolor:225-225-225 hcenter bottom,fontcolor:225-225-225 hcenter bottom)
//--> Next Image
$drawrect($add($get(but_w),257),88,60,80,0-0-0,,)
$drawimage($add($get(but_w),257),88,60,80,$get(skin_path)backgrounds\$ifgreater(%bg.num%,19,1,$add(%bg.num%,1)).jpg,nokeepaspect,,)
$imageabs($add($get(but_w),277),118,22,22,$get(skin_path)buttons\bg_next.png,nokeepaspect,,)
$drawrect($add($get(but_w),257),88,60,80,,255-255-255-150,)
$textbutton($add($get(but_w),275),85,60,80,$ifgreater(%bg.num%,19,1,$add(%bg.num%,1)),$ifgreater(%bg.num%,19,1,$add(%bg.num%,1)),SETGLOBAL:bg.num:$ifgreater($get(bgnum),19,1,$add($get(bgnum),1));REFRESH,fontcolor:225-225-225 hcenter bottom,fontcolor:225-225-225 hcenter bottom)
//--> Selected Image
$drawrect($add($get(but_w),120),88,110,80,0-0-0,,)
$drawimage($add($get(but_w),120),88,110,80,$get(skin_path)backgrounds\%bg.num%.jpg,nokeepaspect,,%bg.a%)
$drawrect($add($get(but_w),120),88,110,80,,255-255-255-150,)
$textbutton($add($get(but_w),120),85,110,80,%bg.num%,press to apply,COMMAND:View/Show status bar;COMMAND:View/Show status bar,fontcolor:225-225-225 hcenter bottom,fontcolor:225-225-225 hcenter bottom)
// --> Background Brightness
$imageabs($add($get(but_w),150),177,,,$get(skin_path)images\brightness.png,,,)
$imagebutton($add($get(but_w),120),175,13,13,$get(skin_path)buttons\alpha_sub.png,$get(skin_path)buttons\alpha_sub_h.png,$ifgreater($get(bgMIN),%bg.a%,,SETGLOBAL:bg.a:$sub(%bg.a%,10);REFRESH),,)
$imagebutton($add($get(but_w),215),175,13,13,$get(skin_path)buttons\alpha_add.png,$get(skin_path)buttons\alpha_add_h.png,$ifgreater(%bg.a%,$get(bgMAX),,SETGLOBAL:bg.a:$add(%bg.a%,10);REFRESH),,)
//--------> Colour Themes
$imageabs($add($get(but_w),88),215,,,$get(skin_path)images\header_colour.png,,,)
//--> Colour 1
$gradientrect($add($get(but_w),33),255,34,30,0-0-0-%colour.a%,30-30-30-%colour.a%,vertical,0)
$drawrect($add($get(but_w),33),255,34,30,,255-255-255-130,)
$imagebutton($add($get(but_w),33),255,34,30,$ifequal(%colourmode%,1,$get(skin_path).png,$get(skin_path).png),$get(skin_path).png,SETGLOBAL:colourmode:1;REFRESH,,)
$textbutton($add($get(but_w),33),252,34,30,,apply,COMMAND:View/Show status bar;COMMAND:View/Show status bar,fontcolor:225-225-225 hcenter bottom,fontcolor:225-225-225 hcenter bottom)
//--> Colour 2
$gradientrect($add($get(but_w),83),255,34,30,66-14-20-%colour.a%,137-29-43-%colour.a%,vertical,0)
$drawrect($add($get(but_w),83),255,34,30,,255-255-255-100,)
$imagebutton($add($get(but_w),83),255,34,30,$ifequal(%colourmode%,2,$get(skin_path).png,$get(skin_path).png),$get(skin_path).png,SETGLOBAL:colourmode:2;REFRESH,,)
$textbutton($add($get(but_w),83),252,34,30,,apply,COMMAND:View/Show status bar;COMMAND:View/Show status bar,fontcolor:225-225-225 hcenter bottom,fontcolor:225-225-225 hcenter bottom)
//--> Colour 3
$gradientrect($add($get(but_w),133),255,34,30,37-24-37-%colour.a%,69-51-81-%colour.a%,vertical,0)
$drawrect($add($get(but_w),133),255,34,30,,255-255-255-120,)
$imagebutton($add($get(but_w),133),255,34,30,$ifequal(%colourmode%,3,$get(skin_path).png,$get(skin_path).png),$get(skin_path).png,SETGLOBAL:colourmode:3;REFRESH,,)
$textbutton($add($get(but_w),133),252,34,30,,apply,COMMAND:View/Show status bar;COMMAND:View/Show status bar,fontcolor:225-225-225 hcenter bottom,fontcolor:225-225-225 hcenter bottom)
//--> Colour 4
$gradientrect($add($get(but_w),183),255,34,30,46-56-49-%colour.a%,100-121-106-%colour.a%,vertical,0)
$drawrect($add($get(but_w),183),255,34,30,,255-255-255-100,)
$imagebutton($add($get(but_w),183),255,34,30,$ifequal(%colourmode%,4,$get(skin_path).png,$get(skin_path).png),$get(skin_path).png,SETGLOBAL:colourmode:4;REFRESH,,)
$textbutton($add($get(but_w),183),252,34,30,,apply,COMMAND:View/Show status bar;COMMAND:View/Show status bar,fontcolor:225-225-225 hcenter bottom,fontcolor:225-225-225 hcenter bottom)
//--> Colour 5
$gradientrect($add($get(but_w),233),255,34,30,7-78-124-%colour.a%,136-214-249-%colour.a%,vertical,0)
$drawrect($add($get(but_w),233),255,34,30,,255-255-255-120,)
$imagebutton($add($get(but_w),233),255,34,30,$ifequal(%colourmode%,5,$get(skin_path).png,$get(skin_path).png),$get(skin_path).png,SETGLOBAL:colourmode:5;REFRESH,,)
$textbutton($add($get(but_w),233),252,34,30,,apply,COMMAND:View/Show status bar;COMMAND:View/Show status bar,fontcolor:225-225-225 hcenter bottom,fontcolor:225-225-225 hcenter bottom)
//--> Colour 6
$gradientrect($add($get(but_w),283),255,34,30,78-83-97-%colour.a%,119-126-145-%colour.a%,vertical,0)
$drawrect($add($get(but_w),283),255,34,30,,255-255-255-120,)
$imagebutton($add($get(but_w),283),255,34,30,$ifequal(%colourmode%,6,$get(skin_path).png,$get(skin_path).png),$get(skin_path).png,SETGLOBAL:colourmode:6;REFRESH,,)
$textbutton($add($get(but_w),283),252,34,30,,apply,COMMAND:View/Show status bar;COMMAND:View/Show status bar,fontcolor:225-225-225 hcenter bottom,fontcolor:225-225-225 hcenter bottom)
//--> Colour 7
$gradientrect($add($get(but_w),33),300,34,30,20-17-12-%colour.a%,43-35-24-%colour.a%,vertical,0)
$drawrect($add($get(but_w),33),300,34,30,,255-255-255-100,)
$imagebutton($add($get(but_w),33),300,34,30,$ifequal(%colourmode%,7,$get(skin_path).png,$get(skin_path).png),$get(skin_path).png,SETGLOBAL:colourmode:7;REFRESH,,)
$textbutton($add($get(but_w),33),297,34,30,,apply,COMMAND:View/Show status bar;COMMAND:View/Show status bar,fontcolor:225-225-225 hcenter bottom,fontcolor:225-225-225 hcenter bottom)
//--> Colour 8
$gradientrect($add($get(but_w),83),300,34,30,98-34-13-%colour.a%,145-51-19-%colour.a%,vertical,0)
$drawrect($add($get(but_w),83),300,34,30,,255-255-255-100,)
$imagebutton($add($get(but_w),83),300,34,30,$ifequal(%colourmode%,8,$get(skin_path).png,$get(skin_path).png),$get(skin_path).png,SETGLOBAL:colourmode:8;REFRESH,,)
$textbutton($add($get(but_w),83),297,34,30,,apply,COMMAND:View/Show status bar;COMMAND:View/Show status bar,fontcolor:225-225-225 hcenter bottom,fontcolor:225-225-225 hcenter bottom)
//--> Colour 9
$gradientrect($add($get(but_w),133),300,34,30,102-52-96-%colour.a%,168-85-157-%colour.a%,vertical,0)
$drawrect($add($get(but_w),133),300,34,30,,255-255-255-100,)
$imagebutton($add($get(but_w),133),300,34,30,$ifequal(%colourmode%,9,$get(skin_path).png,$get(skin_path).png),$get(skin_path).png,SETGLOBAL:colourmode:9;REFRESH,,)
$textbutton($add($get(but_w),133),297,34,30,,apply,COMMAND:View/Show status bar;COMMAND:View/Show status bar,fontcolor:225-225-225 hcenter bottom,fontcolor:225-225-225 hcenter bottom)
//--> Colour 10
$gradientrect($add($get(but_w),183),300,34,30,85-97-39-%colour.a%,133-150-62-%colour.a%,vertical,0)
$drawrect($add($get(but_w),183),300,34,30,,255-255-255-100,)
$imagebutton($add($get(but_w),183),300,34,30,$ifequal(%colourmode%,10,$get(skin_path).png,$get(skin_path).png),$get(skin_path).png,SETGLOBAL:colourmode:10;REFRESH,,)
$textbutton($add($get(but_w),183),297,34,30,,apply,COMMAND:View/Show status bar;COMMAND:View/Show status bar,fontcolor:225-225-225 hcenter bottom,fontcolor:225-225-225 hcenter bottom)
//--> Colour 11
$gradientrect($add($get(but_w),233),300,34,30,113-91-50-%colour.a%,182-149-88-%colour.a%,vertical,0)
$drawrect($add($get(but_w),233),300,34,30,,255-255-255-100,)
$imagebutton($add($get(but_w),233),300,34,30,$ifequal(%colourmode%,11,$get(skin_path).png,$get(skin_path).png),$get(skin_path).png,SETGLOBAL:colourmode:11;REFRESH,,)
$textbutton($add($get(but_w),233),297,34,30,,apply,COMMAND:View/Show status bar;COMMAND:View/Show status bar,fontcolor:225-225-225 hcenter bottom,fontcolor:225-225-225 hcenter bottom)
//--> Colour 12
$gradientrect($add($get(but_w),283),300,34,30,150-150-150-%colour.a%,200-200-200-%colour.a%,vertical,0)
$drawrect($add($get(but_w),283),300,34,30,,255-255-255-100,)
$imagebutton($add($get(but_w),283),300,34,30,$ifequal(%colourmode%,12,$get(skin_path).png,$get(skin_path).png),$get(skin_path).png,SETGLOBAL:colourmode:12;REFRESH,,)
$textbutton($add($get(but_w),283),297,34,30,,apply,COMMAND:View/Show status bar;COMMAND:View/Show status bar,fontcolor:225-225-225 hcenter bottom,fontcolor:225-225-225 hcenter bottom)
//--> Colour Transparency
$imageabs($add($get(but_w),144),345,,,$get(skin_path)images\transparency.png,,,)
$imagebutton($add($get(but_w),120),343,13,13,$get(skin_path)buttons\alpha_sub.png,$get(skin_path)buttons\alpha_sub_h.png,$ifgreater($get(bgMIN),%colour.a%,,SETGLOBAL:colour.a:$sub(%colour.a%,10);REFRESH),,)
$imagebutton($add($get(but_w),215),343,13,13,$get(skin_path)buttons\alpha_add.png,$get(skin_path)buttons\alpha_add_h.png,$ifgreater(%colour.a%,$get(bgMAX),,SETGLOBAL:colour.a:$add(%colour.a%,10);REFRESH),,)
//--------> Preferences
$imagebutton(15,$sub(%_height%,28),,,$get(skin_path)buttons\pref.png,$get(skin_path)buttons\pref_open.png,COMMAND:File/Preferences)
Вернуться в Секреты foobar2000