Win32GUI: Set main window background brush to black.
Black is a better choice given that the map background will always be black. This also creates a better polished experience when all window backgrounds are set to black.
This commit is contained in:
committed by
Pasi Kallinen
parent
024e9e1225
commit
b1f7bd3791
@@ -104,7 +104,7 @@ register_main_window_class()
|
||||
wcex.hInstance = GetNHApp()->hApp;
|
||||
wcex.hIcon = LoadIcon(GetNHApp()->hApp, (LPCTSTR) IDI_NETHACKW);
|
||||
wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
|
||||
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
|
||||
wcex.hbrBackground = CreateSolidBrush(RGB(0, 0, 0));
|
||||
wcex.lpszMenuName = (TCHAR *) IDC_NETHACKW;
|
||||
wcex.lpszClassName = szMainWindowClass;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user