- Timestamp:
- Nov 27, 2008, 4:56:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/management/include/G4VisManager.icc
r850 r893 78 78 } 79 79 80 inline void G4VisManager::GetWindowLocationHint 81 (G4int& xHint, G4int& yHint) const { 82 xHint = fpViewer->GetViewParameters().GetWindowLocationHintX(); 83 yHint = fpViewer->GetViewParameters().GetWindowLocationHintY(); 84 } 85 80 86 inline const G4String& G4VisManager::GetXGeometryString () const { 81 87 return fXGeometryString; … … 118 124 } 119 125 126 inline void G4VisManager::SetWindowLocationHint (G4int xHint, G4int yHint) { 127 #ifdef G4DEBUG 128 printf("G4VisManager::SetWindowLocationHint () :: %d %d\n",xHint,yHint); 129 #endif 130 G4ViewParameters vp = fpViewer->GetViewParameters(); 131 vp.SetWindowLocationHint(xHint,yHint); 132 fpViewer->SetViewParameters(vp); 133 } 134 120 135 inline void G4VisManager::SetXGeometryString (const G4String& geomString) { 121 136 fXGeometryString = geomString;
Note: See TracChangeset
for help on using the changeset viewer.