projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
metadata, walk polygons, stuff...
[laserbrain_demo]
/
src
/
app.h
diff --git
a/src/app.h
b/src/app.h
index
0532be1
..
12b3072
100644
(file)
--- a/
src/app.h
+++ b/
src/app.h
@@
-5,6
+5,12
@@
extern long time_msec;
extern int win_width, win_height;
extern bool opt_gear_wireframe;
extern int win_width, win_height;
extern bool opt_gear_wireframe;
+enum {
+ MOD_SHIFT = 1,
+ MOD_ALT = 2,
+ MOD_CTRL = 4
+};
+
bool app_init();
void app_cleanup();
bool app_init();
void app_cleanup();
@@
-18,5
+24,6
@@
void app_mouse_motion(int x, int y);
// the following functions are implemented by the backend (main.cc)
void app_quit();
void app_swap_buffers();
// the following functions are implemented by the backend (main.cc)
void app_quit();
void app_swap_buffers();
+unsigned int app_get_modifiers();
#endif // APP_H_
#endif // APP_H_