mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-16 00:01:53 +02:00
Added readme.md and fixed legacy font usage in the editor.
This commit is contained in:
@@ -91,7 +91,7 @@ bool rvPropertyGrid::Create ( HWND parent, int id, int style )
|
||||
dc = GetDC ( mWindow );
|
||||
ZeroMemory ( &lf, sizeof(lf) );
|
||||
lf.lfHeight = -MulDiv(8, GetDeviceCaps(dc, LOGPIXELSY), 72);
|
||||
strcpy ( lf.lfFaceName, "MS Shell Dlg" );
|
||||
strcpy ( lf.lfFaceName, "Segoe UI" );
|
||||
SendMessage ( mWindow, WM_SETFONT, (WPARAM)CreateFontIndirect ( &lf ), 0 );
|
||||
SendMessage ( mEdit, WM_SETFONT, (WPARAM)CreateFontIndirect ( &lf ), 0 );
|
||||
ReleaseDC ( mWindow, dc );
|
||||
|
||||
Reference in New Issue
Block a user