Changeset 1057
- Timestamp:
- 11/08/01 15:00:25 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1052 r1057 1 1 -*-*- END -*-*- 2 2 2001/11/08: Thomas Bretz 3 4 * meventdisp/MGCamDisplay.cc: 5 - changed enums to root style 6 - get rid of the problem of button deletion by adding the buttons 7 as first entries to the list 8 9 * mmain/MMonteCarlo.cc: 10 - changed enums to root style 11 - get rid of the problem of button deletion by adding the buttons 12 as first entries to the list 3 13 4 14 * manalysis/MCerPhotCalc.cc, manalysis/MPedCalcPedRun.cc, -
trunk/MagicSoft/Mars/Makefile
r1052 r1057 105 105 mrproper: $(MRPROPERS) rmbin rmbak rmbakmac rmhtml clean 106 106 @echo " Done." 107 @echo " " 107 108 108 109 tar: mrproper -
trunk/MagicSoft/Mars/manalysis/Makefile
r1052 r1057 36 36 MHillasCalc.cc \ 37 37 MCerPhotCalc.cc \ 38 MCerPhotPix.cc \ 38 39 MCerPhotEvt.cc \ 39 MCerPhotPix.cc \40 40 MPedCalcPedRun.cc 41 41 -
trunk/MagicSoft/Mars/meventdisp/MGCamDisplay.cc
r1051 r1057 46 46 enum 47 47 { 48 M_RBUT_RAW = 0x1000,49 M_RBUT_CLEAN = 0x1001,50 M_CBUT_HILLAS = 0x100248 kRButRawEvt, 49 kRButCleanedEvt, 50 kCButHillas 51 51 }; 52 52 … … 63 63 fList->Add(group); 64 64 65 TGRadioButton *but1 = new TGRadioButton(group, "Raw Events", M_RBUT_RAW);66 TGRadioButton *but2 = new TGRadioButton(group, "Cleaned Events", M_RBUT_CLEAN);67 TGCheckButton *but3 = new TGCheckButton(fTab1, "Display Ellipse", M_CBUT_HILLAS);65 TGRadioButton *but1 = new TGRadioButton(group, "Raw Events", kRButRawEvt); 66 TGRadioButton *but2 = new TGRadioButton(group, "Cleaned Events", kRButCleanedEvt); 67 TGCheckButton *but3 = new TGCheckButton(fTab1, "Display Ellipse", kCButHillas); 68 68 69 69 but2->SetState(kButtonDown); … … 73 73 fDisplayHillas = kTRUE; 74 74 75 /* FXIME: 76 fList->Add(but1); 77 fList->Add(but2); 78 */ 75 /* 76 WARNING: 77 Bacause of some strage and hidden dependencies the 78 GetMaiFrame call in the destructor of TGButton may fail if some 79 of the other gui elemts is deleted first. 80 AddFirst adds the buttons at the beginning of the deletion list, 81 this seems to work. 82 */ 83 fList->AddFirst(but1); 84 fList->AddFirst(but2); 79 85 80 86 but1->Associate(this); … … 223 229 switch (parm1) 224 230 { 225 case M_CBUT_HILLAS:231 case kCButHillas: 226 232 fDisplayHillas = !fDisplayHillas; 227 233 UpdateDisplay(); … … 233 239 switch (parm1) 234 240 { 235 case M_RBUT_RAW:241 case kRButRawEvt: 236 242 fDisplayRaw = kTRUE; 237 243 UpdateDisplay(); 238 244 return kTRUE; 239 245 240 case M_RBUT_CLEAN:246 case kRButCleanedEvt: 241 247 fDisplayRaw = kFALSE; 242 248 UpdateDisplay(); -
trunk/MagicSoft/Mars/mmain/MMonteCarlo.cc
r1039 r1057 86 86 fRadioButton1->SetState(kButtonDown); 87 87 88 /* FIXME: 89 fList->Add(fRadioButton1); 90 fList->Add(fRadioButton2); 91 fList->Add(fRadioButton3); 92 */ 88 /* 89 WARNING: 90 Bacause of some strage and hidden dependencies the 91 GetMaiFrame call in the destructor of TGButton may fail if some 92 of the other gui elemts is deleted first. 93 AddFirst adds the buttons at the beginning of the deletion list, 94 this seems to work. 95 */ 96 fList->AddFirst(fRadioButton1); 97 fList->AddFirst(fRadioButton2); 98 fList->AddFirst(fRadioButton3); 93 99 94 100 //
Note:
See TracChangeset
for help on using the changeset viewer.