diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-19 17:28:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-19 17:28:12 +0300 |
commit | 0ea58a3f52fbebe2532e2b19a08b1a0422d7296e (patch) | |
tree | 63cf880a33a8af1797cab24c7e3101d751e38ed6 /include/m_fontservice.h | |
parent | f37d8e059796ae661318656939d577198c67db3b (diff) |
Windows API declarations isolated inside modules
Diffstat (limited to 'include/m_fontservice.h')
-rw-r--r-- | include/m_fontservice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_fontservice.h b/include/m_fontservice.h index d95642d3b5..61ac81df28 100644 --- a/include/m_fontservice.h +++ b/include/m_fontservice.h @@ -112,8 +112,8 @@ EXTERN_C MIR_APP_DLL(int) Font_RegisterW(FontIDW *pFont, HPLUGIN); // global default font is gotten using SPI_GETICONTITLELOGFONT, color COLOR_WINDOWTEXT, size 8.
// returns the font's colour
-EXTERN_C MIR_APP_DLL(COLORREF) Font_Get(const char *szGroup, const char *szName, struct LOGFONTA *pFont);
-EXTERN_C MIR_APP_DLL(COLORREF) Font_GetW(const wchar_t *wszGroup, const wchar_t *wszName, struct LOGFONTW *pFont);
+EXTERN_C MIR_APP_DLL(COLORREF) Font_Get(const char *szGroup, const char *szName, LOGFONTA *pFont);
+EXTERN_C MIR_APP_DLL(COLORREF) Font_GetW(const wchar_t *wszGroup, const wchar_t *wszName, LOGFONTW *pFont);
__forceinline COLORREF Font_Get(FontID &p, LOGFONTA *pFont)
{ return Font_Get(p.group, p.name, pFont);
|