Ignore:
Timestamp:
Dec 3, 2008, 7:03:25 PM (17 years ago)
Author:
garnier
Message:

suppres des debug et modif des WinSize

Location:
trunk/source/visualization/management/include
Files:
3 edited

Legend:

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

    r896 r897  
    156156        G4int            GetWindowAbsoluteLocationHintX (G4int) const;
    157157        G4int            GetWindowAbsoluteLocationHintY (G4int) const;
    158         G4int            GetWindowSizeHintX      () const;
    159         G4int            GetWindowSizeHintY      () const;
     158        unsigned int     GetWindowSizeHintX      () const;
     159        unsigned int     GetWindowSizeHintY      () const;
    160160        G4int            GetWindowLocationHintX  () const;
    161161        G4int            GetWindowLocationHintY  () const;
    162162  const G4String&        GetXGeometryString      () const;
    163   // If non-null, can be interpreted with XParseGeometry (see man
    164   // pages).  Supercedes GetWindowSizeHintX/Y.
     163  // GetXGeometryString is intended to be parsed by XParseGeometry.
     164  // It contains the size information, as in GetWindowSizeHint, but
     165  // may also contain the window position, e.g., "600x600-0+200.  The
     166  // viewer should use this in preference to GetWindowSizeHint, since
     167  // it contains more information.  (The size information in
     168  // GetXGeometryString and GetWindowSizeHint is guaranteed to be
     169  // identical.)
    165170        G4bool           IsAutoRefresh           () const;
    166171  const G4Colour&        GetBackgroundColour     () const;
  • trunk/source/visualization/management/include/G4ViewParameters.icc

    r896 r897  
    162162}
    163163
    164 inline G4int G4ViewParameters::GetWindowSizeHintX () const {
     164inline unsigned int G4ViewParameters::GetWindowSizeHintX () const {
    165165  return fWindowSizeHintX;
    166166}
    167167
    168 inline G4int G4ViewParameters::GetWindowSizeHintY () const {
     168inline unsigned int G4ViewParameters::GetWindowSizeHintY () const {
    169169  return fWindowSizeHintY;
    170170}
    171171
    172172inline G4int G4ViewParameters::GetWindowLocationHintX () const {
    173 #ifdef G4DEBUG
    174         printf("G4ViewParameters::GetWindowLocationHintX () :: %d\n",fWindowLocationHintX);
    175 #endif
    176173  return fWindowLocationHintX;
    177174}
    178175
    179176inline G4int G4ViewParameters::GetWindowLocationHintY () const {
    180 #ifdef G4DEBUG
    181         printf("G4ViewParameters::GetWindowLocationHintY () :: %d\n",fWindowLocationHintY);
    182 #endif
    183177  return fWindowLocationHintY;
    184178}
     
    343337
    344338inline void G4ViewParameters::SetWindowLocationHint (G4int xHint, G4int yHint) {
    345 #ifdef G4DEBUG
    346         printf("G4ViewParameters::SetWindowLocationHint () :: %d %d\n",xHint,yHint);
    347 #endif
    348339  fWindowLocationHintX = xHint;
    349340  fWindowLocationHintY = yHint;
  • trunk/source/visualization/management/include/G4VisManager.hh

    r896 r897  
    353353  const G4SceneList&           GetSceneList                () const;
    354354  Verbosity                    GetVerbosity                () const;
    355   void  GetWindowSizeHint (G4int& xHint, G4int& yHint) const;
    356   // Note: GetWindowSizeHint information is returned via the G4int& arguments.
    357   void  GetWindowLocationHint (G4int& xHint, G4int& yHint) const;
    358   const G4String&              GetXGeometryString          () const;
    359   // GetXGeometryString is intended to be parsed by XParseGeometry.
    360   // It contains the size information, as in GetWindowSizeHint, but
    361   // may also contain the window position, e.g., "600x600-0+200.  The
    362   // viewer should use this in preference to GetWindowSizeHint, since
    363   // it contains more information.  (The size information in
    364   // GetXGeometryString and GetWindowSizeHint is guaranteed to be
    365   // identical.)
    366355  G4bool                       GetTransientsDrawnThisRun       () const;
    367356  G4bool                       GetTransientsDrawnThisEvent     () const;
     
    381370  void              SetVerboseLevel             (const G4String&);
    382371  void              SetVerboseLevel             (Verbosity);
    383   void              SetWindowSizeHint           (G4int xHint, G4int yHint);
    384   void              SetWindowLocationHint           (G4int xHint, G4int yHint);
    385   void              SetXGeometryString          (const G4String&);
    386372  void              SetEventRefreshing          (G4bool);
    387373  void              ResetTransientsDrawnFlags   ();
     
    458444  std::vector<G4UIcommand*>   fDirectoryList;
    459445  G4VisStateDependent*  fpStateDependent;   // Friend state dependent class.
    460   G4int fWindowSizeHintX, fWindowSizeHintY; // For viewer...
    461   G4int fWindowLocationHintX, fWindowLocationHintY; // For viewer...
    462   G4String              fXGeometryString;   // ...construction.
    463446  G4TrajectoriesModel   dummyTrajectoriesModel;  // For passing drawing mode.
    464447  G4bool                fEventRefreshing;
Note: See TracChangeset for help on using the changeset viewer.