Change the status lines on Windows to use white text on a black background.

r355 changed the window background from white to black (which looks good in full screen mode), and this revision changes the status lines similarly for consistency.
This commit is contained in:
Peter 2015-03-15 20:45:16 +00:00
parent 3563ed395e
commit 1b370205c1
2 changed files with 4 additions and 4 deletions

View File

@ -217,8 +217,8 @@ x_redraw_status_lines()
if (g_win_status_debug)
{
HDC localdc = GetDC(g_hwnd_main);
oldtextcolor = SetTextColor(localdc, 0);
oldbkcolor = SetBkColor(localdc, 0xffffff);
oldtextcolor = SetTextColor(localdc, RGB(255, 255, 255));
oldbkcolor = SetBkColor(localdc, RGB(0, 0, 0));
for(line = 0; line < MAX_STATUS_LINES; line++) {
buf = g_status_ptrs[line];
if(buf != 0) {

View File

@ -346,8 +346,8 @@ void gsportinit(HWND _hwnd)
g_hwnd_main = _hwnd;
HDC localdc = GetDC(g_hwnd_main);
SetTextColor(localdc, 0);
SetBkColor(localdc, 0xFFFFFF);
SetTextColor(localdc, RGB(0, 0, 0));
SetBkColor(localdc, RGB(255, 255, 255));
g_main_cdc = CreateCompatibleDC(localdc);
ReleaseDC(g_hwnd_main,localdc);