Ignore:
Timestamp:
Nov 27, 2008, 4:56:05 PM (15 years ago)
Author:
garnier
Message:

make 3.80 added because 3.81 is bad

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/management/include/G4VisManager.icc

    r850 r893  
    7878}
    7979
     80inline void G4VisManager::GetWindowLocationHint
     81 (G4int& xHint, G4int& yHint) const {
     82  xHint = fpViewer->GetViewParameters().GetWindowLocationHintX();
     83  yHint = fpViewer->GetViewParameters().GetWindowLocationHintY();
     84}
     85
    8086inline const G4String& G4VisManager::GetXGeometryString () const {
    8187  return fXGeometryString;
     
    118124}
    119125
     126inline 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
    120135inline void G4VisManager::SetXGeometryString (const G4String& geomString) {
    121136  fXGeometryString = geomString;
Note: See TracChangeset for help on using the changeset viewer.