Changeset 2998 in Sophya for trunk/SophyaPI/PI/pi3dwdg.cc


Ignore:
Timestamp:
Jul 2, 2006, 7:13:28 PM (19 years ago)
Author:
ansari
Message:

1/ mise en place de l'option wbgcol pour couleur de fond des widgets
PIImage PIScDrawWdg et PIDraw3DWdg
2/ Prise en compte de l'option revcmap pour trace de surface PISurfaceDrawer

Reza 2 Juillet 2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pi3dwdg.cc

    r2941 r2998  
    234234  for( k=0; k<opt.size(); k++ ) {
    235235    string opts = opt[k];
     236    // Couleur d'arriere plan du widget
     237    if (opts.substr(0,7) == "wbgcol=") {
     238      vector<string> vsc;
     239      vsc.push_back(opts.substr(7));
     240      SetBackgroundColor(PIGraphicAtt(vsc).GetColor());
     241      continue;
     242    }
    236243    // Limites en x,y
    237244    if (opts.substr(0,10) == "xyzlimits=") {
Note: See TracChangeset for help on using the changeset viewer.