ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OpenGLArea.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file OpenGLArea.h
1 #ifndef tools_Xt_OpenGLArea_h
2 #define tools_Xt_OpenGLArea_h
3 
4 #include <X11/Intrinsic.h>
5 
8 
9 typedef struct {
10  int reason;
11  XEvent* event;
13 
14 /* OpenGLArea */
15 #define XoNdoubleBufferOn "doubleBufferOn"
16 #define XoNpaintCallback "paintCallback"
17 #define XoNeventCallback "eventCallback"
18 
19 #define XoCR_PAINT 1
20 #define XoCR_EVENT 2
21 
22 #ifdef __cplusplus
23 extern "C"{
24 #endif
25 extern WidgetClass openGLAreaWidgetClass;
26 
27 void OpenGLAreaPaint(Widget);
28 int OpenGLAreaWrite_gl2ps(Widget,const char*,const char*);
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 #endif
35 /*
36 exlib_build_use Xt
37 */