summaryrefslogtreecommitdiff
path: root/gtk/imm-extra.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-02-23 14:59:49 -0500
committerMatthias Clasen <mclasen@redhat.com>2018-02-24 21:34:40 -0500
commit15cc20e7b5d46656b83a39f086650555e369aa1b (patch)
treecf7a33557fcd456d606439fe1aa5e9efd729d591 /gtk/imm-extra.h
parent29bcc38ae62e73b76f0f663e2ecc5e85bfe4ca46 (diff)
downloadgtk+-15cc20e7b5d46656b83a39f086650555e369aa1b.tar.gz
Always include platform immodules
No need to load these as gio modules, we just include them in libgtk.
Diffstat (limited to 'gtk/imm-extra.h')
-rw-r--r--gtk/imm-extra.h63
1 files changed, 63 insertions, 0 deletions
diff --git a/gtk/imm-extra.h b/gtk/imm-extra.h
new file mode 100644
index 0000000000..094dc5b17c
--- /dev/null
+++ b/gtk/imm-extra.h
@@ -0,0 +1,63 @@
+/*
+ * Copyright (C) 2003 Takuro Ashie
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * $Id$
+ */
+
+#include <windows.h>
+#include <imm.h>
+
+
+/* these aren't defined in Cygwin's imm.h */
+
+#ifndef WM_IME_REQUEST
+# define WM_IME_REQUEST 0x0288
+#endif /* WM_IME_REQUEST */
+
+#ifndef IMR_COMPOSITIONWINDOW
+# define IMR_COMPOSITIONWINDOW 0x0001
+#endif /* IMR_COMPOSITIONWINDOW */
+
+#ifndef IMR_CANDIDATEWINDOW
+# define IMR_CANDIDATEWINDOW 0x0002
+#endif /* IMR_CANDIDATEWINDOW */
+
+#ifndef IMR_COMPOSITIONFONT
+# define IMR_COMPOSITIONFONT 0x0003
+#endif /* IMR_COMPOSITIONFONT */
+
+#ifndef IMR_RECONVERTSTRING
+# define IMR_RECONVERTSTRING 0x0004
+#endif /* IMR_RECONVERTSTRING */
+
+#ifndef IMR_CONFIRMRECONVERTSTRING
+# define IMR_CONFIRMRECONVERTSTRING 0x0005
+#endif /* IMR_CONFIRMRECONVERTSTRING */
+
+#ifndef IMR_QUERYCHARPOSITION
+# define IMR_QUERYCHARPOSITION 0x0006
+typedef struct tagIMECHARPOSITION {
+ DWORD dwSize;
+ DWORD dwCharPos;
+ POINT pt;
+ UINT cLineHeight;
+ RECT rcDocument;
+} IMECHARPOSITION, *PIMECHARPOSITION;
+#endif /* IMR_QUERYCHARPOSITION */
+
+#ifndef IMR_DOCUMENTFEED
+# define IMR_DOCUMENTFEED 0x0007
+#endif /* IMR_DOCUMENTFEED */