glviewvol

view src/dicomview.h @ 4:04330eb80b36

lots of stuff
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 29 Dec 2014 05:41:36 +0200
parents 7bdf40403b9c
children 71b479ffb9f7
line source
1 #ifndef DICOMVIEW_H_
2 #define DICOMVIEW_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);
23 #ifdef __cplusplus
24 }
25 #endif
27 #endif // DICOMVIEW_H_