projects
/
vkray
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit
[vkray]
/
src
/
app.c
1
#include "app.h"
2
3
int app_init(void)
4
{
5
return 0;
6
}
7
8
void app_cleanup(void)
9
{
10
}
11
12
13
void app_display(void)
14
{
15
}
16
17
void app_reshape(int x, int y)
18
{
19
}
20
21
void app_keyboard(int key, int press)
22
{
23
if(!press) return;
24
25
switch(key) {
26
case 27:
27
app_quit();
28
break;
29
}
30
}
31
32
void app_mouse(int bn, int press, int x, int y)
33
{
34
}
35
36
void app_motion(int x, int y)
37
{
38
}