glviewvol

diff src/dicomview.h @ 0:7bdf40403b9c

dicom viewer project underway
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 27 Dec 2014 02:35:58 +0200
parents
children 04330eb80b36
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/dicomview.h	Sat Dec 27 02:35:58 2014 +0200
     1.3 @@ -0,0 +1,26 @@
     1.4 +#ifndef DICOMVIEW_H_
     1.5 +#define DICOMVIEW_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 +
    1.25 +#ifdef __cplusplus
    1.26 +}
    1.27 +#endif
    1.28 +
    1.29 +#endif	// DICOMVIEW_H_