]> Pileus Git - ~andy/gtk/blob - modules/input/imm-extra.h
gail: Add back get_name for menu items
[~andy/gtk] / modules / input / imm-extra.h
1 /*
2  * Copyright (C) 2003 Takuro Ashie
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  *
19  * $Id$ 
20  */
21
22 #include <windows.h>
23 #include <imm.h>
24
25
26 /* these aren't defined in Cygwin's imm.h */
27
28 #ifndef WM_IME_REQUEST
29 #   define WM_IME_REQUEST                  0x0288
30 #endif  /* WM_IME_REQUEST */
31
32 #ifndef IMR_COMPOSITIONWINDOW
33 #   define IMR_COMPOSITIONWINDOW           0x0001
34 #endif /* IMR_COMPOSITIONWINDOW */
35
36 #ifndef IMR_CANDIDATEWINDOW
37 #   define IMR_CANDIDATEWINDOW             0x0002
38 #endif /* IMR_CANDIDATEWINDOW */
39
40 #ifndef IMR_COMPOSITIONFONT
41 #   define IMR_COMPOSITIONFONT             0x0003
42 #endif /* IMR_COMPOSITIONFONT */
43
44 #ifndef IMR_RECONVERTSTRING
45 #   define IMR_RECONVERTSTRING             0x0004
46 #endif /* IMR_RECONVERTSTRING */
47
48 #ifndef IMR_CONFIRMRECONVERTSTRING
49 #   define IMR_CONFIRMRECONVERTSTRING      0x0005
50 #endif /* IMR_CONFIRMRECONVERTSTRING */
51
52 #ifndef IMR_QUERYCHARPOSITION
53 #   define IMR_QUERYCHARPOSITION           0x0006
54 typedef struct tagIMECHARPOSITION {
55   DWORD  dwSize;
56   DWORD  dwCharPos;
57   POINT  pt;
58   UINT   cLineHeight;
59   RECT   rcDocument;
60 } IMECHARPOSITION, *PIMECHARPOSITION;
61 #endif /* IMR_QUERYCHARPOSITION */
62
63 #ifndef IMR_DOCUMENTFEED
64 #   define IMR_DOCUMENTFEED                0x0007
65 #endif /* IMR_DOCUMENTFEED */