Changeset 1285 in Sophya for trunk/SophyaPI


Ignore:
Timestamp:
Nov 2, 2000, 6:05:00 PM (25 years ago)
Author:
ercodmgr
Message:

portage SGI-CC , Reza 2/11/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/cxxexecwin.cc

    r1269 r1285  
    124124  ////////////////////////////////////
    125125
    126   for(int ii=0; ii<5; ii++)
     126  int ii;
     127  for(ii=0; ii<5; ii++)
    127128    mLab[ii]->SetBinding(PIBK_elastic,PIBK_elastic, PIBK_elastic,PIBK_elastic);
    128   for(int ii=0; ii<10; ii++)
     129  for(ii=0; ii<10; ii++)
    129130    mBut[ii]->SetBinding(PIBK_elastic , PIBK_elastic , PIBK_elastic , PIBK_elastic);
    130   for(int ii=0; ii<2; ii++)
     131  for(ii=0; ii<2; ii++)
    131132    mText[ii]->SetBinding(PIBK_elastic,PIBK_elastic, PIBK_elastic,PIBK_elastic);
    132133
     
    138139CxxExecWind::~CxxExecWind()
    139140{
    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];
    143145  delete pfc;
    144146}
     
    337339//  Taille et position proportionnelles a la taille de la fenetre pour les elements
    338340  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++)
    340343    mLab[i]->SetBinding(PIBK_elastic , PIBK_elastic , PIBK_elastic , PIBK_elastic);
    341   for(int i=0; i<4; i++)
     344  for(i=0; i<4; i++)
    342345    mText[i]->SetBinding(PIBK_elastic , PIBK_elastic , PIBK_elastic , PIBK_elastic);
    343   for(int i=0; i<3; i++)
     346  for(i=0; i<3; i++)
    344347    mBut[i]->SetBinding(PIBK_elastic , PIBK_elastic , PIBK_elastic , PIBK_elastic);
    345348}
     
    349352{
    350353  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];
    354358}
    355359
Note: See TracChangeset for help on using the changeset viewer.