DurationLine:
Filter:
CuePlayer/Classes (extension) | Class

DurationLine
ExtensionExtension

Display a scrolling line on the large window.

Description

DurationLine allows to display a vertical line on the large window which scrolls from left to right within a certain amount of time. This may be used to have a visual representation on how long a particular process lasts.

Class Methods

 

.new

Create a new DurationLine instance.

 

.on

Show the duration line on the large window.

 

.off

Hide the duration line on the large window.

 

.toggle

Switch on/off the duration line on the large window.

Instance Methods

 

.create

Create a duration-line specifying its duration, color and vertical-width.

Arguments:

duration

The time (in seconds) it takes for the vertical line to scan the window from left to right.

color

Defines the color of the line.

width

Defines the thickness of the line.