From c903fe01f85d8bbd7b5fe670d2314a6c92bfe688 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 14 Dec 2023 19:24:52 +0300 Subject: libTextControl: patch for more effective icon caching (if we need it sometimes) --- plugins/ExternalAPI/m_text.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/ExternalAPI') 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); -- cgit v1.2.3