Changeset 366 in Sophya
- Timestamp:
- Aug 9, 1999, 1:53:04 PM (26 years ago)
- Location:
- trunk/SophyaPI/PI/Tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/Tests/pit0.cc
r365 r366 84 84 // Taille et position proportionnelles a la taille de la fenetre pour les elements 85 85 for(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); 90 90 } 91 91 for(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 75 75 MainWin()->SetSize(360,130); 76 76 zoom = 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); 78 78 // zoom->SetBinding(PIBK_fixed,PIBK_fixed,PIBK_elastic,PIBK_fixed); 79 79 cmapv = 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); 81 81 // cmapv->SetBinding(PIBK_fixed,PIBK_free,PIBK_fixed,PIBK_free); 82 82 // Creation d' zone texte multiligne 83 83 txt = 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); 85 85 // txt->SetBinding(PIBK_fixed,PIBK_fixed,PIBK_fixed,PIBK_free); 86 86 txt->SetMutiLineMode(true);
Note:
See TracChangeset
for help on using the changeset viewer.