Changeset 973
- Timestamp:
- 10/23/01 13:24:54 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgui/MCamDisplay.cc
r961 r973 36 36 37 37 for (UInt_t i=0; i<fNumPixels; i++) 38 (*fPixels)[i] = newMHexagon((*geom)[i]);38 new ((*fPixels)[i]) MHexagon((*geom)[i]); 39 39 40 40 // … … 55 55 const Int_t y = il*40; 56 56 57 TBox *newbox = new TBox (650, y-500, 700, y-460);58 TText *newtxt = new TText(720, y-480, text);57 TBox *newbox = new ((*fLegend)[il]) TBox (650, y-500, 700, y-460); 58 TText *newtxt = new ((*fLegText)[il]) TText(720, y-480, text); 59 59 60 60 const Float_t lvl = 50. / kITEMS_LEGEND * il; … … 66 66 newtxt->SetTextSize(0.025); 67 67 newtxt->SetTextAlign(12); 68 69 (*fLegend) [il] = newbox;70 (*fLegText)[il] = newtxt;71 68 } 72 69 }
Note:
See TracChangeset
for help on using the changeset viewer.