32 #if defined (G4VIS_BUILD_OPENGLWIN32_DRIVER) || defined (G4VIS_USE_OPENGLWIN32)
34 #ifndef G4OPENGLWIN32VIEWER_HH
35 #define G4OPENGLWIN32VIEWER_HH
41 class G4OpenGLSceneHandler;
43 class G4OpenGLWin32Viewer:
virtual public G4OpenGLViewer {
46 G4OpenGLWin32Viewer (G4OpenGLSceneHandler& scene);
47 virtual ~G4OpenGLWin32Viewer ();
52 void GetWin32Connection ();
53 void CreateGLWin32Context ();
54 virtual void CreateMainWindow ();
57 static LRESULT CALLBACK WindowProc(HWND,
UINT,WPARAM,LPARAM);
58 static bool SetWindowPixelFormat(HDC);