Changeset 2231 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- Oct 25, 2002, 12:45:09 AM (23 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/piaversion.h
r2217 r2231 2 2 #define PIAPPVERSION_H_SEEN 3 3 4 #define PIAPP_VERSIONNUMBER 3.6 04 #define PIAPP_VERSIONNUMBER 3.62 5 5 6 6 #endif -
trunk/SophyaPI/PIext/pihisto2d.cc
r1905 r2231 52 52 //-- 53 53 { 54 // La fonction virtuelle DeactivateControlWindow() doit etre appele 55 // a ce niveau - En effet au niveau du destructeur de base, il 56 // semble pointer sur la fonction de la classe de base 57 // Reza - Octobre 2002 58 // Desactivation totale de la fenetre de controle specialise 59 // ---> parametre d'appel PIBaseWdgGen* wdg=NULL 60 DeactivateControlWindow(NULL); 54 61 if(mAdDO && mHisto!=NULL) delete mHisto; 55 62 } … … 205 212 } 206 213 214 //++ 215 void PIHisto2D::DeactivateControlWindow(PIBaseWdgGen* wdg) 216 // 217 // Desactivation de la fenetre de controle specialisee 218 //-- 219 { 220 if (H2WinArg::GetCurrentPIHisto2D() == this) { 221 // si wdg != NULL, c'est un Detach (Drawer detache du PIBaseWdg 222 // si wdg == NULL, c'est un delete du PIHisto2D (du PIDrawer) 223 if ((wdg == NULL) || (H2WinArg::GetCurrentBaseWdg() == wdg)) { 224 H2WinArg::SetCurrentBaseWdg(NULL); 225 H2WinArg::SetCurrentPIHisto2D(NULL); 226 H2WinArg::HidePIHisto2DTools(); 227 } 228 } 229 PIDrawer::DeactivateControlWindow(wdg); 230 return; 231 } 207 232 208 233 //++ -
trunk/SophyaPI/PIext/pihisto2d.h
r1884 r2231 41 41 // Methode permettant l'affichage d'une fenetre de controle specialisee 42 42 virtual void ShowControlWindow(PIBaseWdgGen* wdg); 43 // Desactivation de la fenetre de controle specialisee 44 virtual void DeactivateControlWindow(PIBaseWdgGen* wdg); 43 45 44 46 inline Histo2D* Histogram() {return(mHisto);} -
trunk/SophyaPI/PIext/pistdimgapp.cc
r2217 r2231 1160 1160 it = mDrwList.find(-k); 1161 1161 if (it == mDrwList.end()) return; 1162 (*it).second->SetAutoRefreshOnDelete(true); 1162 1163 delete (*it).second; 1163 1164 mDrwList.erase(it);
Note:
See TracChangeset
for help on using the changeset viewer.