Changeset 2677 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- Apr 19, 2005, 11:13:49 AM (20 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/nobjmgr.cc
r2672 r2677 1309 1309 void NamedObjMgr::DisplayObj(string& nom, string dopt) 1310 1310 { 1311 // Pas de display si option dopt = nodisp 1312 if ( (dopt == "nodisp") || (dopt == "nodisplay") ) return; 1313 1311 1314 ZSync(*myMutex); 1312 1315 … … 1356 1359 void NamedObjMgr::DisplayImage(string& nom, string dopt, bool fgimagnav) 1357 1360 { 1361 // Pas de display si option dopt = nodisp 1362 if ( (dopt == "nodisp") || (dopt == "nodisplay") ) return; 1363 1358 1364 ZSync(*myMutex); 1359 1365 … … 1393 1399 void NamedObjMgr::DisplaySurf3D(string& nom, string dopt) 1394 1400 { 1401 // Pas de display si option dopt = nodisp 1402 if ( (dopt == "nodisp") || (dopt == "nodisplay") ) return; 1403 1395 1404 ZSync(*myMutex); 1396 1405 … … 1440 1449 string& label, string dopt, bool fg3d) 1441 1450 { 1451 // Pas de display si option dopt = nodisp 1452 if ( (dopt == "nodisp") || (dopt == "nodisplay") ) return; 1453 1442 1454 ZSync(*myMutex); 1443 1455 … … 1503 1515 //| opt = options generales pour le display. 1504 1516 { 1517 // Pas de display si option dopt = nodisp 1518 if ( (dopt == "nodisp") || (dopt == "nodisplay") ) return; 1519 1505 1520 ZSync(*myMutex); 1506 1521 … … 1556 1571 // nomvx et nomvy 1557 1572 { 1573 // Pas de display si option dopt = nodisp 1574 if ( (dopt == "nodisp") || (dopt == "nodisplay") ) return; 1575 1558 1576 ZSync(*myMutex); 1559 1577 -
trunk/SophyaPI/PIext/piacmd.cc
r2672 r2677 165 165 usage = "To display the Help window "; 166 166 RegisterCommand(kw, usage, NULL, grp); 167 kw = " breakexe";168 usage = "To break (stop) interpreter (PIACmd/Commander) execution";167 kw = "stop"; 168 usage = "To stop (break) interpreter (PIACmd/Commander) execution"; 169 169 RegisterCommand(kw, usage, NULL, grp); 170 170 … … 206 206 void PIACmd::AddInputLine(string const & line) 207 207 { 208 if (line == " breakexe") {208 if (line == "stop") { 209 209 StopExecution(); 210 210 return; -
trunk/SophyaPI/PIext/piaversion.h
r2651 r2677 2 2 #define PIAPPVERSION_H_SEEN 3 3 4 #define PIAPP_VERSIONNUMBER 3.9 724 #define PIAPP_VERSIONNUMBER 3.98 5 5 6 6 #endif -
trunk/SophyaPI/PIext/pistdimgapp.cc
r2673 r2677 572 572 else if ( (msg >= 10500) && (msg < 10600) ) MBProcess5(msg, sender, data); 573 573 else if ( (msg >= 10600) && (msg < 10700) ) MBProcess6(msg, sender, data); 574 else if ( msg == 30200 ) { // Objet PIConsole 574 else if ( (msg == 30200) && (smm == PIMsg_Cancel) ) // <Cntrl C> appuye sur Console 575 CmdInterpreter()->StopExecution(); 576 else if ( (msg == 30200 ) && (smm == PIMsg_OK) ){ // Objet PIConsole avec <Return>/<Enter> 575 577 string s = mCons->GetCmdString(); 576 578 // string s2 = "\nExecuting " + s + "\n";
Note:
See TracChangeset
for help on using the changeset viewer.