TimerDialog

Handle Wrappers View source
TimerDialog

Multiplies the timer’s tick rate and remaining time, so that the overall elapsed time stays the same. For example, timer was started with initial time 60 seconds. If speed is set to 2, then the time shown in dialog will be 120 seconds, but counting is two times faster. If speed is set to 0.5, then the time shown in dialog will be 30 seconds, but counting is two times slower.

Source on GitHub

Extension Functions

timer.createTimerDialog

public function timer.createTimerDialog() returns timerdialog

timerdialog.destr

public function timerdialog.destr()

timerdialog.setTitle

public function timerdialog.setTitle(string title)

timerdialog.setTitleColor

public function timerdialog.setTitleColor(int red, int green, int blue, int alpha)

timerdialog.setTitleColor

public function timerdialog.setTitleColor(colorA colorA)

timerdialog.setTimeColor

public function timerdialog.setTimeColor(int red, int green, int blue, int alpha)

timerdialog.setTimeColor

public function timerdialog.setTimeColor(colorA colorA)

timerdialog.setSpeed

public function timerdialog.setSpeed(real speedMultFactor)

timerdialog.display

public function timerdialog.display(boolean display)

timerdialog.isDisplayed

public function timerdialog.isDisplayed() returns boolean

timerdialog.setRealTimeRemaining

public function timerdialog.setRealTimeRemaining(real timeRemaining)