summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-05-25 18:36:42 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-05-25 18:36:42 +0300
commitb7928747cf0f8e53a01ee4628c58559862a9a689 (patch)
tree73ce33fe7e613afdedc4cfaf5d50d1c5c249fce1 /plugins/ExternalAPI
parenta30963d9f0a7561627f499b947caf78d4e6db2e2 (diff)
NewStory: small fixes
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r--plugins/ExternalAPI/m_text.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/ExternalAPI/m_text.h b/plugins/ExternalAPI/m_text.h
index 2039de8ba1..1c231c2fd2 100644
--- a/plugins/ExternalAPI/m_text.h
+++ b/plugins/ExternalAPI/m_text.h
@@ -42,17 +42,18 @@ enum
// text object flags
MTEXT_FLG_CHAR = 0x00000000,
MTEXT_FLG_WCHAR = 0x00000001,
- MTEXT_FLG_BIDI_RTL = 0x00000002
+ MTEXT_FLG_BIDI_RTL = 0x00000002,
+ MTEXT_FLG_RTF = 0x00000004,
};
// subscribe to MText services
-MTEXTCONTROL_DLL(HANDLE) MTextRegister(const char *userTitle, DWORD options);
+MTEXTCONTROL_DLL(HANDLE) MTextRegister(const char *userTitle, uint32_t options);
// allocate text object (unicode)
MTEXTCONTROL_DLL(HText) MTextCreateW(HANDLE userHandle, const char *szProto, const wchar_t *text);
// allocate text object (advanced)
-MTEXTCONTROL_DLL(HText) MTextCreateEx(HANDLE userHandle, void *text, DWORD flags);
+MTEXTCONTROL_DLL(HText) MTextCreateEx(HANDLE userHandle, void *text, uint32_t flags);
// destroys text object
MTEXTCONTROL_DLL(int) MTextDestroy(HText text);