diff options
author | demi_alucard <demi_alucard@users.sourceforge.net> | 2012-06-10 17:29:13 +0400 |
---|---|---|
committer | demi_alucard <demi_alucard@users.sourceforge.net> | 2012-06-10 17:29:13 +0400 |
commit | 19b44f5d65a4ec3db23eb2adf944a4ac9ab8326c (patch) | |
tree | 17d8b7b7a82c89161dc9a762293e4882d9a66cf7 /src/DSUtil/WinAPIUtils.h | |
parent | 91be447b46126509f773d8c7b734695f9c19cb87 (diff) |
Use the windows theme fonts instead of hardcoded font facenames for
Windows Vista and later.
This commit fixes ticket #2342.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5070 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/DSUtil/WinAPIUtils.h')
-rw-r--r-- | src/DSUtil/WinAPIUtils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DSUtil/WinAPIUtils.h b/src/DSUtil/WinAPIUtils.h index cfdad3c4e..33231f878 100644 --- a/src/DSUtil/WinAPIUtils.h +++ b/src/DSUtil/WinAPIUtils.h @@ -33,6 +33,9 @@ bool ExportRegistryKey(CStdioFile& file, HKEY hKeyRoot, CString keyName=_T("")); UINT GetAdapter(IDirect3D9* pD3D, HWND hWnd);
+void GetMessageFont(LOGFONT* lf);
+void GetStatusFont(LOGFONT* lf);
+
bool IsFontInstalled(LPCTSTR lpszFont);
bool ExploreToFile(CString path);
|