Changeset 1971 in Sophya for trunk/SophyaPI/PIext/contmodex.cc


Ignore:
Timestamp:
Apr 30, 2002, 2:34:41 PM (23 years ago)
Author:
ansari
Message:

1/ Basculement de decodage des options de display aux methodes
PIDrawer/PIWdg::DecodeOptionString()
2/ Possibilite de Show/Hide de la partie Zoom/ColorMap/Stat du MainWindow

Reza 30/4/2002

File:
1 edited

Legend:

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

    r1920 r1971  
    106106   // On affiche le Drawer
    107107   int wrsid = 0;
    108    bool fgsr = true;
    109    cout << " dopt " << dopt<<endl;
    110    int opt = omg.GetServiceObj()->DecodeDispOption(dopt, fgsr);
    111108   
    112109   string name = "contour";
    113    cout << " ContModExecutor::Execute() : name "<<name<<" " <<" opt |"<<opt<<"| dopt |"<<dopt<<"| contdrw |"<<contdrw<<endl;
    114    wrsid = omg.GetImgApp()->DispScDrawer(contdrw, name, opt);
     110   cout << " ContModExecutor::Execute() : name "<<name<<" " <<"| dopt |"<<dopt<<"| contdrw |"<<contdrw<<endl;
     111   wrsid = omg.GetImgApp()->DispScDrawer(contdrw, name, dopt);
    115112   cout << " fin de ContModExecutor::Execute() "<< endl;
    116113   
    117114
    118    if (fgsr) omg.GetImgApp()->RestoreGraphicAtt();   
    119115   // Ne pas oublier d'associer le wrsid a l'objet si on utilise le P2DArrayAdapter* arr
    120    // Il semble que cela ne soit pas accessible pour le moment depuis l'exterieur ds NamedObjMgr
    121 
    122 
    123 
     116   omg.AddWRsId(tokens[0], wrsid);
     117   
    124118
    125119   }
     
    180174     bool fgsr = true;
    181175     
    182      int opt = omg.GetServiceObj()->DecodeDispOption(dopt, fgsr);
    183    
    184176     string name = "contour";
    185177     
    186      wrsid = omg.GetImgApp()->DispScDrawer(contdrw, name, opt);
     178     wrsid = omg.GetImgApp()->DispScDrawer(contdrw, name, dopt);
    187179     
    188      
    189 
    190      if (fgsr) omg.GetImgApp()->RestoreGraphicAtt();   
     180     // Ne pas oublier d'associer le wrsid a l'objet si on utilise le P2DArrayAdapter* arr
     181     omg.AddWRsId(tokens[0], wrsid);
    191182
    192183   }
Note: See TracChangeset for help on using the changeset viewer.