博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Foobar2000–panel stack splitter
阅读量:4504 次
发布时间:2019-06-08

本文共 1562 字,大约阅读时间需要 5 分钟。

在imagebutton上点击时后,鼠标总是变成水平状,在 behaviour 中关闭 enable resizeable border就好了.

 

CUI的布局:

根选项最好是Horizontal/Vertical splitter,因为只有这样才能控制下面Panel Stack Splitter的caption的显隐,Playlist Tabs只能包含一个播放列表,不防设在PSS中设Playlist Tabs的名字为ELPlaylist。配制那个PSS,对下属的两个面板就选“强制布局”,位置参数都设成这样,Left:0,Right:0, Width: %ps_width%, Height: $sub(%ps_height,36),然后在Script的PerTrack中粘贴下面的代码:


$puts(skin_path,%ps_foobar2000_path%\skin\mono_lite)

$drawrect(0,$sub(%ps_height%,36),%ps_width%,36,30-30-30,,)

$if($or($not(%ps_isplaying%),%ps_ispause%),

$imagebutton(41,$sub(%_height%,29),,,$get(skin_path)\play.png,$get(skin_path)\play_h.png,COMMAND:Playback/Play or Pause),
$imagebutton(41,$sub(%_height%,29),,,$get(skin_path)\pause.png,$get(skin_path)\pause_h.png,COMMAND:Playback/Play or Pause))
$imagebutton(12,$sub(%_height%,28),,,$get(skin_path)\prev.png,$get(skin_path)\prev_h.png,COMMAND:Playback/Previous)
$imagebutton(71,$sub(%_height%,28),,,$get(skin_path)\next.png,$get(skin_path)\next_h.png,COMMAND:Playback/Next)
$imageabs(105,$sub(%_height%,30),1,24,$get(skin_path)\splitter.png)

$if($isvisible_c(ELPlaylist),

$textbutton(120,$sub(%ps_height%,30),$add($gettextwidth(Lyric),10),22,Lyric,Lyric,PANELSHOW:ELPlaylist:0;PANELSHOW:Lyric:1;REFRESH,fontcolor:255-255-255 brushcolor:100-100-100,fontcolor:255-219-0 brushcolor:0-35-70),
$textbutton(120,$sub(%ps_height%,30),$add($gettextwidth(Lyric),10),22,Lyric,Lyric,PANELSHOW:ELPlaylist:1;PANELSHOW:Lyric:0;REFRESH,fontcolor:255-255-255 brushcolor:100-100-100,fontcolor:255-219-0 brushcolor:0-35-70)
)


转载于:https://www.cnblogs.com/cnsealine/p/4484160.html

你可能感兴趣的文章
排序 之 堆排序 归并排序
查看>>
linux查看修改线程默认栈空间大小(ulimit -s)
查看>>
BZOJ 1477 青蛙的约会 【扩展欧几里得】
查看>>
用phpexcelreader将excel文件读入到mysql中(转载)
查看>>
As3 Socket高低位
查看>>
15. 三数之和
查看>>
使用angular.js获取form表单中的信息
查看>>
TestNG
查看>>
高精——模板
查看>>
生成CFree 5.0 注册码
查看>>
磁力链接
查看>>
【问题解决方案】之 关于某江加密视频swf专用播放器仍无法播放的问题
查看>>
2014,码农梦想,先从态度开始!
查看>>
常用板子
查看>>
linux中安装eclipse--CnetOS6.5
查看>>
应用层拒绝服务攻击
查看>>
JavaScript学习总结(五)——jQuery插件开发与发布
查看>>
广度优先(迷宫找人)
查看>>
word2vec 评测 window_different
查看>>
我觉得二专很OK-2
查看>>