Changeset 366 in Sophya


Ignore:
Timestamp:
Aug 9, 1999, 1:53:04 PM (26 years ago)
Author:
ercodmgr
Message:

Pb et Test SetBinding - Reza 9/8/99

Location:
trunk/SophyaPI/PI/Tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/Tests/pit0.cc

    r365 r366  
    8484//  Taille et position proportionnelles a la taille de la fenetre pour les elements
    8585for(int i=0; i<3; i++) {
    86   //  mLab[i]->SetBinding(PIBK_elastic , PIBK_elastic , PIBK_elastic , PIBK_elastic);
    87   mLab[i]->SetBinding(PIBK_fixed , PIBK_fixed , PIBK_free , PIBK_free);
    88   //  mText[i]->SetBinding(PIBK_elastic , PIBK_elastic , PIBK_elastic , PIBK_elastic);
    89   mText[i]->SetBinding(PIBK_free , PIBK_fixed , PIBK_fixed , PIBK_free);
     86  mLab[i]->SetBinding(PIBK_elastic , PIBK_elastic , PIBK_elastic , PIBK_elastic);
     87  //Test  mLab[i]->SetBinding(PIBK_fixed , PIBK_fixed , PIBK_free , PIBK_free);
     88  mText[i]->SetBinding(PIBK_elastic , PIBK_elastic , PIBK_elastic , PIBK_elastic);
     89  //Test  mText[i]->SetBinding(PIBK_free , PIBK_fixed , PIBK_fixed , PIBK_free);
    9090  }
    9191for(int ii=0; ii<2; ii++) mBut[ii]->SetBinding(PIBK_elastic , PIBK_elastic , PIBK_elastic , PIBK_elastic);
  • trunk/SophyaPI/PI/Tests/pitgr.cc

    r365 r366  
    7575MainWin()->SetSize(360,130);
    7676zoom = new PIPixmap(MainWin(), "Zoom", 90, 90, 5, 5);
    77 zoom->SetBinding(PIBK_elastic,PIBK_elastic,PIBK_elastic,PIBK_elastic);
     77// zoom->SetBinding(PIBK_elastic,PIBK_elastic,PIBK_elastic,PIBK_elastic);
    7878// zoom->SetBinding(PIBK_fixed,PIBK_fixed,PIBK_elastic,PIBK_fixed);
    7979cmapv = new PICMapView(MainWin(), "CMapView", 350, 25, 5, 100);
    80 cmapv->SetBinding(PIBK_elastic,PIBK_elastic,PIBK_elastic,PIBK_elastic);
     80// cmapv->SetBinding(PIBK_elastic,PIBK_elastic,PIBK_elastic,PIBK_elastic);
    8181// cmapv->SetBinding(PIBK_fixed,PIBK_free,PIBK_fixed,PIBK_free);
    8282// Creation d' zone texte multiligne
    8383txt = new PIText(MainWin(), "mltext", 250, 90, 105, 5);
    84 txt->SetBinding(PIBK_elastic,PIBK_elastic,PIBK_elastic,PIBK_elastic);
     84// txt->SetBinding(PIBK_elastic,PIBK_elastic,PIBK_elastic,PIBK_elastic);
    8585// txt->SetBinding(PIBK_fixed,PIBK_fixed,PIBK_fixed,PIBK_free);
    8686txt->SetMutiLineMode(true);
Note: See TracChangeset for help on using the changeset viewer.