Changeset 1146 for trunk/source/visualization
- Timestamp:
- Nov 3, 2009, 2:57:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/src/G4OpenGLQtViewer.cc
r1137 r1146 2535 2535 2536 2536 2537 void G4OpenGLQtViewer::drawText( 2538 const char * str 2539 ,int x 2540 ,int y 2541 ,int z 2542 ,int size ) { 2543 2544 #ifdef G4DEBUG_VIS_OGL 2545 printf ("G4OpenGLStoredQtViewer::drawText-position %d,%d,%d-----------------------------------------\n",x,y,z); 2546 #endif 2547 2548 QFont f1 = QFont("Courrier", size, QFont::Bold); 2549 f1.setPointSizeF(20); 2550 2551 // FIXME : Interesting border effect : resizing world resize detector 2552 // but not traces ! 2553 glColor3d (0.123456,0.1234560,0.123456); 2554 fWindow->renderText (x,y,z,str,f1); 2555 glColor3d (0.321,0.321,0.321); 2556 } 2557 2558 2537 2559 // FIXME : does not work on Qt3 2538 2560 void G4OpenGLQtViewer::processEncodeStdout()
Note: See TracChangeset
for help on using the changeset viewer.