Код:
// ***GENERAL SETTINGS 1***
$imageabs($sub($div(%ps_width%,1),1200),0,1200,289,%ps_foobar2000_path%\themes\Denon\Denon1.png)
$if(%ps_isplaying%,
$imageabs(747,168,94,38,$get_ps_global(ThemePath)\Button\Play.png)
$imageabs(720,102,38,13,$get_ps_global(ThemePath)\lplay.png)
)
$if(%ps_ispause%,
$imageabs(514,167,65,38,$get_ps_global(ThemePath)\Button\Pause.png)
$imageabs(766,102,38,13,$get_ps_global(ThemePath)\lpause.png)
)
$if($or(%ps_isplaying%,%ps_ispause%),,
$imageabs(650,167,94,38,$get_ps_global(ThemePath)\Button\Stop.png)
$imageabs(675,102,38,13,$get_ps_global(ThemePath)\lstop.png)
$font(Series 60 ZDigi,20,)
$drawtext(0:00,543,104,100,30,128-203-255)
//$font(Darkone,14,)
//$drawtext($upper(%artist% • %title% • %codec% • %bitrate% кбит/с),543,35,400,23,128-230-255)
)
$ifequal(%Minimize%,1,
$imageabs(929,246,47,13,$get_ps_global(ThemePath)\Button\Minimize.png),
)
$imagebutton(48,74,63,49,$get_ps_global(ThemePath)\Button\Power.png,$get_ps_global(ThemePath)\Button\Power_Red.png,COMMAND:Файл/Выход)
$imagebutton(48,178,63,27,,$get_ps_global(ThemePath)\Button\Open.png,COMMAND:Файл/Добавить папку...)
$imagebutton(514,167,65,38,,$get_ps_global(ThemePath)\Button\Pause.png,COMMAND:Воспроизведение/Воспроизвести или приостановить)
$imagebutton(582,167,64,38,,$get_ps_global(ThemePath)\Button\Record.png,COMMAND:)
$imagebutton(650,167,94,38,,$get_ps_global(ThemePath)\Button\Stop.png,COMMAND:Воспроизведение/Остановить)
$imagebutton(747,167,94,38,,$get_ps_global(ThemePath)\Button\Play.png,COMMAND:Воспроизведение/Воспроизвести)
$imagebutton(844,167,65,38,,$get_ps_global(ThemePath)\Button\Prev.png,COMMAND:Воспроизведение/Предыдущий трек)
$imagebutton(912,167,64,38,,$get_ps_global(ThemePath)\Button\Next.png,COMMAND:Воспроизведение/Следующий трек)
$imagebutton(1063,178,44,27,,$get_ps_global(ThemePath)\Button\Mute.png,COMMAND:Воспроизведение/Уровень громкости/Отключение звука)
$imagebutton(576,246,48,13,,$get_ps_global(ThemePath)\Button\Options.png,COMMAND:Файл/Настройки)
$imagebutton(641,246,47,13,,$get_ps_global(ThemePath)\Button\Playlist.png,COMMAND:Библиотека/Список альбомов)
$imagebutton(704,246,47,13,,$get_ps_global(ThemePath)\Button\Shuffle.png,COMMAND:Воспроизведение/Случайный трек)
$imagebutton(768,246,46,13,,$get_ps_global(ThemePath)\Button\Repeat.png,COMMAND:Playback/Control/Repeat current once ) // нужен компонент foo_stopafteralbum.dll
$imagebutton(866,246,48,13,,$get_ps_global(ThemePath)\Button\Stayontop.png,COMMAND:Вид/Поверх всех окон)
$imagebutton(929,246,47,13,,$get_ps_global(ThemePath)\Button\Minimize.png,
$ifequal(%Minimize%,1,
SETGLOBAL:Minimize:0;
REFRESH;
WINDOWSIZE:1200:650,
SETGLOBAL:Minimize:1;
REFRESH;
WINDOWSIZE:1200:289)
)