Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
OpenGLAreaP.h
Go to the documentation of this file.
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
12typedef struct
13{
14 void* extension;
16
17typedef struct _OpenGLAreaClassRec
18{
19 CoreClassPart core_class;
20 CompositeClassPart composite_class;
23
24#ifdef __cplusplus
25extern "C"{
26#endif
28#ifdef __cplusplus
29}
30#endif
31
32typedef struct
33{
34 /*Resources :*/
36 XtCallbackList paintCallback;
37 XtCallbackList eventCallback;
38 /**/
39 Visual* visual;
41 GLXContext glContext;
43
44typedef struct _OpenGLAreaRec
45{
46 CorePart core;
47 CompositePart composite;
50
51#endif
52/*
53exlib_build_use Xt
54*/
struct _OpenGLAreaClassRec OpenGLAreaClassRec
OpenGLAreaClassRec openGLAreaClassRec
Definition: OpenGLArea.c:49
struct _OpenGLAreaRec OpenGLAreaRec
Boolean installColormap
Definition: OpenGLAreaP.h:40
XtCallbackList paintCallback
Definition: OpenGLAreaP.h:36
Boolean doubleBufferOn
Definition: OpenGLAreaP.h:35
Visual * visual
Definition: OpenGLAreaP.h:39
XtCallbackList eventCallback
Definition: OpenGLAreaP.h:37
GLXContext glContext
Definition: OpenGLAreaP.h:41
CoreClassPart core_class
Definition: OpenGLAreaP.h:19
CompositeClassPart composite_class
Definition: OpenGLAreaP.h:20
OpenGLAreaClassPart openGLArea_class
Definition: OpenGLAreaP.h:21
OpenGLAreaPart openGLArea
Definition: OpenGLAreaP.h:48
CorePart core
Definition: OpenGLAreaP.h:46
CompositePart composite
Definition: OpenGLAreaP.h:47