Changeset 2484 for trunk/MagicSoft
- Timestamp:
- 11/07/03 14:50:27 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2481 r2484 22 22 * mhist/Makefile, mhist/HistLinkDef.h: 23 23 - added MHEvent 24 25 * NEWS: 26 - updated 27 28 * mhist/MHCamera.[h,cc]: 29 - implemented kNoLegend=BIT(20) 30 - Clear pad before drawing Camera 31 32 * mmain/MStatusDisplay.cc: 33 - print when updating ps-header 24 34 25 35 -
trunk/MagicSoft/Mars/NEWS
r2472 r2484 14 14 upcomming camera version 0.7. The base for a general support 15 15 is implemented and the star-functionality is proven to work. 16 - Replaced Event-Display in and Camera-Display in the Mars GUI 17 executable by a more convinient display base on MStatusDisplay. 16 18 17 19 -
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r2476 r2484 399 399 // Maintain aspect ratio 400 400 // 401 const float ratio = 1.15;401 const float ratio = TestBit(kNoLegend) ? 1 : 1.15; 402 402 403 403 // … … 447 447 max += 1; 448 448 449 UpdateLegend(min, max, islog); 449 if (!TestBit(kNoLegend)) 450 UpdateLegend(min, max, islog); 450 451 451 452 MHexagon hex; … … 532 533 return; 533 534 } 535 536 gPad->Clear(); 534 537 535 538 // Maintain aspect ratio -
trunk/MagicSoft/Mars/mhist/MHCamera.h
r2421 r2484 30 30 public: 31 31 enum { 32 kProfile = BIT(18), 33 kFreezed = BIT(19) 32 kProfile = BIT(18), 33 kFreezed = BIT(19), 34 kNoLegend = BIT(20) 34 35 }; 35 36 private: -
trunk/MagicSoft/Mars/mmain/MEventDisplay.cc
r2483 r2484 271 271 // Create the gui elements 272 272 // 273 TGTextButton *prevevt = new TGTextButton(top2, " << Previous Event", kEvtPrev);273 TGTextButton *prevevt = new TGTextButton(top2, " << ", kEvtPrev); 274 274 prevevt->Associate(this); 275 275 276 TGLabel *evtnr = new TGLabel(top2, new TGString("Event: 276 TGLabel *evtnr = new TGLabel(top2, new TGString("Event:")); 277 277 278 278 TGTextEntry *entry=new TGTextEntry(top2, new TGTextBuffer(100), kEvtNumber); … … 280 280 entry->Associate(this); 281 281 282 fNumOfEvts = new TGLabel(top2, "o ut of Events.");283 284 TGTextButton *nextevt = new TGTextButton (top2, " Next Event >>", kEvtNext);282 fNumOfEvts = new TGLabel(top2, "of ."); 283 284 TGTextButton *nextevt = new TGTextButton (top2, " >> ", kEvtNext); 285 285 nextevt->Associate(this); 286 286 … … 438 438 TCanvas &c=AddTab("Geometry"); 439 439 440 c.SetFillColor(16); 441 440 442 MHCamera *cam = new MHCamera(*geom); 441 cam->SetBit(TH1::kNoStats );443 cam->SetBit(TH1::kNoStats|MHCamera::kNoLegend); 442 444 cam->Draw(); 443 445 cam->DrawPixelIndices(); … … 452 454 ReadinEvent(); 453 455 454 TGString *txt = new TGString(Form("o ut of %d Events", GetReader()->GetEntries()));456 TGString *txt = new TGString(Form("of %d.", GetReader()->GetEntries())); 455 457 fNumOfEvts->SetText(txt); 456 458 -
trunk/MagicSoft/Mars/mmain/MStatusDisplay.cc
r2477 r2484 1858 1858 1859 1859 ps.Close(); 1860 1861 if (num<0) 1862 *fLog << inf << " - "; 1863 1864 SetStatusLine2("Updating Postscript header..."); 1865 *fLog << inf << "Updating Postscript header..." << flush; 1860 1866 UpdatePSHeader(name); 1867 *fLog << inf << "done." << endl; 1868 1861 1869 1862 1870 gVirtualPS = psave;
Note:
See TracChangeset
for help on using the changeset viewer.