第一段:
$puts(track.w,$gettextwidth($get(track.text)))
$puts(title.w,$gettextwidth($get(title.text)))
$if(%bpm%,
$puts(bpm.text,%bpm% BPM)
$if(%tracknumber%,
$puts(bpm.x,$add(%TRACK.X%,$add(%TRACK.W%,%TEXT.X%))),
$puts(bpm.x,%TRACK.X%)
)
$puts(title.x,$add(%BPM.SPACING%,$add($get(bpm.x)),%BPM.W%))
$if($not(%el_isplaying%),
$drawtext($get(bpm.text),
$get(bpm.x),0,
%BPM.W%,%el_height%,
%BPM.COLOR%,right vcenter)
,)
,
$if(%tracknumber%,
$puts(title.x,$add(%TRACK.X%,$add(%TRACK.W%,%TEXT.X%))),
$puts(title.x,%TRACK.X%)
)
)
$puts(len.w,$add(8,$gettextwidth(%length%)))
$puts(len.x,$sub(%el_width%,$get(len.w)))
$puts(artist.x,$add($get(title.x),$get(title.w)))
$puts(artist.w,$sub($get(len.x),$get(artist.x)))
第二段:
$puts(artist.text,[ / %track artist%])
$puts(title.text,%title%)
$puts(title.w,$gettextwidth($get(title.text)))
$puts(artist.x,$add($get(title.x),$get(title.w)))
第三段:
$drawtext($get(artist.text),$get(artist.x),0,
$sub(%el_width%,165),%el_height%,
120-120-120,vcenter end_ellipsis)
本来以为今天一下午能弄完,现在一拖又是三天
Comments
2 responses to “ELPlaylist 备忘”
btb
…………??