| 2457 |
} |
} |
| 2458 |
else { // full color |
else { // full color |
| 2459 |
if ((Attr.Attr2 & Attr2Fore) != 0) { |
if ((Attr.Attr2 & Attr2Fore) != 0) { |
| 2460 |
if ((Attr.Fore<16) && ((Attr.Attr&AttrBold)!=0) == ((Attr.Fore&7)==0)) |
if (Attr.Fore<8 && (ts.ColorFlag&CF_PCBOLD16)) { |
| 2461 |
|
if (((Attr.Attr&AttrBold)!=0) == (Attr.Fore!=0)) { |
| 2462 |
|
TextColor = ANSIColor[Attr.Fore]; |
| 2463 |
|
} |
| 2464 |
|
else { |
| 2465 |
|
TextColor = ANSIColor[Attr.Fore ^ 8]; |
| 2466 |
|
} |
| 2467 |
|
} |
| 2468 |
|
else if (Attr.Fore < 16 && (Attr.Fore&7) != 0) { |
| 2469 |
TextColor = ANSIColor[Attr.Fore ^ 8]; |
TextColor = ANSIColor[Attr.Fore ^ 8]; |
| 2470 |
else |
} |
| 2471 |
|
else { |
| 2472 |
TextColor = ANSIColor[Attr.Fore]; |
TextColor = ANSIColor[Attr.Fore]; |
| 2473 |
|
} |
| 2474 |
} |
} |
| 2475 |
else if ((Attr.Attr & AttrBlink) != 0) |
else if ((Attr.Attr & AttrBlink) != 0) |
| 2476 |
#ifdef ALPHABLEND_TYPE2 // AKASI |
#ifdef ALPHABLEND_TYPE2 // AKASI |
| 2494 |
else |
else |
| 2495 |
TextColor = ts.VTColor[0]; |
TextColor = ts.VTColor[0]; |
| 2496 |
#endif |
#endif |
|
|
|
| 2497 |
if ((Attr.Attr2 & Attr2Back) != 0) { |
if ((Attr.Attr2 & Attr2Back) != 0) { |
| 2498 |
if ((Attr.Back<16) && ((Attr.Attr&AttrBlink)!=0) == ((Attr.Back&7)==0)) |
if (Attr.Back<8 && (ts.ColorFlag&CF_PCBOLD16)) { |
| 2499 |
|
if (((Attr.Attr&AttrBlink)!=0) == (Attr.Back!=0)) { |
| 2500 |
|
BackColor = ANSIColor[Attr.Back]; |
| 2501 |
|
} |
| 2502 |
|
else { |
| 2503 |
|
BackColor = ANSIColor[Attr.Back ^ 8]; |
| 2504 |
|
} |
| 2505 |
|
} |
| 2506 |
|
else if (Attr.Back < 16 && (Attr.Back&7) != 0) { |
| 2507 |
BackColor = ANSIColor[Attr.Back ^ 8]; |
BackColor = ANSIColor[Attr.Back ^ 8]; |
| 2508 |
else |
} |
| 2509 |
|
else { |
| 2510 |
BackColor = ANSIColor[Attr.Back]; |
BackColor = ANSIColor[Attr.Back]; |
| 2511 |
|
} |
| 2512 |
} |
} |
| 2513 |
else if ((Attr.Attr & AttrBlink) != 0) |
else if ((Attr.Attr & AttrBlink) != 0) |
| 2514 |
#ifdef ALPHABLEND_TYPE2 // AKASI |
#ifdef ALPHABLEND_TYPE2 // AKASI |