Changeset 674 for trunk/gui/scripts/sequenceresult.tcl
- Timestamp:
- Apr 19, 2007, 5:38:09 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/sequenceresult.tcl
r644 r674 302 302 } 303 303 if {[llength $all] > 0} { 304 set delay [expr {int(ceil(pow($_play(speed)/10.0 ,2.0)*5))}]304 set delay [expr {int(ceil(pow($_play(speed)/10.0+2,2.0)*15))}] 305 305 set rval [eval Rappture::icon::gif_animate $delay $all] 306 306 } … … 342 342 343 343 # schedule the first frame 344 set delay [expr {int(ceil(pow($_play(speed)/10.0 ,2.0)*5))}]344 set delay [expr {int(ceil(pow($_play(speed)/10.0+2,2.0)*15))}] 345 345 set _afterId [after $delay [itcl::code $this _playFrame]] 346 346 } … … 492 492 goto $_pos 493 493 494 set delay [expr {int(ceil(pow($_play(speed)/10.0 ,2.0)*5))}]494 set delay [expr {int(ceil(pow($_play(speed)/10.0+2,2.0)*15))}] 495 495 set _afterId [after $delay [itcl::code $this _playFrame]] 496 496 } … … 515 515 if {"" != $_topmost} { 516 516 foreach dataobj [$_topmost value $_pos] { 517 $viewer add $dataobj "" 518 } 519 } 520 } 517 set settings "-color autoreset -width 2" 518 if {[catch {$dataobj hints style} style] == 0} { 519 eval lappend settings $style 520 } 521 $viewer add $dataobj $settings 522 } 523 } 524 }
Note: See TracChangeset
for help on using the changeset viewer.