diff options
author | George Hazan <george.hazan@gmail.com> | 2023-10-31 13:09:10 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-10-31 13:09:10 +0300 |
commit | 5b2fa6f292b910409066b2ca748b3f7b8ff020b1 (patch) | |
tree | 97408436343ad0144a9b76e4dea1897ee1942d3e /plugins/ExternalAPI | |
parent | 6a495da1906284b770f1aceee892d7e60fe1582e (diff) |
NewStory:
- fixes #3755 (NewStory: неработающий тэг color парсится криво);
- fixes bug with template preview in the options dialog
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r-- | plugins/ExternalAPI/m_text.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/ExternalAPI/m_text.h b/plugins/ExternalAPI/m_text.h index d6607e2eb1..d2165802ac 100644 --- a/plugins/ExternalAPI/m_text.h +++ b/plugins/ExternalAPI/m_text.h @@ -3,8 +3,14 @@ // Text control
#define MTEXTCONTROLCLASS "MTextControl"
-#define MTM_SETUSER WM_USER
-#define MTM_UPDATE WM_USER+1
+
+#define MTM_SETUSER (WM_USER)
+#define MTM_UPDATE (WM_USER+1)
+
+// analog of calling MTextCreateEx
+// wParam = MTEXT_FLG_*
+// lParam = (void*)text
+#define MTM_UPDATEEX (WM_USER+2)
typedef struct TextObject *HText;
|