35 #ifdef G4VIS_BUILD_OPENGLXM_DRIVER
39 void G4OpenGLXmViewer::resize_callback (Widget
w,
43 expose_callback(w,clientData,x);
48 void G4OpenGLXmViewer::expose_callback (Widget
w,
52 G4OpenGLXmViewer* pView = (G4OpenGLXmViewer*) clientData;
53 Dimension
width, height;
60 pView->ResizeWindow(width,height);
70 void G4OpenGLXmViewer::print_callback (Widget,
74 G4OpenGLXViewer* pView = (G4OpenGLXmViewer*) clientData;
78 void G4OpenGLXmViewer::set_print_colour_callback (Widget w,
82 G4OpenGLXmViewer* pView = (G4OpenGLXmViewer*)clientData;
84 G4int choice = get_int_userData (w);
86 pView->fPrintColour=(
G4bool)choice;
87 G4cout <<
"Print colour set to " << pView->fPrintColour;
91 void G4OpenGLXmViewer::set_print_style_callback (Widget w,
95 G4OpenGLXmViewer* pView = (G4OpenGLXmViewer*)clientData;
97 G4int choice = get_int_userData (w);
99 pView->fVectoredPs=(
G4bool)choice;
100 G4cout <<
"`Produce vectored PostScript ?' set to : " << pView->fPrintColour;
G4GLOB_DLL std::ostream G4cout