Skip to main content
Topic: Seekbar and Volumebar Configs (Read 5174 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Seekbar and Volumebar Configs

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?

Seekbar and Volumebar Configs

Reply #1
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,)

Seekbar and Volumebar Configs

Reply #2
does anyone know how the code above me would look like?

was wondering how can I get three images to work.

-the start = "["
- the middle which progresses = "."
- the end of the progression bar = "]"

so as it goes along it'll be "[.....]"

 
SimplePortal 1.0.0 RC1 © 2008-2019