Changeset 897 for trunk/source/visualization/OpenGL/src/G4OpenGLXmViewer.cc
- Timestamp:
- Dec 3, 2008, 7:03:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/src/G4OpenGLXmViewer.cc
r891 r897 596 596 Dimension width, height; 597 597 XtVaGetValues (glxarea,XmNwidth,&width,XmNheight,&height,NULL); 598 #ifdef G4DEBUG 599 printf("CreateWindow Size:%d - %d \n",width,height); 600 #endif 601 WinSize_x = (G4int) width; 602 WinSize_y = (G4int) height; 598 fWinSize_x = (unsigned int) width; 599 fWinSize_y = (unsigned int) height; 603 600 604 601 win = XtWindow (glxarea); … … 633 630 fpprint_top (0) 634 631 { 635 WinSize_x = 100;636 WinSize_y = 100;637 638 632 GetXmConnection (); 639 633 if (fViewId < 0) return;
Note: See TracChangeset
for help on using the changeset viewer.