glviewvol

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/viewer.h	Wed Dec 31 07:53:53 2014 +0200
     1.3 @@ -0,0 +1,28 @@
     1.4 +#ifndef VIEWER_H_
     1.5 +#define VIEWER_H_
     1.6 +
     1.7 +#ifdef __cplusplus
     1.8 +extern "C" {
     1.9 +#endif
    1.10 +
    1.11 +int init();
    1.12 +void cleanup();
    1.13 +
    1.14 +void ev_display();
    1.15 +void ev_reshape(int x, int y);
    1.16 +void ev_keyboard(int key, int press, int x, int y);
    1.17 +void ev_mouse_button(int bn, int press, int x, int y);
    1.18 +void ev_mouse_motion(int x, int y);
    1.19 +
    1.20 +// functions provided by the frontend
    1.21 +void swap_buffers();
    1.22 +void redisplay();
    1.23 +void quit();
    1.24 +void get_window_size(int *xsz, int *ysz);
    1.25 +unsigned int get_modifiers();
    1.26 +
    1.27 +#ifdef __cplusplus
    1.28 +}
    1.29 +#endif
    1.30 +
    1.31 +#endif	// VIEWER_H_