diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-27 14:15:17 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-27 14:15:17 +0300 |
commit | b3e8f72f17e9787aa5455977dc5eae05ddecb578 (patch) | |
tree | 0fb22846efd334599b9a8a774153e98aca3c97cb /include | |
parent | 54928843e7fcd6d42be6d8d5d1127830fda97eca (diff) |
common code moved to mir_app
Diffstat (limited to 'include')
-rw-r--r-- | include/m_chat_int.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h index 8a16ccc3f1..48a2efdf40 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -394,6 +394,9 @@ EXTERN_C MIR_APP_DLL(BOOL) Chat_DoEventHook(SESSION_INFO *si, int iType, const U EXTERN_C MIR_APP_DLL(UINT) Chat_CreateGCMenu(HWND hwnd, HMENU hMenu, POINT pt, SESSION_INFO *si, const wchar_t *pszUID, const wchar_t *pszWordText);
EXTERN_C MIR_APP_DLL(void) Chat_DestroyGCMenu(HMENU hMenu, int iIndex);
+// calculates width or height of a string
+EXTERN_C MIR_APP_DLL(int) Chat_GetTextPixelSize(const wchar_t *pszText, HFONT hFont, bool bWidth);
+
// message procedures' stubs
EXTERN_C MIR_APP_DLL(LRESULT) CALLBACK stubLogProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
EXTERN_C MIR_APP_DLL(LRESULT) CALLBACK stubMessageProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
|