FACT++  1.0
MGImage::~MGImage ( )

Definition at line 57 of file MGImage.cc.

References fDefGC, fImage, and fMuxPixmap.

58 {
59 // if (fMuxPixmap->Lock()==13)
60 // cout << "MGImage::~MGImage - mutex is already locked by this thread" << endl;
61 
62  cout << "Deleting MGImage..." << endl;
63 
64  gVirtualX->DeleteGC(fDefGC);
65  gVirtualX->DeleteImage((Drawable_t)fImage);
66 
67  //cout << fMuxPixmap->UnLock() << endl;
68 
69  delete fMuxPixmap;
70 
71  cout << "MGImage destroyed." << endl;
72 }
TMutex * fMuxPixmap
Definition: MGImage.h:31
XImage * fImage
Definition: MGImage.h:23
GContext_t fDefGC
Definition: MGImage.h:25