Ignore:
Timestamp:
02/02/08 13:06:37 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/gui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/gui/MGCoordinates.cc

    r8847 r8852  
    77#include "MGCoordinates.h"
    88
    9 #include <iostream>  // cout
     9#include "MGCoordinate.h"
    1010
    11 #include "MGCoordinate.h"
     11#include "MLog.h"
     12#include "MLogManip.h"
    1213
    1314ClassImp(MGCoordinates);
     
    4142    delete fX;
    4243
    43     cout << "MGCoordinates destroyed." << endl;
     44    gLog << inf2 << "MGCoordinates destroyed." << endl;
    4445}
    4546
  • trunk/MagicSoft/Cosy/gui/MGImage.cc

    r7787 r8852  
    2020#include "MGImage.h"
    2121
    22 #include <iostream>
    23 
    2422#include <TGX11.h>
    2523#include <TMutex.h>
     24
     25#include "MLog.h"
     26#include "MLogManip.h"
    2627
    2728ClassImp(MGImage);
     
    4950    fImage  = (XImage*)gVirtualX->CreateImage(fWidth, fHeight);
    5051
    51     cout << "Detected Color Depth: " << gVirtualX->GetDepth() << endl;
     52    gLog << all << "Detected Color Depth: " << gVirtualX->GetDepth() << endl;
    5253}
    5354
     
    5758        cout << "MGImage::~MGImage - mutex is already locked by this thread" << endl;
    5859
    59     cout << "Deleting MGImage..." << endl;
     60    gLog << inf2 << "Deleting MGImage..." << endl;
    6061
    6162    gVirtualX->DeleteGC(fDefGC);
    6263    gVirtualX->DeleteImage((Drawable_t)fImage);
    6364
     65    //cout << fMuxPixmap->UnLock() << endl;
     66
    6467    delete fMuxPixmap;
    6568
    66     cout << "MGImage destroyed." << endl;
     69    gLog << inf2 << "MGImage destroyed." << endl;
    6770}
    6871
     
    8790    if (TestBit(kSyncMode))
    8891        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;
    9093}
    9194
  • trunk/MagicSoft/Cosy/gui/MGSkyPosition.cc

    r8847 r8852  
    77#include "MGSkyPosition.h"
    88
    9 #include <iostream>  // cout
    10 
    119#include <TArc.h>
    1210#include <TLine.h>
     
    1412#include <TList.h>
    1513#include <TCanvas.h>
     14
     15#include "MLog.h"
     16#include "MLogManip.h"
    1617
    1718#include "MAstro.h"
     
    249250    delete fSlaStar;
    250251
    251     cout << "MGSkyPosition destroyed." << endl;
     252    gLog << inf2 << "MGSkyPosition destroyed." << endl;
    252253}
    253254
Note: See TracChangeset for help on using the changeset viewer.