ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OpenGLAreaP.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file OpenGLAreaP.h
1 #ifndef tools_Xt_OpenGLAreaP_h
2 #define tools_Xt_OpenGLAreaP_h
3 
4 #include "OpenGLArea.h"
5 
6 #include <X11/IntrinsicP.h>
7 #include <X11/CoreP.h>
8 #include <X11/CompositeP.h>
9 
10 #include <GL/glx.h>
11 
12 typedef struct
13 {
14  void* extension;
16 
17 typedef struct _OpenGLAreaClassRec
18 {
19  CoreClassPart core_class;
20  CompositeClassPart composite_class;
23 
24 #ifdef __cplusplus
25 extern "C"{
26 #endif
28 #ifdef __cplusplus
29 }
30 #endif
31 
32 typedef struct
33 {
34  /*Resources :*/
35  Boolean doubleBufferOn;
36  XtCallbackList paintCallback;
37  XtCallbackList eventCallback;
38 
39  Visual* visual;
40  Boolean installColormap;
41  GLXContext glContext;
43 
44 typedef struct _OpenGLAreaRec
45 {
46  CorePart core;
47  CompositePart composite;
50 
51 #endif
52 /*
53 exlib_build_use Xt
54 */