GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Functions
gp_widget_timer.h File Reference

Inserts timer into a main loop. More...

Go to the source code of this file.

Functions

void gp_widgets_timer_ins (gp_timer *timer)
 Inserts a timer into the widgets timer queue.
 
void gp_widgets_timer_rem (gp_timer *timer)
 Removes a timer from the widgets timer queue.
 

Detailed Description

Inserts timer into a main loop.

TODO: Rename to app timer.

Definition in file gp_widget_timer.h.

Function Documentation

◆ gp_widgets_timer_ins()

void gp_widgets_timer_ins ( gp_timer timer)

Inserts a timer into the widgets timer queue.

Note
No timers will expire until the widgets main loop runs.
Parameters
timerPointer to a gp_timer.

◆ gp_widgets_timer_rem()

void gp_widgets_timer_rem ( gp_timer timer)

Removes a timer from the widgets timer queue.

Note
No timers will expire until the widgets main loop runs.
Parameters
timerPointer to a gp_timer.