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

Runs a task in the context of the app main loop. More...

#include <input/gp_task.h>

Go to the source code of this file.

Functions

void gp_widgets_task_ins (gp_task *task)
 Inserts a task into the widgets main loop.
 
void gp_widgets_task_rem (gp_task *task)
 Removes a task from the widgets main loop.
 

Detailed Description

Runs a task in the context of the app main loop.

TODO: Rename to gp_app_task()

Definition in file gp_widgets_task.h.

Function Documentation

◆ gp_widgets_task_ins()

void gp_widgets_task_ins ( gp_task task)

Inserts a task into the widgets main loop.

Note
Tasks are not run until the widgets main loop runs.
Parameters
taskA pointer to a gp_task.

◆ gp_widgets_task_rem()

void gp_widgets_task_rem ( gp_task task)

Removes a task from the widgets main loop.

Note
Tasks are not run until the widgets main loop runs.
Parameters
taskPointer to a gp_task.