comparison include/AuxPanel.h @ 0:92745d501b9a

initial import from kinput2-v3.1
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 08 Mar 2010 04:44:30 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:92745d501b9a
1 /* $Id: AuxPanel.h,v 1.6 1993/09/08 01:31:45 ishisone Rel $ */
2 /*
3 * Copyright (c) 1990 Software Research Associates, Inc.
4 *
5 * Permission to use, copy, modify, and distribute this software and its
6 * documentation for any purpose and without fee is hereby granted, provided
7 * that the above copyright notice appear in all copies and that both that
8 * copyright notice and this permission notice appear in supporting
9 * documentation, and that the name of Software Research Associates not be
10 * used in advertising or publicity pertaining to distribution of the
11 * software without specific, written prior permission. Software Research
12 * Associates makes no representations about the suitability of this software
13 * for any purpose. It is provided "as is" without express or implied
14 * warranty.
15 *
16 * Author: Makoto Ishisone, Software Research Associates, Inc., Japan
17 */
18
19 /* Copyright 1991 NEC Corporation, Tokyo, Japan.
20 *
21 * Permission to use, copy, modify, and distribute this software and its
22 * documentation for any purpose and without fee is hereby granted,
23 * provided that the above copyright notice appear in all copies and that
24 * both that copyright notice and this permission notice appear in
25 * supporting documentation, and that the name of NEC Corporation
26 * not be used in advertising or publicity pertaining to distribution
27 * of the software without specific, written prior permission. NEC
28 * Corporation makes no representations about the suitability of this
29 * software for any purpose. It is provided "as is" without express
30 * or implied warranty.
31 *
32 * NEC CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
33 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
34 * NO EVENT SHALL NEC CORPORATION BE LIABLE FOR ANY SPECIAL, INDIRECT OR
35 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
36 * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
37 * OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
38 * PERFORMANCE OF THIS SOFTWARE.
39 *
40 * Author: Akira Kon, NEC Corporation. (kon@d1.bs2.mt.nec.co.jp)
41 */
42
43 #ifndef _AuxPanel_h
44 #define _AuxPanel_h
45
46 #include "ICtypes.h"
47
48 /*
49 AuxPanel new resources:
50
51 name class type default access
52 ----------------------------------------------------------------------------
53 foreground Foreground Pixel default CSG
54 horizontalSpacing Spacing Dimension 6 CSG
55 verticalSpacing Spacing Dimension 4 CSG
56 defaultWidth DefaultWidth Dimension 400 CSG
57 cursor Cursor Cursor parent CSG
58
59 AuxPanel widget $B$K$O<B:]$KJ8;zNs$rI=<($9$k$?$a$N(B widget $B$r;R(B widget
60 $B$H$7$FM?$($kI,MW$,$"$k!#$3$N(B widget $B$N%/%i%9$O(B ConvDisplayObject $B%/%i%9$N(B
61 $B%5%V%/%i%9$G$J$1$l$P$J$i$J$$!#(B
62 */
63
64 #define XtCSpacing "Spacing"
65 #define XtNhorizontalSpacing "horizontalSpacing"
66 #define XtNverticalSpacing "verticalSpacing"
67
68 #define XtCDefaultWidth "DefaultWidth"
69 #define XtNdefaultWidth "defaultWidth"
70
71 #define XtNcursor "cursor"
72
73 typedef struct _AuxPanelClassRec* AuxPanelWidgetClass;
74 typedef struct _AuxPanelRec* AuxPanelWidget;
75
76 extern WidgetClass auxPanelWidgetClass;
77
78 /*
79 * Public Interface Functions
80 */
81
82 /*
83 * void APanelStart(Widget w)
84 * $B%Q%M%k$NFbMF$,H/@8$7$?$3$H$rDLCN$9$k!#(B
85 */
86 extern void APanelStart(
87 #if NeedFunctionPrototypes
88 Widget /* w */,
89 ICString * /* segments */,
90 Cardinal /* nseg */,
91 Cardinal /* curseg */,
92 Cardinal /* cursorpos */
93 #endif
94 );
95
96 /*
97 * void APanelChange(Widget w)
98 * $B%Q%M%k$NFbMF$,JQ2=$7$?$3$H$rDLCN$9$k!#(B
99 */
100 extern void APanelChange(
101 #if NeedFunctionPrototypes
102 Widget /* w */,
103 ICString * /* segments */,
104 Cardinal /* nseg */,
105 Cardinal /* curseg */,
106 Cardinal /* cursorpos */
107 #endif
108 );
109
110 /*
111 * void APanelEnd(Widget w)
112 * $B%Q%M%k$NFbMF$,>CLG$7$?$3$H$rDLCN$9$k!#(B
113 */
114 extern void APanelEnd(
115 #if NeedFunctionPrototypes
116 Widget /* w */
117 #endif
118 );
119
120 extern void APanelSetList(), APanelSetCurrent(), APanelMoveCurrent();
121
122 #endif