summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-14 19:24:52 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-14 19:24:52 +0300
commitc903fe01f85d8bbd7b5fe670d2314a6c92bfe688 (patch)
treef8d86207531ed378fa17719d4322da7a4ba6519e /plugins/ExternalAPI
parent1c9faebef10ee8a8de06b31ba1cf0049be8ee6dc (diff)
libTextControl: patch for more effective icon caching (if we need it sometimes)
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r--plugins/ExternalAPI/m_text.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/ExternalAPI/m_text.h b/plugins/ExternalAPI/m_text.h
index 9bb349d8a8..d6e948b673 100644
--- a/plugins/ExternalAPI/m_text.h
+++ b/plugins/ExternalAPI/m_text.h
@@ -66,6 +66,9 @@ MTEXTCONTROL_DLL(HText) MTextCreateW(HANDLE userHandle, const char *szProto, con
// allocate text object (advanced)
MTEXTCONTROL_DLL(HText) MTextCreateEx(HANDLE userHandle, const void *text, uint32_t flags);
+// allocate text object (advanced)
+MTEXTCONTROL_DLL(HText) MTextCreateEx2(HWND hwnd, HANDLE userHandle, const void *text, uint32_t flags);
+
// destroys text object
MTEXTCONTROL_DLL(int) MTextDestroy(HText text);