diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-06 19:34:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-06 19:34:12 +0300 |
commit | 71bdb2f1b65f1649dcd707eaf32d590eb253495c (patch) | |
tree | 43fc6f121a6ffc53a2f177f6cc3c155cac38f654 /src/core | |
parent | 1d0e5e12761293b41d0dede5276e198bb91d1f2e (diff) |
CLIST_INTERFACE::pfnGetFontSetting => Clist_GetFontSetting
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdclist/src/clcfonts.cpp | 4 | ||||
-rw-r--r-- | src/core/stdclist/src/clcopts.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/stdclist/src/clcfonts.cpp b/src/core/stdclist/src/clcfonts.cpp index d00c89df0a..c8f06365f1 100644 --- a/src/core/stdclist/src/clcfonts.cpp +++ b/src/core/stdclist/src/clcfonts.cpp @@ -59,7 +59,7 @@ void RegisterCListFonts() HDC hdc = GetDC(nullptr);
for (int i = 0; i < _countof(clistFontDescr); i++) {
LOGFONT lf;
- pcli->pfnGetFontSetting(i, &lf, &fontid.deffontsettings.colour);
+ Clist_GetFontSetting(i, &lf, &fontid.deffontsettings.colour);
lf.lfHeight = -MulDiv(lf.lfHeight, GetDeviceCaps(hdc, LOGPIXELSY), 72);
wcsncpy_s(fontid.deffontsettings.szFace, lf.lfFaceName, _TRUNCATE);
@@ -121,7 +121,7 @@ void LoadClcOptions(HWND hwnd, struct ClcData *dat, BOOL bFirst) DeleteObject(dat->fontInfo[i].hFont);
LOGFONT lf;
- pcli->pfnGetFontSetting(i, &lf, &dat->fontInfo[i].colour);
+ Clist_GetFontSetting(i, &lf, &dat->fontInfo[i].colour);
lf.lfHeight = -MulDiv(lf.lfHeight, GetDeviceCaps(hdc, LOGPIXELSY), 72);
dat->fontInfo[i].hFont = CreateFontIndirect(&lf);
diff --git a/src/core/stdclist/src/clcopts.cpp b/src/core/stdclist/src/clcopts.cpp index 932e546e52..453a2b6267 100644 --- a/src/core/stdclist/src/clcopts.cpp +++ b/src/core/stdclist/src/clcopts.cpp @@ -124,7 +124,7 @@ static LONG CalcMinRowHeight() for (int i = 0; i < FONTID_LAST; i++) {
LOGFONT lf;
COLORREF color;
- pcli->pfnGetFontSetting(i, &lf, &color);
+ Clist_GetFontSetting(i, &lf, &color);
lf.lfHeight = -MulDiv(lf.lfHeight, GetDeviceCaps(hdc, LOGPIXELSY), 72);
HFONT hFont = CreateFontIndirect(&lf);
hFont = (HFONT)SelectObject(hdc, hFont);
|