Changeset 1285 in Sophya for trunk/SophyaPI
- Timestamp:
- Nov 2, 2000, 6:05:00 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/cxxexecwin.cc
r1269 r1285 124 124 //////////////////////////////////// 125 125 126 for(int ii=0; ii<5; ii++) 126 int ii; 127 for(ii=0; ii<5; ii++) 127 128 mLab[ii]->SetBinding(PIBK_elastic,PIBK_elastic, PIBK_elastic,PIBK_elastic); 128 for(i nt ii=0; ii<10; ii++)129 for(ii=0; ii<10; ii++) 129 130 mBut[ii]->SetBinding(PIBK_elastic , PIBK_elastic , PIBK_elastic , PIBK_elastic); 130 for(i nt ii=0; ii<2; ii++)131 for(ii=0; ii<2; ii++) 131 132 mText[ii]->SetBinding(PIBK_elastic,PIBK_elastic, PIBK_elastic,PIBK_elastic); 132 133 … … 138 139 CxxExecWind::~CxxExecWind() 139 140 { 140 for(int i=0; i<5; i++) delete mLab[i]; 141 for(int i=0; i<10; i++) delete mBut[i]; 142 for(int i=0; i<2; i++) delete mText[i]; 141 int i; 142 for(i=0; i<5; i++) delete mLab[i]; 143 for(i=0; i<10; i++) delete mBut[i]; 144 for(i=0; i<2; i++) delete mText[i]; 143 145 delete pfc; 144 146 } … … 337 339 // Taille et position proportionnelles a la taille de la fenetre pour les elements 338 340 mTit->SetBinding(PIBK_elastic , PIBK_elastic , PIBK_elastic , PIBK_elastic); 339 for(int i=0; i<4; i++) 341 int i; 342 for(i=0; i<4; i++) 340 343 mLab[i]->SetBinding(PIBK_elastic , PIBK_elastic , PIBK_elastic , PIBK_elastic); 341 for(i nt i=0; i<4; i++)344 for(i=0; i<4; i++) 342 345 mText[i]->SetBinding(PIBK_elastic , PIBK_elastic , PIBK_elastic , PIBK_elastic); 343 for(i nt i=0; i<3; i++)346 for(i=0; i<3; i++) 344 347 mBut[i]->SetBinding(PIBK_elastic , PIBK_elastic , PIBK_elastic , PIBK_elastic); 345 348 } … … 349 352 { 350 353 delete mTit; 351 for(int i=0; i<4; i++) delete mLab[i]; 352 for(int i=0; i<3; i++) delete mBut[i]; 353 for(int i=0; i<4; i++) delete mText[i]; 354 int i; 355 for(i=0; i<4; i++) delete mLab[i]; 356 for(i=0; i<3; i++) delete mBut[i]; 357 for(i=0; i<4; i++) delete mText[i]; 354 358 } 355 359
Note:
See TracChangeset
for help on using the changeset viewer.