1 /* # skkinput (Simple Kana-Kanji Input)
2  *
3  * This file is part of skkinput.
4  * Copyright (C) 2002
5  * Takashi SAKAMOTO (PXG01715@nifty.ne.jp)
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2, or (at your option)
10  * any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with skkinput; see the file COPYING.  If not, write to
19  * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20  */
21 #if !defined (XIMInputContextP_h)
22 #define	XIMInputContextP_h
23 
24 #include <X11/Xlib.h>
25 #include "commondef.h"
26 #include "kanji.h"
27 #include "XIMInputContext.h"
28 #include "attrs.h"
29 #include "varbuffer.h"
30 #include "tqueue.h"
31 
32 struct tagXIMInputContext {
33 	CARD16						m_woID ;
34 	XIMInputMethod*				m_pInputMethod ;
35 	unsigned long				m_ulAttributeMask ;
36 	XIMStyle					m_dwInputStyle ;
37 	Window						m_wndClient ;
38 	Window						m_wndFocus ;
39 	Window						m_wndKeyFocus ;
40 	CARD32						m_dwFilterEvents ;
41 	XIMResetState				m_ulResetState ;
42 	struct ConvAttrsMesg		m_ConvAttr ;
43 	Atom						m_atPStdColormap ;
44 	Atom						m_atSStdColormap ;
45 	Widget						m_wgTopFrame ;
46 	XIMPreeditState				m_preeditState ;
47 	TQueue						m_quePacketSpool ;
48 	TVarbuffer					m_vbufPFontSetName ;
49 	TVarbuffer					m_vbufSFontSetName ;
50 	unsigned int				m_uSyncStatus ;
51 	Boolean						m_fDestroy ;
52 	Boolean						m_fFocus ;
53 	XRectangle					m_rcClientAreaNeeded ;
54 	XRectangle					m_rcStatusAreaNeeded ;
55 	struct skkinputManagedFont*	m_fontset [NUMBER_OF_CHARSET] ;
56 	int							m_nFontHeight ;
57 	struct tagXIMInputContext*	m_pNext ;
58 } ;
59 
60 #endif
61 
62