Changeset 1971 in Sophya for trunk/SophyaPI/PIext/contmodex.cc
- Timestamp:
- Apr 30, 2002, 2:34:41 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/contmodex.cc
r1920 r1971 106 106 // On affiche le Drawer 107 107 int wrsid = 0; 108 bool fgsr = true;109 cout << " dopt " << dopt<<endl;110 int opt = omg.GetServiceObj()->DecodeDispOption(dopt, fgsr);111 108 112 109 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); 115 112 cout << " fin de ContModExecutor::Execute() "<< endl; 116 113 117 114 118 if (fgsr) omg.GetImgApp()->RestoreGraphicAtt();119 115 // 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 124 118 125 119 } … … 180 174 bool fgsr = true; 181 175 182 int opt = omg.GetServiceObj()->DecodeDispOption(dopt, fgsr);183 184 176 string name = "contour"; 185 177 186 wrsid = omg.GetImgApp()->DispScDrawer(contdrw, name, opt);178 wrsid = omg.GetImgApp()->DispScDrawer(contdrw, name, dopt); 187 179 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); 191 182 192 183 }
Note:
See TracChangeset
for help on using the changeset viewer.