GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
gp_app_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_app_task_start (gp_task *task)
 Inserts a task into the widgets main loop.
 
void gp_app_task_stop (gp_task *task)
 Removes a task from the widgets main loop.
 

Detailed Description

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

Definition in file gp_app_task.h.

Function Documentation

◆ gp_app_task_start()

void gp_app_task_start ( 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_app_task_stop()

void gp_app_task_stop ( 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.