glviewvol

annotate 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
rev   line source
nuclear@0 1 #ifndef DICOMVIEW_H_
nuclear@0 2 #define DICOMVIEW_H_
nuclear@0 3
nuclear@0 4 #ifdef __cplusplus
nuclear@0 5 extern "C" {
nuclear@0 6 #endif
nuclear@0 7
nuclear@0 8 int init();
nuclear@0 9 void cleanup();
nuclear@0 10
nuclear@0 11 void ev_display();
nuclear@0 12 void ev_reshape(int x, int y);
nuclear@0 13 void ev_keyboard(int key, int press, int x, int y);
nuclear@0 14 void ev_mouse_button(int bn, int press, int x, int y);
nuclear@0 15 void ev_mouse_motion(int x, int y);
nuclear@0 16
nuclear@0 17 // functions provided by the frontend
nuclear@0 18 void swap_buffers();
nuclear@0 19 void redisplay();
nuclear@0 20 void quit();
nuclear@4 21 void get_window_size(int *xsz, int *ysz);
nuclear@0 22
nuclear@0 23 #ifdef __cplusplus
nuclear@0 24 }
nuclear@0 25 #endif
nuclear@0 26
nuclear@0 27 #endif // DICOMVIEW_H_