Changeset 2778 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- May 27, 2005, 5:39:42 PM (20 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pisiadw.cc
r2762 r2778 71 71 void ObjMgrWind::Show() 72 72 { 73 // dap->SetBlocked(); Ce n'est plus necessaire - Reza 11/12/99 73 PIWindow::Show(); 74 74 string cdir; 75 75 dap->ObjMgr()->GetCurrentDir(cdir); … … 77 77 dirlist->SetValueStr(cdir); 78 78 dap->ObjMgr()->UpdateObjMgrWindow( GetCurDirId() ); 79 PIWindow::Show();80 79 return; 81 80 } -
trunk/SophyaPI/PIext/pistdimgapp.cc
r2762 r2778 761 761 piin = new PIImageNavigator(win, (char *)name.c_str(), sx, sy, px,py); 762 762 piin->SetBinding(PIBK_elastic, PIBK_elastic, PIBK_elastic, PIBK_elastic); 763 piin->Show(); 763 764 piin->ImageWdg()->ShowCursor(true); 764 765 pii = piin->ImageWdg(); 765 766 piin->SetUserData(NULL, oid); 766 767 pii->SetUserData(NULL, oid); 767 // XSync(PIXDisplay(), False);768 // cout << " DBG-ImagNav-BBB-BBB Apres XSync() " << endl;769 770 768 } 771 769 else { // Creation de widget PIImage normal … … 778 776 pii->SetUserData(NULL, oid); 779 777 } 778 779 780 pii->SetImage(nouv, true, false); 781 782 // decode des options en chaine de caracteres 783 if (mAxesAtt.size() > 0) 784 pii->DecodeOptionString(mAxesAtt, false); // Les options d'axe 785 if (mDefaultAtt.size() > 0) 786 pii->DecodeOptionString(mDefaultAtt, false); // d'abord les options par defaut 787 if (opts.size() > 0) 788 pii->DecodeOptionString(opts); // ensuite, les options specifies en argument 780 789 781 790 // On recalcule la taille de la fenetre si Disp_Win … … 791 800 } 792 801 793 pii->SetImage(nouv, true, false);794 795 // decode des options en chaine de caracteres796 if (mAxesAtt.size() > 0)797 pii->DecodeOptionString(mAxesAtt, false); // Les options d'axe798 if (mDefaultAtt.size() > 0)799 pii->DecodeOptionString(mDefaultAtt, false); // d'abord les options par defaut800 if (opts.size() > 0)801 pii->DecodeOptionString(opts); // ensuite, les options specifies en argument802 803 802 // printf("!!DBG!! PIImage Pos= %d %d Size= %d %d \n", pii->XPos(), pii->YPos(), pii->XSize(), pii->YSize() ); 804 803 mCurWin = win; … … 806 805 mLastWdg = pii; 807 806 mBWId++; 808 if (fgimagnav) mBWList[mBWId] = piin;807 if (fgimagnav) mBWList[mBWId] = piin; 809 808 else mBWList[mBWId] = pii; 810 809 // pii->Refresh(); … … 1594 1593 1595 1594 if (fg) { 1595 consolecont->Hide(); 1596 1596 consolecont->SetBinding(PIBK_free,PIBK_free,PIBK_free, PIBK_free); 1597 1597 int szy = MainWin()->YSize(); … … 1600 1600 consolecont->SetSize(MainWin()->XSize(), szy); 1601 1601 consolecont->SetBinding(PIBK_fixed,PIBK_fixed,PIBK_fixed, PIBK_fixed); 1602 consolecont->Show(); 1602 1603 statcont->Show(); 1603 1604 m[3]->SetStateMsg(10470, true); … … 1605 1606 else { 1606 1607 statcont->Hide(); 1608 consolecont->Hide(); 1607 1609 consolecont->SetBinding(PIBK_free,PIBK_free,PIBK_free, PIBK_free); 1608 1610 MainWin()->SetSize(MainWin()->XSize(), MainWin()->YSize()-statcont->YSize()); … … 1610 1612 consolecont->SetSize(MainWin()->XSize(), MainWin()->YSize()); 1611 1613 consolecont->SetBinding(PIBK_fixed,PIBK_fixed,PIBK_fixed, PIBK_fixed); 1614 consolecont->Show(); 1612 1615 m[3]->SetStateMsg(10470, false); 1613 1616 }
Note:
See TracChangeset
for help on using the changeset viewer.