glviewvol

view src/viewer.h @ 11:73edd1b7c2da

changed the name to glviewvol
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 31 Dec 2014 07:53:53 +0200
parents src/dicomview.h@71b479ffb9f7
children 773f89037a35
line source
1 #ifndef VIEWER_H_
2 #define VIEWER_H_
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 int init();
9 void cleanup();
11 void ev_display();
12 void ev_reshape(int x, int y);
13 void ev_keyboard(int key, int press, int x, int y);
14 void ev_mouse_button(int bn, int press, int x, int y);
15 void ev_mouse_motion(int x, int y);
17 // functions provided by the frontend
18 void swap_buffers();
19 void redisplay();
20 void quit();
21 void get_window_size(int *xsz, int *ysz);
22 unsigned int get_modifiers();
24 #ifdef __cplusplus
25 }
26 #endif
28 #endif // VIEWER_H_