Browse Subversion Repository
Diff of /trunk/teraterm/teraterm/vtterm.c
Parent Directory
| Revision Log
| Patch
| 3060 |
} |
} |
| 3061 |
} |
} |
| 3062 |
|
|
| 3063 |
void CSQExchangeColor() // DECSCNM / Visual Bell |
// DECSCNM / Visual Bell |
| 3064 |
|
static void CSQExchangeColor(void) |
| 3065 |
{ |
{ |
|
COLORREF ColorRef; |
|
|
|
|
| 3066 |
BuffUpdateScroll(); |
BuffUpdateScroll(); |
| 3067 |
|
|
|
if (ts.ColorFlag & CF_REVERSECOLOR) { |
|
|
ColorRef = ts.VTColor[0]; |
|
|
ts.VTColor[0] = ts.VTReverseColor[0]; |
|
|
ts.VTReverseColor[0] = ColorRef; |
|
|
ColorRef = ts.VTColor[1]; |
|
|
ts.VTColor[1] = ts.VTReverseColor[1]; |
|
|
ts.VTReverseColor[1] = ColorRef; |
|
|
} |
|
|
else { |
|
|
ColorRef = ts.VTColor[0]; |
|
|
ts.VTColor[0] = ts.VTColor[1]; |
|
|
ts.VTColor[1] = ColorRef; |
|
|
} |
|
|
|
|
|
ColorRef = ts.VTBoldColor[0]; |
|
|
ts.VTBoldColor[0] = ts.VTBoldColor[1]; |
|
|
ts.VTBoldColor[1] = ColorRef; |
|
|
|
|
|
ColorRef = ts.VTBlinkColor[0]; |
|
|
ts.VTBlinkColor[0] = ts.VTBlinkColor[1]; |
|
|
ts.VTBlinkColor[1] = ColorRef; |
|
|
|
|
|
ColorRef = ts.URLColor[0]; |
|
|
ts.URLColor[0] = ts.URLColor[1]; |
|
|
ts.URLColor[1] = ColorRef; |
|
|
|
|
| 3068 |
ts.ColorFlag ^= CF_REVERSEVIDEO; |
ts.ColorFlag ^= CF_REVERSEVIDEO; |
| 3069 |
|
|
|
BGExchangeColor(); |
|
| 3070 |
DispChangeBackground(); |
DispChangeBackground(); |
| 3071 |
UpdateWindow(HVTWin); |
UpdateWindow(HVTWin); |
| 3072 |
} |
} |
|
|
Legend:
| Removed from v.10190 |
|
| changed lines |
| |
Added in v.10192 |
|
|
|