Changeset 2375 in Sophya for trunk/SophyaPI
- Timestamp:
- Apr 25, 2003, 4:03:52 PM (22 years ago)
- Location:
- trunk/SophyaPI/PI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/picmap.cc
r2372 r2375 38 38 "Grey32","InvGrey32","ColRJ32","ColBR32","ColRV32", 39 39 "Grey128","InvGrey128","ColRJ128","ColBR128", 40 "Red32 ","Green32","Blue32","Yellow32",40 "Red32CM","Green32CM","Blue32CM","Yellow32CM", 41 41 "MIDAS_Pastel","MIDAS_Heat","MIDAS_Rainbow3", 42 42 "MIDAS_BlueRed","MIDAS_BlueWhite","MIDAS_Stairs8", … … 457 457 else if (mType == CMAP_BLUE32) mycol.blue = vcol; 458 458 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;464 459 for(k=0; k<8; k++) AllocColor(mycol, i*8+k); 465 460 } -
trunk/SophyaPI/PI/picmapview.cc
r1843 r2375 139 139 140 140 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); 142 143 else g->SelForeground(PI_Green); 143 144
Note:
See TracChangeset
for help on using the changeset viewer.