Автор: vadimsva
Дата сообщения: 17.03.2010 17:05
Xant1k
[more]
//-------------------Original by Fanco86---------------------
//----------------fanco86.deviantart.com-------------------
//----------------------------------------------------------------
//------------------Modified by Sparanoid--------------------
//-----------------------sparanoid.com------------------------
$set_ps_global(skin_path,%ps_foobar2000_path%\skin\mono_lite_2)
//New Style
$drawrect(0,$sub(%_height%,36),%_width%,70,30-30-30,,)
$gradientrect(0,20,%_width%,10,220-220-220-0,205-205-205,)
$drawrect(0,29,%_width%,1,180-180-180,180-180-180)
$drawrect(0,30,%ps_width%,1,255-255-255,255-255-255)
//Playlist button
$if($isvisible_c(Library Panel),
$movepanel_c(ELPlaylist,180,30,$sub(%_width%,180),$sub(%_height%,66))
$imagebutton(4,5,24,24,$get_ps_global(skin_path)\list_toggle_on.png,$get_ps_global(skin_path)\list_toggle_on.png,PANELSHOW:Library Panel:0;PANELSHOW:Filter Panel:1;REFRESH,,),
$if($isvisible_c(Filter Panel),
$imagebutton(4,5,24,24,$get_ps_global(skin_path)\list_toggle_on.png,$get_ps_global(skin_path)\list_toggle_on.png,PANELSHOW:Filter Panel:0;REFRESH,,),
$movepanel_c(ELPlaylist,0,30,%_width%,$sub(%_height%,66))
$imagebutton(4,5,24,24,$get_ps_global(skin_path)\list_toggle.png,$get_ps_global(skin_path)\list_toggle_on.png,PANELSHOW:Library Panel:1;REFRESH,,)
))
//Tab stack
$if($isvisible_c(ELPlaylist),
$imagebutton(30,6,64,24,$get_ps_global(skin_path)\library_on.png,$get_ps_global(skin_path)\library_on.png,REFRESH;COMMAND:View/Columns playlist/Activate now playing,,),
$imagebutton(30,6,64,24,$get_ps_global(skin_path)\library.png,$get_ps_global(skin_path)\library_h.png,PANELSHOW:ELPlaylist:1;PANELSHOW:Lyric Show 2:0;PANELSHOW:Biography:0;PANELSHOW:Playing:0;COMMAND:View/Columns playlist/Activate now playing;REFRESH,,)
)
$if($isvisible_c(Playing),
$imagebutton(100,6,64,24,$get_ps_global(skin_path)\playing_on.png,$get_ps_global(skin_path)\playing_on.png,REFRESH,,),
$imagebutton(100,6,64,24,$get_ps_global(skin_path)\playing.png,$get_ps_global(skin_path)\playing_h.png,PANELSHOW:ELPlaylist:0;PANELSHOW:Lyric Show 2:0;PANELSHOW:Biography:0;PANELSHOW:Playing:1;COMMAND:View/Columns playlist/Activate now playing;REFRESH,,)
)
//$if($isvisible_c(Lyric Show 2),
//$imagebutton(170,6,64,24,$get_ps_global(skin_path)\lyrics_on.png,$get_ps_global(skin_path)\lyrics_on.png,REFRESH,,),
//$imagebutton(170,6,64,24,$get_ps_global(skin_path)\lyrics.png,$get_ps_global(skin_path)\lyrics_h.png,PANELSHOW:ELPlaylist:0;PANELSHOW:Lyric Show 2:1;PANELSHOW:Biography:0;PANELSHOW:Playing:0;COMMAND:View/Columns playlist/Activate now playing;REFRESH,,)
//)
//$if($isvisible_c(Playing),
//$imagebutton(240,6,64,24,$get_ps_global(skin_path)\playing_on.png,$get_ps_global(skin_path)\playing_on.png,REFRESH,,),
//$imagebutton(240,6,64,24,$get_ps_global(skin_path)\playing.png,$get_ps_global(skin_path)\playing_h.png,PANELSHOW:ELPlaylist:0;PANELSHOW:Lyric Show 2:0;PANELSHOW:Biography:0;PANELSHOW:Playing:1;COMMAND:View/Columns playlist/Activate now playing;REFRESH,,)
//)
//$imagebutton($sub(%_width%,100),6,20,18,$get_ps_global(skin_path)\add.png,$get_ps_global(skin_path)\add.png,COMMAND:File/Add Files...)
//$imagebutton($sub(%_width%,80),6,19,18,$get_ps_global(skin_path)\remove.png,$get_ps_global(skin_path)\remove.png,COMMAND:Edit/Selection/Remove)
//$imagebutton($ifgreater(%_width%,404,$sub(%_width%,100),%_width%),6,20,18,$get_ps_global(skin_path)\menu2.png,$get_ps_global(skin_path)\menu.png,COMMAND:View/Show toolbars)
$imagebutton($ifgreater(%_width%,350,$sub(%_width%,50),%_width%),6,20,18,$get_ps_global(skin_path)\collapse.png,$get_ps_global(skin_path)\collapse.png,COMMAND:View/ELPlaylist/Collapse all groups)
$imagebutton($ifgreater(%_width%,350,$sub(%_width%,30),%_width%),6,19,18,$get_ps_global(skin_path)\expand.png,$get_ps_global(skin_path)\expand.png,COMMAND:View/ELPlaylist/Expand all groups)
$if($or($not(%ps_isplaying%),%ps_ispause%),
$imagebutton(41,$sub(%_height%,30),,,$get_ps_global(skin_path)\play.png,$get_ps_global(skin_path)\play_h.png,COMMAND:Playback/Play or Pause),
$imagebutton(41,$sub(%_height%,30),,,$get_ps_global(skin_path)\pause.png,$get_ps_global(skin_path)\pause_h.png,COMMAND:Playback/Play or Pause))
$imagebutton(12,$sub(%_height%,29),,,$get_ps_global(skin_path)\prev.png,$get_ps_global(skin_path)\prev_h.png,COMMAND:Playback/Previous)
$imagebutton(71,$sub(%_height%,29),,,$get_ps_global(skin_path)\next.png,$get_ps_global(skin_path)\next_h.png,COMMAND:Playback/Next)
//$imagebutton($sub(%_width%,56),$sub(%_height%,25),,,$get_ps_global(skin_path)\pref.png,$get_ps_global(skin_path)\pref.png,COMMAND:File/Preferences)
$imagebutton($sub(%_width%,82),$sub(%_height%,25),,,$get_ps_global(skin_path)\album_list.png,$get_ps_global(skin_path)\album_list.png,COMMAND:Library/Album List)
$imageabs(105,$sub(%_height%,30),1,24,$get_ps_global(skin_path)\splitter.png)
$imageabs(205,$sub(%_height%,30),1,24,$get_ps_global(skin_path)\splitter.png)
$imageabs($sub(%_width%,95),$sub(%_height%,30),1,24,$get_ps_global(skin_path)\splitter.png)
[/more]