Changeset 1126 in Sophya for trunk/SophyaPI/PIext/servnobjm.cc


Ignore:
Timestamp:
Aug 1, 2000, 1:26:12 PM (25 years ago)
Author:
ercodmgr
Message:

Adaptation aux modifs de tables de couleurs pour attributs graphique - Reza 1/8/2000

File:
1 edited

Legend:

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

    r1105 r1126  
    15621562gi.a1 = CMAP_OTHER;
    15631563GrAcmap["defcmap"] = gi;
    1564 gi.a1 = CMAP_GREY32;
    1565 GrAcmap["grey32"] = gi;
    1566 gi.a1 = CMAP_GREYINV32;
    1567 GrAcmap["greyinv32"] = gi;
    1568 gi.a1 = CMAP_COLRJ32;
    1569 GrAcmap["colrj32"] = gi;
    1570 gi.a1 = CMAP_COLBR32;
    1571 GrAcmap["colbr32"] = gi;
    1572 gi.a1 = CMAP_GREY128;
    1573 GrAcmap["grey128"] = gi;
    1574 gi.a1 = CMAP_GREYINV128;
    1575 GrAcmap["greyinv128"] = gi;
    1576 gi.a1 = CMAP_COLRJ128;
    1577 GrAcmap["colrj128"] = gi;
    1578 gi.a1 = CMAP_COLBR128;
    1579 GrAcmap["colbr128"] = gi;
     1564for(int kcc=0; kcc<PIColorMap::NumberStandardColorMaps(); kcc++) {
     1565  gi.a1 = PIColorMap::GetStandardColorMapId(kcc);
     1566  string colname = PIColorMap::GetStandardColorMapName(kcc);
     1567  for(int jll=0; jll<colname.length(); jll++)
     1568    colname[jll] = tolower(colname[jll]);
     1569  GrAcmap[colname] = gi;
     1570}
     1571
    15801572
    15811573// La valeur de zoom
Note: See TracChangeset for help on using the changeset viewer.