Changeset 2812 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- Jun 28, 2005, 3:35:33 PM (20 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/piacmd.cc
r2781 r2812 315 315 PIBaseWdg* wdg = piapp->CurrentBaseWdg(); 316 316 if (wdg) wdg->Refresh(); 317 #ifndef __mac__318 /* On vide le buffer X-Window */319 XSync(PIXDisplay(),False);320 #endif321 317 } 322 318 char buff[128]; … … 334 330 335 331 // >>>>>>>>>>> Commande d'interpreteur 336 if (kw == "helpwindow") { 332 if ( (kw == "helpwindow") && (mImgApp)) { 333 ZSync zs(mImgApp->getMutex()); 337 334 ShowHelpWindow(); 335 zs.NOp(); 338 336 return 0; 339 337 } 340 338 // ----> Sortie d'application 341 else if ( kw == "exitpiapp") {339 else if ((kw == "exitpiapp") && (mImgApp)) { 342 340 mImgApp->Stop(); 343 341 return 0; … … 351 349 void PIACmd::ShowHelpWindow() 352 350 { 353 helpwin->Show();351 helpwin->Show(); 354 352 } 355 353 … … 357 355 void PIACmd::ShowCxxOptionWindow() 358 356 { 359 cxxoptwin->Show();357 cxxoptwin->Show(); 360 358 } 361 359 … … 363 361 void PIACmd::ShowCxxExecWindow() 364 362 { 365 cxxexwin->Show();363 cxxexwin->Show(); 366 364 } 367 365 -
trunk/SophyaPI/PIext/piafitting.cc
r2615 r2812 1061 1061 } else if(kw == "fitlin") { 1062 1062 LinFit(); 1063 } else if(kw == "fitw") { 1063 } else if ((kw == "fitw") && (mApp != NULL) ) { 1064 ZSync zs(mApp->getMutex()); 1064 1065 if(FWindFit!=NULL) {delete FWindFit; FWindFit=NULL;} 1065 1066 FWindFit = new PIAFitterWind(mApp,this,tokens[1]); 1066 1067 FWindFit->Show(); 1068 zs.NOp(); 1067 1069 } 1068 1070
Note:
See TracChangeset
for help on using the changeset viewer.