Changeset 374 in Sophya for trunk/SophyaPI/PIext/pistdimgapp.cc
- Timestamp:
- Aug 9, 1999, 4:42:11 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pistdimgapp.cc
r368 r374 32 32 33 33 #include "piinit.h" 34 #include "piversion.h" 35 #include "piaversion.h" 34 36 35 37 … … 102 104 m[5]->AppendItem("CloseAll", 10601); 103 105 m[5]->AppendCheckItem("Red.Out/Err", 10602); 104 m[5]->AppendCheckItem("Catch SigFPE/SEGV", 10603); 106 m[5]->AppendCheckItem("Catch SigFPE", 10603); 107 m[5]->AppendCheckItem("Catch SigSEGV", 10604); 105 108 106 109 m[6] = new PIMenu(Menubar(),"Modules"); … … 112 115 AppendMenu(m[4]); 113 116 AppendMenu(m[5]); 114 AppendMenu(m[6]); 117 // AppendMenu(m[6]); Menu Modules vide pour le moment 115 118 116 119 int scsx, scsy; … … 142 145 143 146 char buff[128]; 144 sprintf(buff, "piapp V2.0 --- PEIDA++ Version %5.3f \n", (float)PeidaVersion());145 147 mCons->AddStr(" ............ starting piapp .............\n", PIVA_Blue ); 148 sprintf(buff, "Version: piapp=%g PI=%g PEIDA=%g \n", (double)PIAPP_VERSIONNUMBER, 149 (double)PI_VERSIONNUMBER, (float)PeidaVersion()); 146 150 mCons->AddStr(buff, PIVA_Blue ); 147 151 mCons->AddStr(" ..........................................\n", PIVA_Blue ); … … 804 808 805 809 /* --Methode-- */ 806 void PIStdImgApp::CatchSignals(bool fg )810 void PIStdImgApp::CatchSignals(bool fgfpe, bool fgsegv) 807 811 { 808 PeidaConfigureSignalhandling(fg, fg, true, true); 809 m[5]->SetStateMsg(10603, fg); 812 PeidaConfigureSignalhandling(fgfpe, fgsegv, true, true); 813 m[5]->SetStateMsg(10603, fgfpe); 814 m[5]->SetStateMsg(10604, fgsegv); 810 815 } 811 816 … … 1208 1213 break; 1209 1214 case 10603: 1210 CatchSignals(*((bool*)data)); 1215 case 10604: 1216 CatchSignals(m[5]->GetStateMsg(10603), m[5]->GetStateMsg(10604)); 1211 1217 break; 1212 1218 default:
Note:
See TracChangeset
for help on using the changeset viewer.