Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
OpenGLArea.h
Go to the documentation of this file.
1#ifndef tools_Xt_OpenGLArea_h
2#define tools_Xt_OpenGLArea_h
3
4#include <X11/Intrinsic.h>
5
8
9typedef 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
23extern "C"{
24#endif
25extern WidgetClass openGLAreaWidgetClass;
26
27void OpenGLAreaPaint(Widget);
28int OpenGLAreaWrite_gl2ps(Widget,const char*,const char*);
29
30#ifdef __cplusplus
31}
32#endif
33
34#endif
35/*
36exlib_build_use Xt
37*/
void OpenGLAreaPaint(Widget)
Definition: OpenGLArea.c:317
struct _OpenGLAreaRec * OpenGLAreaWidget
Definition: OpenGLArea.h:7
struct _OpenGLAreaClassRec * OpenGLAreaWidgetClass
Definition: OpenGLArea.h:6
int OpenGLAreaWrite_gl2ps(Widget, const char *, const char *)
Definition: OpenGLArea.c:392
WidgetClass openGLAreaWidgetClass
Definition: OpenGLArea.c:100