Changeset 1086 for trunk/MagicSoft/Mars/mmain/MEvtDisp.cc
- Timestamp:
- 11/16/01 15:59:05 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmain/MEvtDisp.cc
r1082 r1086 28 28 #include <TGButton.h> // TGTextButton 29 29 30 #include "MGList.h" 30 31 #include "MGFadcDisp.h" 31 32 … … 33 34 34 35 enum { 35 M_BUT_DISP1_EVT,36 M_BUT_DISP1_PED,37 M_BUT_DISP1_CAL36 kButDispEvt = 0x100, 37 kButDispPedestal = 0x101, 38 kButDispCalibration = 0x102 38 39 }; 39 40 … … 42 43 : MBrowser(main, p, w, h) 43 44 { 44 TGTextButton *fadcevt = new TGTextButton(fTop1, "FADC Disp for Events", M_BUT_DISP1_EVT);45 TGTextButton *fadcped = new TGTextButton(fTop1, "FADC Disp for PedEvts", M_BUT_DISP1_PED);46 TGTextButton *fadccal = new TGTextButton(fTop1, "FADC Disp for CalEvts", M_BUT_DISP1_CAL);45 TGTextButton *fadcevt = new TGTextButton(fTop1, "FADC Disp for Events", kButDispEvt); 46 TGTextButton *fadcped = new TGTextButton(fTop1, "FADC Disp for PedEvts", kButDispPedestal); 47 TGTextButton *fadccal = new TGTextButton(fTop1, "FADC Disp for CalEvts", kButDispCalibration); 47 48 48 49 fadcevt->Associate(this); … … 82 83 switch (parm1) 83 84 { 84 case M_BUT_DISP1_EVT:85 case M_BUT_DISP1_PED:86 case M_BUT_DISP1_CAL:85 case kButDispEvt: 86 case kButDispPedestal: 87 case kButDispCalibration: 87 88 if (!InputFileSelected()) 88 89 { … … 93 94 switch (parm1) 94 95 { 95 case M_BUT_DISP1_EVT:96 case kButDispEvt: 96 97 new MGFadcDisp(fInputFile, "Events", 97 98 fClient->GetRoot(), this, 600, 500); 98 99 return kTRUE; 99 100 100 case M_BUT_DISP1_PED:101 case kButDispPedestal: 101 102 new MGFadcDisp(fInputFile , "PedEvts", 102 103 fClient->GetRoot(), this, 600, 500); 103 104 return kTRUE; 104 105 105 case M_BUT_DISP1_CAL:106 case kButDispCalibration: 106 107 new MGFadcDisp(fInputFile , "CalEvts", 107 108 fClient->GetRoot(), this, 600, 500);
Note:
See TracChangeset
for help on using the changeset viewer.