-
Notifications
You must be signed in to change notification settings - Fork 4
/
p5sugar.nim
87 lines (66 loc) · 1.93 KB
/
p5sugar.nim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
template setup*(body: untyped) {.dirty.} =
proc setup {.exportc.} =
body
template draw*(body: untyped) {.dirty.} =
proc draw {.exportc.} =
body
template keyPressed*(body: untyped) {.dirty.} =
proc keyPressed {.exportc.} =
body
template preload*(body: untyped) {.dirty.} =
proc preload {.exportc.} =
body
template remove*(body: untyped) {.dirty.} =
proc remove {.exportc.} =
body
template preload*(body: untyped) {.dirty.} =
proc preload {.exportc.} =
body
template mouseMoved*(body: untyped) {.dirty.} =
proc mouseMoved {.exportc.} =
body
template mouseDragged*(body: untyped) {.dirty.} =
proc mouseDragged {.exportc.} =
body
template mousePressed*(body: untyped) {.dirty.} =
proc mousePressed {.exportc.} =
body
template mouseReleased*(body: untyped) {.dirty.} =
proc mouseReleased {.exportc.} =
body
template mouseClicked*(body: untyped) {.dirty.} =
proc mouseClicked {.exportc.} =
body
template doubleClicked*(body: untyped) {.dirty.} =
proc doubleClicked {.exportc.} =
body
template mouseWheel*(body: untyped) {.dirty.} =
proc mouseWheel {.exportc.} =
body
template keyPressed*(body: untyped) {.dirty.} =
proc keyPressed {.exportc.} =
body
template keyReleased*(body: untyped) {.dirty.} =
proc keyReleased {.exportc.} =
body
template keyTyped*(body: untyped) {.dirty.} =
proc keyTyped {.exportc.} =
body
template touchStarted*(body: untyped) {.dirty.} =
proc touchStarted {.exportc.} =
body
template touchMoved*(body: untyped) {.dirty.} =
proc touchMoved {.exportc.} =
body
template touchEnded*(body: untyped) {.dirty.} =
proc touchEnded {.exportc.} =
body
template deviceMoved*(body: untyped) {.dirty.} =
proc deviceMoved {.exportc.} =
body
template deviceTurned*(body: untyped) {.dirty.} =
proc deviceTurned {.exportc.} =
body
template deviceShaken*(body: untyped) {.dirty.} =
proc deviceShaken {.exportc.} =
body