Changeset 1127
- Timestamp:
- Oct 14, 2009, 12:21:27 PM (15 years ago)
- Location:
- trunk/source/visualization/OpenGL
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/include/G4OpenGLQtViewer.hh
r1112 r1127 39 39 #include "globals.hh" 40 40 41 // FIXME : L.Garnier 22 Sept 09 42 // This include should be the first, because we should include 43 // qobject.h first. I don't know why, but on macOSX 10.5.8, if 44 // we do not, it says : 45 // /Library/Frameworks/QtCore.framework/Headers/qglobal.h:1895: error: redefinition of âclass QTypeInfo<char>â 46 // /Library/Frameworks/QtCore.framework/Headers/qglobal.h:1894: error: previous definition of âclass QTypeInfo<char>â 47 48 #include <qobject.h> 41 49 #include "G4OpenGLViewer.hh" 42 50 43 #include <qobject.h>44 51 #include <qpoint.h> 45 52 -
trunk/source/visualization/OpenGL/src/G4OpenGLSceneHandler.cc
r1125 r1127 45 45 46 46 47 // FIXME : L.Garnier 22 Sept 0948 // This include should be the first, because we should include49 // qobject.h first. I don't know why, but on macOSX 10.5.8, if50 // we do not, it says :51 // /Library/Frameworks/QtCore.framework/Headers/qglobal.h:1895: error: redefinition of âclass QTypeInfo<char>â52 // /Library/Frameworks/QtCore.framework/Headers/qglobal.h:1894: error: previous definition of âclass QTypeInfo<char>â53 54 #include <qobject.h>55 47 #include "G4OpenGLQtViewer.hh" 56 48 #include "G4OpenGLSceneHandler.hh" -
trunk/source/visualization/OpenGL/src/G4OpenGLXmWindowHandlingCallbacks.cc
r1049 r1127 65 65 while (XCheckWindowEvent(XtDisplay(w), data->window, 66 66 ResizeRedirectMask, &event)) { 67 printf("G4OpenGLXmViewer::resize_callback ------ next RESIZE ! %d\n");67 printf("G4OpenGLXmViewer::resize_callback ------ next RESIZE !\n"); 68 68 } 69 69 #endif … … 81 81 82 82 83 void G4OpenGLXmViewer::activate_callback (Widget w,84 XtPointer clientData,85 XtPointer callData)83 void G4OpenGLXmViewer::activate_callback (Widget, 84 XtPointer, 85 XtPointer) 86 86 { 87 87 #ifdef G4DEBUG_VIS_OGL … … 125 125 if (((XExposeEvent *) data->event)->count != 0) { 126 126 #ifdef G4DEBUG_VIS_OGL 127 printf("G4OpenGLXmViewer::expose_callback NOOOOO %d %d type:%d number:%d send:% d x:%d y:%d w:%d h:%d c:%d\n",width,height,127 printf("G4OpenGLXmViewer::expose_callback NOOOOO %d %d type:%d number:%d send:%lud x:%d y:%d w:%d h:%d c:%d\n",width,height, 128 128 ((XExposeEvent *) data->event)->type, 129 129 ((XExposeEvent *) data->event)->serial, … … 140 140 } 141 141 #ifdef G4DEBUG_VIS_OGL 142 printf("G4OpenGLXmViewer::expose_callback Should redraw %d %d type:%d number:%d send:% d x:%d y:%d w:%d h:%d c:%d\n",width,height,142 printf("G4OpenGLXmViewer::expose_callback Should redraw %d %d type:%d number:%d send:%lud x:%d y:%d w:%d h:%d c:%d\n",width,height, 143 143 ((XExposeEvent *) data->event)->type, 144 144 ((XExposeEvent *) data->event)->serial,
Note: See TracChangeset
for help on using the changeset viewer.