HydrogenAudio

Hosted Forums => foobar2000 => Uploads - (fb2k) => Topic started by: Spirit_of_the_ocean on 2007-08-09 22:54:41

Title: Seekbar and Volumebar Configs
Post by: Spirit_of_the_ocean on 2007-08-09 22:54:41
Hello
I hope some people will post their seekbars because I am no longer happy with mine:
Code: [Select]
$puts(length,100)
$puts(zeichen1,|)
$puts(col1,$rgb(255,0,0))
$puts(zeichen2,|)
$puts(col2,$rgb(225,216,26))
$get(col2)
$repeat($get(zeichen2),$div($mul(%playback_time_seconds%,$get(length)),%length_seconds%))

$get(col1)

$repeat($get(zeichen1),$sub($get(length),$div($mul(%playback_time_seconds%,$get(length)),%length_seconds%))))


Is it possible to use some images with overlays?
Title: Seekbar and Volumebar Configs
Post by: cristox on 2007-08-10 01:15:04
Code: [Select]
$puts(progressL,[...])
$puts(progressY,[...])
$puts(col1,[...]) better bright
$puts(col2,[...]) better medium
$puts(col3,[...]) better dark

$rectabs(10,$sub($get(progressY),1),$get(progressL),7,null,$get(col1))

$if(%playback_time%,
$if(
$strcmp(%playback_time_seconds%,0),
,
$rectabs(11,$get(progressY),$muldiv(%playback_time_seconds%,$sub($get(progressL),2),%length_seconds%),5,$get(col2),$get(col3))
)

$rectabs($add($muldiv(%playback_time_seconds%,$sub($get(progressL),2),%length_seconds%),11),$sub($get(progressY),3),1,10,null,$get(col1))

$panel(SeekPanel,Seek Panel,10,$sub($get(progressY),1),$get(progressL),7,)
Title: Seekbar and Volumebar Configs
Post by: BLaZor on 2007-08-11 15:17:46
does anyone know how the code above me would look like?

was wondering how can I get three images to work.

(http://i13.tinypic.com/6h60r60.gif) -the start = "["
(http://i16.tinypic.com/4ub3sk6.png) - the middle which progresses = "."
(http://i16.tinypic.com/67n5lrn.gif) - the end of the progression bar = "]"

so as it goes along it'll be "[.....]"
(http://i13.tinypic.com/6h60r60.gif)(http://i16.tinypic.com/4ub3sk6.png)(http://i16.tinypic.com/4ub3sk6.png)(http://i16.tinypic.com/4ub3sk6.png)(http://i16.tinypic.com/4ub3sk6.png)(http://i16.tinypic.com/4ub3sk6.png)(http://i16.tinypic.com/67n5lrn.gif)