qvolray
diff src/volray.h @ 29:93d889a3726a
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 14 Apr 2012 20:52:53 +0300 |
parents | aeef3c2ae472 |
children |
line diff
1.1 --- a/src/volray.h Sat Apr 14 16:35:30 2012 +0300 1.2 +++ b/src/volray.h Sat Apr 14 20:52:53 2012 +0300 1.3 @@ -8,19 +8,22 @@ 1.4 void volray_setvolume(Volume *vol); 1.5 Volume *volray_getvolume(); 1.6 1.7 -enum { 1.8 - VOLRAY_ZCURSOR, 1.9 - VOLRAY_ZCLIP 1.10 +enum class VolRayOpt { 1.11 + ZCURSOR, 1.12 + ZCLIP 1.13 }; 1.14 1.15 -void volray_setvalue(int which, float val); 1.16 -float volray_getvalue(int which); 1.17 +void volray_setvalue(VolRayOpt which, float val); 1.18 +float volray_getvalue(VolRayOpt which); 1.19 1.20 void volray_resize(int xsz, int ysz); 1.21 void volray_draw(); 1.22 void volray_draw_slice(); 1.23 +void volray_draw_xfer(); 1.24 1.25 void volray_mouse(int bn, int state, int x, int y); 1.26 void volray_motion(int x, int y); 1.27 1.28 +int parse_args(int argc, char **argv); 1.29 + 1.30 #endif // VOLRAY_H_