Added readme.md and fixed legacy font usage in the editor.

This commit is contained in:
Justin Marshall
2026-05-04 10:20:07 -07:00
parent 6a21513a54
commit b00ebfd9d9
13 changed files with 130 additions and 55 deletions
+1 -1
View File
@@ -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 );