2 * Copyright 1991 by OMRON Corporation
4 * Permission to use, copy, modify, distribute, and sell this software and its
5 * documentation for any purpose is hereby granted without fee, provided that
6 * the above copyright notice appear in all copies and that both that
7 * copyright notice and this permission notice appear in supporting
8 * documentation, and that the name of OMRON not be used in advertising or
9 * publicity pertaining to distribution of the software without specific,
10 * written prior permission. OMRON makes no representations about the
11 * suitability of this software for any purpose. It is provided "as is"
12 * without express or implied warranty.
14 * OMRON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
15 * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
16 * OMRON BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
17 * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
18 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTUOUS ACTION,
19 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
22 * Author: Seiji Kuwari OMRON Corporation
24 * kuwa%omron.co.jp@uunet.uu.net
29 Copyright 1994, 1998 The Open Group
31 Permission to use, copy, modify, distribute, and sell this software and its
32 documentation for any purpose is hereby granted without fee, provided that
33 the above copyright notice appear in all copies and that both that
34 copyright notice and this permission notice appear in supporting
37 The above copyright notice and this permission notice shall be included in
38 all copies or substantial portions of the Software.
40 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
41 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
42 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
43 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
44 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
45 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
47 Except as contained in this notice, the name of The Open Group shall not be
48 used in advertising or otherwise to promote the sale, use or other dealings
49 in this Software without prior written authorization from The Open Group.
56 #define XtNinputMethod "inputMethod"
57 #define XtCInputMethod "InputMethod"
58 #define XtNpreeditType "preeditType"
59 #define XtCPreeditType "PreeditType"
60 #define XtNopenIm "openIm"
61 #define XtCOpenIm "OpenIm"
62 #define XtNsharedIc "sharedIc"
63 #define XtCSharedIc "SharedIc"
65 #include <X11/Xaw/Text.h>
67 #define CIICFocus (1 << 0)
68 #define CIFontSet (1 << 1)
71 #define CIBgPixmap (1 << 4)
72 #define CICursorP (1 << 5)
73 #define CILineS (1 << 6)
75 typedef struct _XawImPart {
77 XrmResourceList resources;
78 Cardinal num_resources;
81 Dimension area_height;
86 typedef struct _XawIcTablePart {
91 unsigned long prev_flg;
97 XawTextPosition cursor_position;
98 unsigned long line_spacing;
100 struct _XawIcTablePart *next;
101 } XawIcTablePart, *XawIcTableList;
103 typedef struct _XawIcPart {
104 XIMStyle input_style;
106 XawIcTableList shared_ic_table;
107 XawIcTableList current_ic_table;
108 XawIcTableList ic_table;
111 typedef struct _contextDataRec {
116 typedef struct _contextErrDataRec {
121 void _XawImResizeVendorShell
126 Dimension _XawImGetShellHeight
136 void _XawImInitialize
152 void _XawImUnregister
164 void _XawImSetFocusValues
171 void _XawImUnsetFocus
176 int _XawImWcLookupString
179 XKeyPressedEvent *event,
180 wchar_t *buffer_return,
182 KeySym *keysym_return
191 KeySym *keysym_return
194 int _XawImGetImAreaHeight
199 void _XawImCallVendorShellExtResize
210 #endif /* _XawImP_h */