File: MwBaseComp.h

package info (click to toggle)
mowitz 0.2.0-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,168 kB
  • ctags: 4,214
  • sloc: ansic: 30,869; sh: 9,051; makefile: 169
file content (147 lines) | stat: -rw-r--r-- 3,075 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
/***************************************************************************/
/* 	This code is part of X-toolkit widget library called Nws 	   */
/*	Copyright (c) 1997,1998,1999 Ondrejicka Stefan			   */
/*	(ondrej@idata.sk)						   */
/*	Distributed under GPL 2 or later				   */
/***************************************************************************/

#ifndef _MwBaseComp_H_
#define _MwBaseComp_H_

#include <X11/Composite.h>
#include "MwNws.h"

#ifndef XtNcursor
#define XtNcursor	"cursor"
#endif
#ifndef XtCCursor
#define XtCCursor	"Cursor"
#endif

#ifndef XtNtraverse
#define XtNtraverse	"traverse"
#endif
#ifndef XtCTraverse
#define XtCTraverse	"Traverse"
#endif

#ifndef XtNbox_type
#define XtNbox_type	"box_type"
#endif
#ifndef XtCBox_type
#define XtCBox_type	"Box_type"
#endif

#ifndef XtNbox_width
#define XtNbox_width	"box_width"
#endif
#ifndef XtCBox_width
#define XtCBox_width	"Box_width"
#endif

#ifndef XtNbox_intensity
#define XtNbox_intensity	"box_intensity"
#endif
#ifndef XtCBox_intensity
#define XtCBox_intensity	"Box_intensity"
#endif

#ifndef XtNbox_color
#define XtNbox_color	"box_color"
#endif
#ifndef XtCBox_color
#define XtCBox_color	"Box_color"
#endif

#ifndef XtNfont
#define XtNfont		"font"
#endif
#ifndef XtCFont
#define XtCFont		"Font"
#endif

#ifndef XtNlabel
#define XtNlabel	"label"
#endif
#ifndef XtCLabel
#define XtCLabel	"Label"
#endif

#ifndef XtNjustify
#define XtNjustify	"justify"
#endif
#ifndef XtCJustify
#define XtCJustify	"Justify"
#endif

#ifndef XtNhelp_text
#define XtNhelp_text	"help_text"
#endif
#ifndef XtCHelp_text
#define XtCHelp_text	"Help_text"
#endif

#ifndef XtNforeground
#define XtNforeground   "foreground"
#endif
#ifndef XtCForeground
#define XtCForeground   "Foreground"
#endif

#ifndef XtNactiv_color
#define XtNactiv_color	"activ_color"
#endif
#ifndef XtCActiv_color
#define XtCActiv_color	"Activ_color"
#endif

#ifndef XtNhighlight_on_enter
#define XtNhighlight_on_enter	"highlight_on_enter"
#endif
#ifndef XtCHighlight_on_enter
#define XtCHighlight_on_enter	"Highlight_on_enter"
#endif

#ifndef XtNhelp_show_delay
#define XtNhelp_show_delay	"help_show_delay"
#endif
#ifndef XtCHelp_show_delay
#define XtCHelp_show_delay	"Help_show_delay"
#endif

#ifndef XtNbd_width
#define XtNbd_width     "bd_width"
#endif
#ifndef XtCBd_width
#define XtCBd_width     "Bd_width"
#endif

#ifndef XtNbd_color
#define XtNbd_color     "bd_color"
#endif
#ifndef XtCBd_color
#define XtCBd_color     "Bd_color"
#endif

/* constant for box type definition */
#define XtNo_box 		0
#define XtSimple_box		1
#define XtUp_box		2
#define XtDown_box		3
#define XtFramein_box		4
#define XtFrameout_box		5
#define XtShadow_box		6

#ifndef XtNtopShadowContrast
#define XtNtopShadowContrast "topShadowContrast"
#define XtCTopShadowContrast "TopShadowContrast"
#define XtNbottomShadowContrast "bottomShadowContrast"
#define XtCBottomShadowContrast "BottomShadowContrast"
#endif

extern WidgetClass mwBaseCompWidgetClass;

typedef struct _MwBaseCompClassRec	*MwBaseCompWidgetClass;
typedef struct _MwBaseCompRec		*MwBaseCompWidget;

#endif