]> Pileus Git - ~andy/gtk/blob - modules/input/imm-extra.h
stylecontext: Do invalidation on first resize container
[~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, see <http://www.gnu.org/licenses/>.
16  *
17  * $Id$ 
18  */
19
20 #include <windows.h>
21 #include <imm.h>
22
23
24 /* these aren't defined in Cygwin's imm.h */
25
26 #ifndef WM_IME_REQUEST
27 #   define WM_IME_REQUEST                  0x0288
28 #endif  /* WM_IME_REQUEST */
29
30 #ifndef IMR_COMPOSITIONWINDOW
31 #   define IMR_COMPOSITIONWINDOW           0x0001
32 #endif /* IMR_COMPOSITIONWINDOW */
33
34 #ifndef IMR_CANDIDATEWINDOW
35 #   define IMR_CANDIDATEWINDOW             0x0002
36 #endif /* IMR_CANDIDATEWINDOW */
37
38 #ifndef IMR_COMPOSITIONFONT
39 #   define IMR_COMPOSITIONFONT             0x0003
40 #endif /* IMR_COMPOSITIONFONT */
41
42 #ifndef IMR_RECONVERTSTRING
43 #   define IMR_RECONVERTSTRING             0x0004
44 #endif /* IMR_RECONVERTSTRING */
45
46 #ifndef IMR_CONFIRMRECONVERTSTRING
47 #   define IMR_CONFIRMRECONVERTSTRING      0x0005
48 #endif /* IMR_CONFIRMRECONVERTSTRING */
49
50 #ifndef IMR_QUERYCHARPOSITION
51 #   define IMR_QUERYCHARPOSITION           0x0006
52 typedef struct tagIMECHARPOSITION {
53   DWORD  dwSize;
54   DWORD  dwCharPos;
55   POINT  pt;
56   UINT   cLineHeight;
57   RECT   rcDocument;
58 } IMECHARPOSITION, *PIMECHARPOSITION;
59 #endif /* IMR_QUERYCHARPOSITION */
60
61 #ifndef IMR_DOCUMENTFEED
62 #   define IMR_DOCUMENTFEED                0x0007
63 #endif /* IMR_DOCUMENTFEED */