@kv
0.0.4
Library for graph problems in C and Python
Main Page
Related Pages
Classes
Files
File List
File Members
type.h
1
18
#if !defined(AT_GUI_H_INSIDE)
19
#error "Only <at/gui.h> can be included directly."
20
#endif
21
#ifndef AT_GUI_TYPE_H
22
#define AT_GUI_TYPE_H
23
#include <stdint.h>
24
28
typedef
enum
{
29
AT_KEY_A,
30
AT_KEY_B,
31
AT_KEY_C,
32
AT_KEY_D,
33
AT_KEY_E,
34
AT_KEY_F,
35
AT_KEY_G,
36
AT_KEY_H,
37
AT_KEY_I,
38
AT_KEY_J,
39
AT_KEY_K,
40
AT_KEY_L,
41
AT_KEY_M,
42
AT_KEY_N,
43
AT_KEY_O,
44
AT_KEY_P,
45
AT_KEY_Q,
46
AT_KEY_R,
47
AT_KEY_S,
48
AT_KEY_T,
49
AT_KEY_U,
50
AT_KEY_V,
51
AT_KEY_W,
52
AT_KEY_X,
53
AT_KEY_Y,
54
AT_KEY_Z,
55
AT_KEY_ESCAPE,
56
}AtKey;
57
61
typedef
enum
{
62
AT_MOUSE_LEFT_DOWN,
63
AT_MOUSE_LEFT_UP,
64
AT_MOUSE_RIGHT_DOWN,
65
AT_MOUSE_RIGHT_UP,
66
AT_MOUSE_MOVE
67
}AtMouseEventType;
68
72
typedef
struct
AtMouseEvent
{
73
int16_t
x
;
74
int16_t
y
;
75
AtMouseEventType
type
;
76
}
AtMouseEvent
;
77
81
typedef
void
82
(*AtMouseCallback)(
AtMouseEvent
* event,
void
* user_data);
83
84
#endif
AtMouseEvent
Mouse Event Structure.
Definition:
type.h:72
AtMouseEvent::x
int16_t x
Definition:
type.h:73
AtMouseEvent::y
int16_t y
Definition:
type.h:74
AtMouseEvent::type
AtMouseEventType type
Definition:
type.h:75
include
at
gui
type.h
Generated on Mon Aug 8 2016 17:05:01 for @kv by
1.8.11