Changeset 859 for trunk/MagicSoft/Mars/mgui
- Timestamp:
- 07/06/01 14:48:54 (23 years ago)
- Location:
- trunk/MagicSoft/Mars/mgui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mgui/MCamDisplay.cc
r695 r859 86 86 // if no canvas is yet existing to draw into, create a new one 87 87 // 88 if ( !gPad ) new TCanvas("display", "MAGIC display", 0, 0, 650, 500);88 if (!gPad) new TCanvas("display", "MAGIC display", 0, 0, 650, 500); 89 89 90 90 // 91 91 // draw all pixels of the camera 92 92 // 93 for (UInt_t i=0; i< 93 for (UInt_t i=0; i<fNumPixels; i++) 94 94 (*this)[i].Draw(); 95 95 … … 97 97 // draw legend 98 98 // 99 for (Int_t i=0; i< 99 for (Int_t i=0; i<kITEMS_LEGEND; i++) 100 100 { 101 101 GetBox(i)->Draw(); -
trunk/MagicSoft/Mars/mgui/MGeomCam.h
r695 r859 31 31 UInt_t GetNumPixels() const { return fNumPixels; } 32 32 33 MGeomPix &operator[](Int_t i) { return *(MGeomPix*)fPixels->At(i); } 33 MGeomPix &operator[](Int_t i) { return *(MGeomPix*)fPixels->At(i); } 34 MGeomPix &operator[](Int_t i) const { return *(MGeomPix*)fPixels->At(i); } 34 35 35 36 virtual void Print(Option_t *opt=NULL);
Note:
See TracChangeset
for help on using the changeset viewer.