GUI: internal ViewPort API. More...
Go to the source code of this file.
Data Structures | |
struct | ViewPort |
Functions | |
void | view_port_gui_set (ViewPort *view_port, Gui *gui) |
Set GUI reference. | |
void | view_port_draw (ViewPort *view_port, Canvas *canvas) |
Process draw call. | |
void | view_port_input (ViewPort *view_port, InputEvent *event) |
Process input. | |
GUI: internal ViewPort API.
Process draw call.
Calls draw callback.
To be used by GUI, called on tree redraw.
view_port | ViewPort instance |
canvas | canvas to draw at |
Set GUI reference.
To be used by GUI, called upon view_port tree insert
view_port | ViewPort instance |
gui | gui instance pointer |
void view_port_input | ( | ViewPort * | view_port, |
InputEvent * | event ) |
Process input.
Calls input callback.
To be used by GUI, called on input dispatch.
view_port | ViewPort instance |
event | pointer to input event |