Changeset 1972 in Sophya
- Timestamp:
- Apr 30, 2002, 2:36:19 PM (23 years ago)
- Location:
- trunk/SophyaPI/ProgPI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/ProgPI/piapp.cc
r1524 r1972 67 67 else { 68 68 cout << "\n piapp: Interactive data analysis and visualisation program \n" 69 << " Usage: piapp [-nored] [-nosig] [-nosigfpe] [-nosigsegv] \n"69 << " Usage: piapp [-nored] [-nosig] [-nosigfpe] [-nosigsegv] [-hidezswin] \n" 70 70 << " [-tmpdir TmpDirectory] [-help2tex] [-exec file [args]] \n" 71 71 << " -nored : NoRedirect StdOut/StdErr \n" 72 72 << " -nosig : Don't catch SigFPE, SigSEGV \n" 73 73 << " -nosigfpe -nosigsegv: Don t catch SigFPE / SigSEGV \n" 74 << " -hidezswin : Hide Zoom/Stat/ColMap window \n" 74 75 << " -tmpdir TmpDirectory: defines TMDIR for temporary files \n" 75 76 << " -help2tex: Create a LaTeX help file (piahelp.tex)\n" … … 85 86 { 86 87 int ofa; 87 int fgfpe, fgsegv, fgred, fgexec;88 bool fgfpe, fgsegv, fgred, fghidezsw, fgexec; 88 89 89 90 SkyTInitiator skyinit; … … 96 97 ofa = 1; 97 98 fgred = fgfpe = fgsegv = true; 99 fghidezsw = false; 98 100 fgexec = false; 99 101 bool fgtmp = false; … … 108 110 else if (strcmp(arg[ka],"-nosigfpe") == 0) fgfpe=false; 109 111 else if (strcmp(arg[ka],"-nosigsegv") == 0) fgsegv=false; 112 else if (strcmp(arg[ka],"-hidezswin") == 0) fghidezsw=true; 110 113 else if (strcmp(arg[ka],"-help2tex") == 0) { fgtexh=true; fgred=false; } 111 114 else if (strcmp(arg[ka],"-tmpdir") == 0) { … … 154 157 else app->RedirectStdOutErr(false); 155 158 app->CatchSignals(fgfpe, fgsegv); 159 160 // if Hide Zoom/Stat Win 161 if (fghidezsw) app->StatZoomWindowSetVisible(false); 156 162 157 163 // S'il y a un fichier de commande a executer -
trunk/SophyaPI/ProgPI/sopiamodule.cc
r1540 r1972 274 274 int wrsid = 0; 275 275 bool fgsr = true; 276 int opt = omg.GetServiceObj()->DecodeDispOption(dopt, fgsr);277 276 278 277 string name = "mollgrid"; 279 wrsid = omg.GetImgApp()->DispScDrawer(mollgrid, name, opt); 280 if (fgsr) omg.GetImgApp()->RestoreGraphicAtt(); 278 wrsid = omg.GetImgApp()->DispScDrawer(mollgrid, name, dopt); 281 279 } 282 280
Note:
See TracChangeset
for help on using the changeset viewer.