Ignore:
Timestamp:
Dec 3, 2008, 5:31:19 PM (16 years ago)
Author:
garnier
Message:

Modif pour XGeometry complet. Avec debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/management/include/G4ViewParameters.hh

    r893 r896  
    154154        G4double         GetGlobalLineWidthScale () const;
    155155        G4bool           IsMarkerNotHidden       () const;
     156        G4int            GetWindowAbsoluteLocationHintX (G4int) const;
     157        G4int            GetWindowAbsoluteLocationHintY (G4int) const;
    156158        G4int            GetWindowSizeHintX      () const;
    157159        G4int            GetWindowSizeHintY      () const;
     
    233235
    234236private:
     237  G4int ParseGeometry ( const char *string, G4int *x, G4int *y, unsigned int *width, unsigned int *height);
     238  G4int ReadInteger(char *string, char **NextString);
     239
     240  G4int fNoValue;
     241  G4int fXValue; // XValue set for XGeometry
     242  G4int fYValue; // YValue set for XGeometry
     243  G4int fWidthValue; // WidthValue set for XGeometry
     244  G4int fHeightValue; // HeightValue set for XGeometry
     245  G4int fAllValues; // AllValues are set for XGeometry
     246  G4int fXNegative; // XValue is from left for XGeometry
     247  G4int fYNegative; // YValue is from top for XGeometry
    235248
    236249  DrawingStyle fDrawingStyle;    // Drawing style.
     
    275288  G4int        fWindowLocationHintX; // Location hints for pixel-based window systems.
    276289  G4int        fWindowLocationHintY;
     290  G4bool       fWindowLocationHintXNegative; //  Reference of location hints for pixel-based window systems.
     291  G4bool       fWindowLocationHintYNegative;
    277292  G4String     fXGeometryString; // If non-null, geometry string for X Windows.
    278293  G4bool       fAutoRefresh;     // ...after change of view parameters.
Note: See TracChangeset for help on using the changeset viewer.