Changeset 706 for trunk/MagicSoft/Mars/mgui
- Timestamp:
- 03/27/01 16:05:54 (24 years ago)
- Location:
- trunk/MagicSoft/Mars/mgui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgui/MGMarsMain.h
r698 r706 26 26 // the things for the menu bar 27 27 28 TGMenuBar *fMenuBar ; 29 TGPopupMenu *fFileMenu ; 30 TGLayoutHints *fLayMenuBar, *fLayMenuItem ; 28 TGMenuBar *fMenuBar ; 29 TGPopupMenu *fFileMenu ; 30 TGLayoutHints *fLayMenuBar; 31 TGLayoutHints *fLayMenuItem ; 31 32 TGHorizontal3DLine *fLineSep ; 32 33 … … 40 41 // the object in the top part of the frame 41 42 42 TGPictureButton *fPicMagic, *fPicMars ; 43 TGPictureButton *fPicMagic; 44 TGPictureButton *fPicMars ; 43 45 44 46 // the object in the low part of the frame 45 47 46 TGVerticalFrame *fTabF1, *fTabF2 ; 48 TGVerticalFrame *fTabF1; 49 TGVerticalFrame *fTabF2 ; 47 50 48 TGTextButton *fButEvtDisp, *fButDataCheck, *fButAnalys, *fButMonteCarlo ; 51 TGTextButton *fButEvtDisp; 52 TGTextButton *fButDataCheck; 53 TGTextButton *fButAnalys; 54 TGTextButton *fButMonteCarlo ; 49 55 TGLayoutHints *fButLayout ; 50 56 -
trunk/MagicSoft/Mars/mgui/MGMonteCarloMain.cc
r571 r706 27 27 MGMonteCarloMain::MGMonteCarloMain(const TGWindow *p, const TGWindow *main, 28 28 UInt_t w, UInt_t h ) 29 : TGTransientFrame(p, main, w, h ) 29 : TGTransientFrame(p, main, w, h ) 30 30 { 31 31 // … … 222 222 // Checks if there is a selected input root file 223 223 224 if ( strcmp ( fInputFile, "\n") == 0 ) 225 { 226 return ( kFALSE ) ; 227 } 228 229 return (kTRUE) ; 224 return strcmp ( fInputFile, "\n") == 0 ? kFALSE : kTRUE; 230 225 } 231 226
Note:
See TracChangeset
for help on using the changeset viewer.