Changeset 337 in Sophya
- Timestamp:
- Jul 22, 1999, 6:59:30 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/piimage.cc
r329 r337 447 447 if ( (cmapid == CMAP_GREY32) || (cmapid == CMAP_GREYINV32) || 448 448 (cmapid == CMAP_GREY128) || (cmapid == CMAP_GREYINV128)) mdrw->SetColAtt(PI_Red); 449 else mdrw->SetColAtt(PI_ White);449 else mdrw->SetColAtt(PI_Turquoise); 450 450 PIPixmap::SetColMap(cmp, refr); 451 451 if (refr) { xcurs = ycurs = -1; } … … 461 461 if ( (cmapid == CMAP_GREY32) || (cmapid == CMAP_GREYINV32) || 462 462 (cmapid == CMAP_GREY128) || (cmapid == CMAP_GREYINV128)) mdrw->SetColAtt(PI_Red); 463 else mdrw->SetColAtt(PI_ White);463 else mdrw->SetColAtt(PI_Turquoise); 464 464 PIPixmap::SetColMapId(cmapid, refr); 465 465 if (zow) zow->SetColMapId(cmapid, refr); … … 1094 1094 PIGOMode gm = g->GetGOMode(); 1095 1095 g->SelGOMode(PI_GOCopy); 1096 g->SelForeground(PI_White); 1096 int cmapid = cmap->Type(); 1097 if ( (cmapid == CMAP_GREY32) || (cmapid == CMAP_GREYINV32) || 1098 (cmapid == CMAP_GREY128) || (cmapid == CMAP_GREYINV128)) g->SelForeground(PI_Red); 1099 else g->SelForeground(PI_Turquoise); 1100 // g->SelForeground(PI_White); 1097 1101 g->SelBackground(PI_Black); 1098 1102 g->DrawOpaqueString(20, YSize()-5, txt);
Note:
See TracChangeset
for help on using the changeset viewer.