Changeset 1668 for trunk/MagicSoft/Mars/meventdisp
- Timestamp:
- 11/25/02 09:12:47 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/meventdisp
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/meventdisp/MGCamDisplay.cc
r1540 r1668 148 148 // 149 149 MGCamDisplay::MGCamDisplay(const char *filename, 150 const TGWindow *p, const TGWindow *main,150 const TGWindow *p, /*const TGWindow *main,*/ 151 151 UInt_t w, UInt_t h) 152 : MGEvtDisplay(filename, "Events", p, main,w, h), fDisplay(NULL)152 : MGEvtDisplay(filename, "Events", p, /*main,*/ w, h), fDisplay(NULL) 153 153 { 154 154 // -
trunk/MagicSoft/Mars/meventdisp/MGCamDisplay.h
r1540 r1668 32 32 public: 33 33 MGCamDisplay(const char *filename, 34 const TGWindow *p, const TGWindow *main,34 const TGWindow *p, /*const TGWindow *main,*/ 35 35 UInt_t w, UInt_t h); 36 36 -
trunk/MagicSoft/Mars/meventdisp/MGEvtDisplay.cc
r1600 r1668 141 141 fEvtInfo = new TGLabel(top2, new TGString("")); 142 142 fList->Add(fEvtInfo); 143 144 143 top2->AddFrame(fEvtInfo, laystd); 145 144 … … 393 392 394 393 MGEvtDisplay::MGEvtDisplay(const char *fname, const char *tname, 395 const TGWindow *p, const TGWindow *main,394 const TGWindow *p, /*const TGWindow *main,*/ 396 395 UInt_t w, UInt_t h) 397 : TGTransientFrame(p, main, w, h), fInitOk(kFALSE) 396 // : TGTransientFrame(p, main, w, h), fInitOk(kFALSE) 397 : TGMainFrame(p, w, h), fInitOk(kFALSE) 398 398 { 399 399 // … … 472 472 break; 473 473 default: 474 txt += "Unknown Particle Id"; 474 txt += "Unknown Particle Id#"; 475 txt += evt->GetPartId(); 475 476 } 476 477 … … 493 494 494 495 fEvtInfo->SetText(txt); 496 497 // 498 // Seems to be necessary to newly layout the upper part to display 499 // the whole line of text 500 // 501 TGFrame &f = *(TGFrame*)fEvtInfo->GetParent()->GetParent(); 502 f.Layout(); 503 f.MapSubwindows(); 495 504 } 496 505 -
trunk/MagicSoft/Mars/meventdisp/MGEvtDisplay.h
r1540 r1668 21 21 class MReadTree; 22 22 23 class MGEvtDisplay : public TG TransientFrame23 class MGEvtDisplay : public TGMainFrame/*TGTransientFrame*/ 24 24 { 25 25 private: … … 74 74 public: 75 75 MGEvtDisplay(const char *fname, const char *tname, 76 const TGWindow *p, const TGWindow *main,76 const TGWindow *p, /*const TGWindow *main,*/ 77 77 UInt_t w, UInt_t h); 78 78 -
trunk/MagicSoft/Mars/meventdisp/MGFadcDisp.cc
r1172 r1668 113 113 // 114 114 MGFadcDisp::MGFadcDisp(const char *filename, const char *treename, 115 const TGWindow *p, const TGWindow *main,115 const TGWindow *p, /*const TGWindow *main,*/ 116 116 UInt_t w, UInt_t h) 117 : MGEvtDisplay(filename, treename, p, main,w, h)117 : MGEvtDisplay(filename, treename, p, /*main,*/ w, h) 118 118 { 119 119 // -
trunk/MagicSoft/Mars/meventdisp/MGFadcDisp.h
r1172 r1668 23 23 24 24 MGFadcDisp(const char *filename, const char *treename, 25 const TGWindow *p, const TGWindow *main,UInt_t w, UInt_t h);25 const TGWindow *p, /*const TGWindow *main,*/ UInt_t w, UInt_t h); 26 26 27 27 virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
Note:
See TracChangeset
for help on using the changeset viewer.