comparison include/WcharDisp.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 5a32b68b627d
comparison
equal deleted inserted replaced
-1:000000000000 0:92745d501b9a
1 /* $Id: WcharDisp.h,v 1.4 1991/09/17 10:08:27 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 #ifndef _WcharDisplay_h
20 #define _WcharDisplay_h
21
22 /* WcharDisplay and JpWcharDisplay object public header file */
23
24 /*
25 WcharDisplay new resources:
26
27 name class type default access
28 ----------------------------------------------------------------------------
29 fontG0 Font FontStruct XtDefaultFont CSG
30 fontG1 Font FontStruct NULL CSG
31 fontG2 Font FontStruct NULL CSG
32 fontG3 Font FontStruct NULL CSG
33 fontMapping FontMapping FontMappng GL/GL/GL/GL CSG
34
35
36 JpWcharDisplay new resources:
37
38 name class type default access note
39 ----------------------------------------------------------------------------
40 font Font FontStruct *1 CSG *4
41 kanjiFont KanjiFont FontStruct *2 CSG *5
42 kanaFont KanaFont FontStruct *3 CSG *6
43
44 *1) "-Misc-Fixed-Medium-R-*--14-*-*-*-C-*-ISO8859-1"
45 *2) "-Misc-Fixed-Medium-R-*--14-*-*-*-C-*-JISX0208.1983-0"
46 *3) "-Misc-Fixed-Medium-R-*--14-*-*-*-C-*-JISX0201.1976-0"
47
48 note: *4) this resource overrides superclass's fontG0 resource
49 *5) this resource overrides superclass's fontG1 resource
50 *6) this resource overrides superclass's fontG2 resource
51
52
53 JpWcharDisplay override resource:
54
55 name class type default access note
56 ----------------------------------------------------------------------------
57 fontMapping FontMapping FontMappng GL/GL/GR/GL CSG
58
59 */
60
61 #include "ConvDisp.h"
62 #include "WStr.h"
63
64 #define XtNfontG0 "fontG0"
65 #define XtNfontG1 "fontG1"
66 #define XtNfontG2 "fontG2"
67 #define XtNfontG3 "fontG3"
68
69 #define XtNfontMapping "fontMapping"
70 #define XtCFontMapping "FontMapping"
71
72 #define XtNkanjiFont "kanjiFont"
73 #define XtCKanjiFont "KanjiFont"
74 #define XtNkanaFont "kanaFont"
75 #define XtCKanaFont "KanaFont"
76
77 typedef struct _WcharDisplayClassRec *WcharDisplayObjectClass;
78 typedef struct _WcharDisplayRec *WcharDisplayObject;
79
80 extern WidgetClass wcharDisplayObjectClass;
81
82 typedef struct _JpWcharDisplayClassRec *JpWcharDisplayObjectClass;
83 typedef struct _JpWcharDisplayRec *JpWcharDisplayObject;
84
85 extern WidgetClass jpWcharDisplayObjectClass;
86
87 #endif /* _WcharDisplay_h */
88