Loading...
Searching...
No Matches
widget_element.h
1
6#pragma once
7
8#include <input/input.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14typedef enum {
15 GuiButtonTypeLeft,
16 GuiButtonTypeCenter,
17 GuiButtonTypeRight,
18} GuiButtonType;
19
20typedef void (*ButtonCallback)(GuiButtonType result, InputType type, void* context);
21
22#ifdef __cplusplus
23}
24#endif
Input: main API.
InputType
Input Types Some of them are physical events and some logical.
Definition input.h:21