diff options
| author | George Hazan <ghazan@miranda.im> | 2022-06-16 22:32:40 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2022-06-16 22:32:40 +0300 |
| commit | b306ebad307bc450d0639ee0169976fa50a84b40 (patch) | |
| tree | cef022b550448034401fdb35e00347cd3902133d /include | |
| parent | aa37139121fccf4d304cc07d546b2b96ebe6dbcb (diff) | |
Utils_CorrectFontSize - a function for dynamic font size adjustment
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/m_utils.h b/include/m_utils.h index fbd10166ab..a9914f93f7 100644 --- a/include/m_utils.h +++ b/include/m_utils.h @@ -224,6 +224,11 @@ __forceinline int Utils_RestoreWindowPositionNoMove(HWND hwnd, MCONTACT hContact EXTERN_C MIR_CORE_DLL(int) Utils_AssertInsideScreen(RECT *rc);
+/////////////////////////////////////////////////////////////////////////////////////////
+// corrects font size according to the DPI settings
+
+EXTERN_C MIR_CORE_DLL(int) Utils_CorrectFontSize(int iFontSize);
+
/************************ Colour Picker Control (0.1.2.1+) **********************/
#define WNDCLASS_COLOURPICKER "ColourPicker"
|
