Ignore:
Timestamp:
May 11, 2009, 11:55:23 AM (15 years ago)
Author:
garnier
Message:

resize en cours de factorisation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/OpenGL/src/G4OpenGLXmViewer.cc

    r1036 r1037  
    146146  borcol = XBlackPixelOfScreen (XtScreen(shell));
    147147 
    148   fWinSize_x = fVP.GetWindowSizeHintX();
    149   fWinSize_y = fVP.GetWindowSizeHintY();
    150148  G4int x_origin = fVP.GetWindowAbsoluteLocationHintX(DisplayWidth(dpy, vi -> screen));
    151149
     
    159157                   XtNdepth, vi -> depth,
    160158                   XtNcolormap, cmap,
    161                    XtNwidth, fWinSize_x,
    162                    XtNheight, fWinSize_y,
     159                   XtNwidth, getWinWidth(),
     160                   XtNheight, getWinHeight(),
    163161                   XtNx, x_origin,
    164162                   XtNy, y_origin,
     
    172170                   XtNdepth, vi -> depth,
    173171                   XtNcolormap, cmap,
    174                    XtNwidth, fWinSize_x,
    175                    XtNheight, fWinSize_y,
     172                   XtNwidth, getWinWidth(),
     173                   XtNheight, getWinHeight(),
    176174                   XtNborderColor, &borcol,
    177175                   XtNbackground, &bgnd,
Note: See TracChangeset for help on using the changeset viewer.