Changeset 2944 in Sophya for trunk/SophyaPI/PIext/pistdimgapp.cc
- Timestamp:
- Apr 26, 2006, 5:47:13 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pistdimgapp.cc
r2904 r2944 93 93 94 94 /* --Methode-- */ 95 PIStdImgApp::PIStdImgApp( int narg, char* arg[])96 : PIApplication(420, 320, narg, arg) , resusg(ResourceUsage::RU_All)95 PIStdImgApp::PIStdImgApp(bool fgsmall, int narg, char* arg[]) 96 : PIApplication(420, (fgsmall)?320:220, narg, arg) , resusg(ResourceUsage::RU_All) 97 97 { 98 98 … … 186 186 int msx = 420+mFgScSz*60; 187 187 int msy = 320+mFgScSz*40; 188 int sfgsz = mFgScSz; 189 if (fgsmall) { // Flag petite taille de fenetre 190 if (mFgScSz > 1) mFgScSz = 1; 191 msx = 420+mFgScSz*40; 192 msy = 220+mFgScSz*20; 193 } 188 194 MainWin()->SetSize(msx, msy); 189 195 … … 252 258 redirecout = false; 253 259 // RedirectStdOutErr(true); pas par defaut 260 261 mFgScSz = sfgsz; 254 262 255 263 mObjMgr = new NamedObjMgr(true); … … 1693 1701 PeidaConfigureSignalhandling(fgfpe, fgsegv, true, true); 1694 1702 #else 1695 SophyaConfigureSignalhandling(fgfpe, fgsegv, true, true); 1703 // On active aussi SIGUSR1 pour stopthr 1704 SophyaConfigureSignalhandling(fgfpe, fgsegv, true, true, true); 1696 1705 #endif 1697 1706 m[5]->SetStateMsg(10603, fgfpe);
Note:
See TracChangeset
for help on using the changeset viewer.