The Animation system in TermOx allows Timer Events to be sent to any Widget at a chosen interval. The Animation Engine contains its own Event Loop, running in a separate thread.
This will start sending Timer Events to the called on Widget every period
. Be
careful with extremely small periods, this could lock up the UI.
Same as above, but will calculate the period
from the given FPS
.
This will stop any Timer Events from being sent to the called on Widget.
animate(Animation_engine::Duration_t interval)
animate(FPS fps)
disanimate()