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 (lispwindow_h)
22 #define	lispwindow_h
23 
24 struct tagTLispEntity ;
25 
26 struct tagTLispWindow {
27 	/*
28 	 *	������ɥ���°���Ƥ���ե졼�ࡣ
29 	 *	�ե졼�फ�餷��������ɥ����ȤǤ��ʤ��Τ����ؤǤ�����
30 	 */
31 	struct tagTLispEntity*	m_pFrame ;
32 	/*
33 	 *	�����ΰ衣frame �κ���� (0, 0) �Ȥ��ơ����ԥ��������߽Ĥ�
34 	 *	���Υ�����ɥ��λ�ʬ�ʤΤ��������ä���ȡ�Frame �Υ�������
35 	 *	���פ��ʤ��Ȥ����ʤ���
36 	 */
37 	XRectangle		m_Range ;
38 
39 	/*	(window-minibuffer-p) �η�̤Ȥʤ��͡�
40 	 */
41 	Boolean			m_fMinibufferWindow ;
42 	Boolean			m_fHaveFocus ;
43 	/*
44 	 *	������ɥ��λ��ĥХåե� (Entity)
45 	 *	�Хåե�������ʤ�������ɥ���¸�ߤ��ʤ������ʤ��Ȥ�ư���
46 	 *	�������ϥХåե�����ġ�(��ä��ִ֤Ϥʤ��Τ���)
47 	 *----
48 	 *	(window-buffer) �Ȥ����ؿ��Ϥ��뤬��buffer ���� window ��Ҥ�
49 	 *	���ȤϤǤ��ʤ��褦����
50 	 */
51 	struct tagTLispEntity*	m_pBuffer ;
52 	struct tagTLispEntity*	m_pMessage ;
53 	/*
54 	 *	���ΰ��֤���Хåե�������(�ƥ�����)��ɽ������롣
55 	 */
56 	struct tagTLispEntity*	m_pViewMarker ;
57 
58 	int		m_nPointBack ;
59 	int		m_nTick ;
60 
61 	/*
62 	 *	����Ū�˼�ʬ�岼�����ΰ��֤��륦����ɥ�������ʤ��Ȥ����ʤ�
63 	 *	����������ˤ�ꡢNext Window (C-x o) �ΰ�̣�����ޤ�롣
64 	 *	������C-x o ��ư��뤫�ɤ������̤��äǤ��롣
65 	 */
66 	struct tagTLispEntity*	m_pPrevWindow ;
67 	struct tagTLispEntity*	m_pNextWindow ;
68 } ;
69 
70 typedef struct tagTLispWindow	TLispWindow ;
71 
72 #endif
73 
74