Changeset 896 for trunk/source/visualization/management/src/G4VViewer.cc
- Timestamp:
- Dec 3, 2008, 5:31:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/management/src/G4VViewer.cc
r894 r896 61 61 fShortName = fName (0, fName.find (' ')); 62 62 fShortName.strip (); 63 64 G4VisManager* pVisMan = G4VisManager::GetInstance();65 G4int xHint, yHint;66 pVisMan->GetWindowSizeHint(xHint, yHint);67 const G4String& XGeometryString = pVisMan->GetXGeometryString();68 #ifdef G4DEBUG69 printf("G4VViewer::G4VViewer set geometry of viewer\n");70 #endif71 fVP.SetWindowSizeHint(xHint,yHint);72 fVP.SetXGeometryString(XGeometryString);73 fDefaultVP.SetWindowSizeHint(xHint,yHint);74 fDefaultVP.SetXGeometryString(XGeometryString);75 63 } 76 64
Note: See TracChangeset
for help on using the changeset viewer.