| 462 |
(BYTE) ts->TmpColor[0][i * 3 + 1], |
(BYTE) ts->TmpColor[0][i * 3 + 1], |
| 463 |
(BYTE) ts->TmpColor[0][i * 3 + 2]); |
(BYTE) ts->TmpColor[0][i * 3 + 2]); |
| 464 |
|
|
| 465 |
|
/* VT Reverse Color */ |
| 466 |
|
GetPrivateProfileString(Section, "VTReverseColor", "255,255,255,0,0,0", |
| 467 |
|
Temp, sizeof(Temp), FName); |
| 468 |
|
for (i = 0; i <= 5; i++) |
| 469 |
|
GetNthNum(Temp, i + 1, (int far *) &(ts->TmpColor[0][i])); |
| 470 |
|
for (i = 0; i <= 1; i++) |
| 471 |
|
ts->VTReverseColor[i] = RGB((BYTE) ts->TmpColor[0][i * 3], |
| 472 |
|
(BYTE) ts->TmpColor[0][i * 3 + 1], |
| 473 |
|
(BYTE) ts->TmpColor[0][i * 3 + 2]); |
| 474 |
|
|
| 475 |
/* begin - ishizaki */ |
/* begin - ishizaki */ |
| 476 |
ts->EnableClickableUrl = |
ts->EnableClickableUrl = |
| 477 |
GetOnOff(Section, "EnableClickableUrl", FName, FALSE); |
GetOnOff(Section, "EnableClickableUrl", FName, FALSE); |
| 1509 |
ts->TmpColor[0][0], ts->TmpColor[0][1], ts->TmpColor[0][2], |
ts->TmpColor[0][0], ts->TmpColor[0][1], ts->TmpColor[0][2], |
| 1510 |
ts->TmpColor[0][3], ts->TmpColor[0][4], ts->TmpColor[0][5]); |
ts->TmpColor[0][3], ts->TmpColor[0][4], ts->TmpColor[0][5]); |
| 1511 |
|
|
| 1512 |
/* VT bold color */ |
/* VT Bold Color */ |
| 1513 |
for (i = 0; i <= 1; i++) { |
for (i = 0; i <= 1; i++) { |
| 1514 |
ts->TmpColor[0][i * 3] = GetRValue(ts->VTBoldColor[i]); |
ts->TmpColor[0][i * 3] = GetRValue(ts->VTBoldColor[i]); |
| 1515 |
ts->TmpColor[0][i * 3 + 1] = GetGValue(ts->VTBoldColor[i]); |
ts->TmpColor[0][i * 3 + 1] = GetGValue(ts->VTBoldColor[i]); |
| 1519 |
ts->TmpColor[0][0], ts->TmpColor[0][1], ts->TmpColor[0][2], |
ts->TmpColor[0][0], ts->TmpColor[0][1], ts->TmpColor[0][2], |
| 1520 |
ts->TmpColor[0][3], ts->TmpColor[0][4], ts->TmpColor[0][5]); |
ts->TmpColor[0][3], ts->TmpColor[0][4], ts->TmpColor[0][5]); |
| 1521 |
|
|
| 1522 |
/* VT blink color */ |
/* VT Blink Color */ |
| 1523 |
for (i = 0; i <= 1; i++) { |
for (i = 0; i <= 1; i++) { |
| 1524 |
ts->TmpColor[0][i * 3] = GetRValue(ts->VTBlinkColor[i]); |
ts->TmpColor[0][i * 3] = GetRValue(ts->VTBlinkColor[i]); |
| 1525 |
ts->TmpColor[0][i * 3 + 1] = GetGValue(ts->VTBlinkColor[i]); |
ts->TmpColor[0][i * 3 + 1] = GetGValue(ts->VTBlinkColor[i]); |
| 1527 |
} |
} |
| 1528 |
WriteInt6(Section, "VTBlinkColor", FName, |
WriteInt6(Section, "VTBlinkColor", FName, |
| 1529 |
ts->TmpColor[0][0], ts->TmpColor[0][1], ts->TmpColor[0][2], |
ts->TmpColor[0][0], ts->TmpColor[0][1], ts->TmpColor[0][2], |
| 1530 |
|
ts->TmpColor[0][3], ts->TmpColor[0][4], ts->TmpColor[0][5]); |
| 1531 |
|
|
| 1532 |
|
/* VT Reverse Color */ |
| 1533 |
|
for (i = 0; i <= 1; i++) { |
| 1534 |
|
ts->TmpColor[0][i * 3] = GetRValue(ts->VTReverseColor[i]); |
| 1535 |
|
ts->TmpColor[0][i * 3 + 1] = GetGValue(ts->VTReverseColor[i]); |
| 1536 |
|
ts->TmpColor[0][i * 3 + 2] = GetBValue(ts->VTReverseColor[i]); |
| 1537 |
|
} |
| 1538 |
|
WriteInt6(Section, "VTBlinkColor", FName, |
| 1539 |
|
ts->TmpColor[0][0], ts->TmpColor[0][1], ts->TmpColor[0][2], |
| 1540 |
ts->TmpColor[0][3], ts->TmpColor[0][4], ts->TmpColor[0][5]); |
ts->TmpColor[0][3], ts->TmpColor[0][4], ts->TmpColor[0][5]); |
| 1541 |
|
|
| 1542 |
/* start - ishizaki */ |
/* start - ishizaki */ |