X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Fapp.h;h=12b30725a17d8fc334dd6f11c58938bc468db6fe;hp=0532be127b5f84d19868d8e905fb6d23a621271b;hb=dbcb9345c23c5c027d808915962843e7db2d14aa;hpb=72b941af07bbf2673539ad4eea073e68d3bcbbfc diff --git a/src/app.h b/src/app.h index 0532be1..12b3072 100644 --- 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; +enum { + MOD_SHIFT = 1, + MOD_ALT = 2, + MOD_CTRL = 4 +}; + 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(); +unsigned int app_get_modifiers(); #endif // APP_H_