Changeset 2375 in Sophya


Ignore:
Timestamp:
Apr 25, 2003, 4:03:52 PM (22 years ago)
Author:
ansari
Message:

Correction bug ds les nouvelles tables - chgt de nom de tables - Reza 25/04/2003

Location:
trunk/SophyaPI/PI
Files:
2 edited

Legend:

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

    r2372 r2375  
    3838                      "Grey32","InvGrey32","ColRJ32","ColBR32","ColRV32",
    3939                      "Grey128","InvGrey128","ColRJ128","ColBR128",
    40                       "Red32","Green32","Blue32","Yellow32",
     40                      "Red32CM","Green32CM","Blue32CM","Yellow32CM",
    4141                      "MIDAS_Pastel","MIDAS_Heat","MIDAS_Rainbow3",
    4242                      "MIDAS_BlueRed","MIDAS_BlueWhite","MIDAS_Stairs8",
     
    457457        else if (mType == CMAP_BLUE32)  mycol.blue = vcol;
    458458        else if (mType == CMAP_YELLOW32) mycol.green = mycol.red = vcol;
    459         for(k=0; k<8; k++)     AllocColor(mycol, i*8+k);
    460       }
    461       for(i=6; i<20; i++) {
    462         mycol.green = mycol.blue = 0;
    463         mycol.red = 20000+(i-5)*2000;
    464459        for(k=0; k<8; k++)     AllocColor(mycol, i*8+k);
    465460      }
  • trunk/SophyaPI/PI/picmapview.cc

    r1843 r2375  
    139139
    140140  if ( (cmap->Type() == CMAP_GREY32) || (cmap->Type() == CMAP_GREYINV32) ||
    141        (cmap->Type() == CMAP_GREY128) || (cmap->Type() == CMAP_GREYINV128) )  g->SelForeground(PI_Red);
     141       (cmap->Type() == CMAP_GREY128) || (cmap->Type() == CMAP_GREYINV128) ||
     142       (cmap->Type() == CMAP_GREEN32) )  g->SelForeground(PI_Red);
    142143  else g->SelForeground(PI_Green);
    143144
Note: See TracChangeset for help on using the changeset viewer.