Changeset 8852 for trunk/MagicSoft/Cosy/gui
- Timestamp:
- 02/02/08 13:06:37 (17 years ago)
- Location:
- trunk/MagicSoft/Cosy/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/gui/MGCoordinates.cc
r8847 r8852 7 7 #include "MGCoordinates.h" 8 8 9 #include <iostream> // cout9 #include "MGCoordinate.h" 10 10 11 #include "MGCoordinate.h" 11 #include "MLog.h" 12 #include "MLogManip.h" 12 13 13 14 ClassImp(MGCoordinates); … … 41 42 delete fX; 42 43 43 cout<< "MGCoordinates destroyed." << endl;44 gLog << inf2 << "MGCoordinates destroyed." << endl; 44 45 } 45 46 -
trunk/MagicSoft/Cosy/gui/MGImage.cc
r7787 r8852 20 20 #include "MGImage.h" 21 21 22 #include <iostream>23 24 22 #include <TGX11.h> 25 23 #include <TMutex.h> 24 25 #include "MLog.h" 26 #include "MLogManip.h" 26 27 27 28 ClassImp(MGImage); … … 49 50 fImage = (XImage*)gVirtualX->CreateImage(fWidth, fHeight); 50 51 51 cout<< "Detected Color Depth: " << gVirtualX->GetDepth() << endl;52 gLog << all << "Detected Color Depth: " << gVirtualX->GetDepth() << endl; 52 53 } 53 54 … … 57 58 cout << "MGImage::~MGImage - mutex is already locked by this thread" << endl; 58 59 59 cout<< "Deleting MGImage..." << endl;60 gLog << inf2 << "Deleting MGImage..." << endl; 60 61 61 62 gVirtualX->DeleteGC(fDefGC); 62 63 gVirtualX->DeleteImage((Drawable_t)fImage); 63 64 65 //cout << fMuxPixmap->UnLock() << endl; 66 64 67 delete fMuxPixmap; 65 68 66 cout<< "MGImage destroyed." << endl;69 gLog << inf2 << "MGImage destroyed." << endl; 67 70 } 68 71 … … 87 90 if (TestBit(kSyncMode)) 88 91 if (fMuxPixmap->UnLock()==13) 89 cout<< "MGImage::DoRedraw - tried to unlock mutex locked by other thread." << endl;92 gLog << warn << "MGImage::DoRedraw - tried to unlock mutex locked by other thread." << endl; 90 93 } 91 94 -
trunk/MagicSoft/Cosy/gui/MGSkyPosition.cc
r8847 r8852 7 7 #include "MGSkyPosition.h" 8 8 9 #include <iostream> // cout10 11 9 #include <TArc.h> 12 10 #include <TLine.h> … … 14 12 #include <TList.h> 15 13 #include <TCanvas.h> 14 15 #include "MLog.h" 16 #include "MLogManip.h" 16 17 17 18 #include "MAstro.h" … … 249 250 delete fSlaStar; 250 251 251 cout<< "MGSkyPosition destroyed." << endl;252 gLog << inf2 << "MGSkyPosition destroyed." << endl; 252 253 } 253 254
Note:
See TracChangeset
for help on using the changeset viewer.