aboutsummaryrefslogtreecommitdiff
path: root/vendor/x11iraf/obm/ObmW/Separator.h
blob: e6d6eff8e4610a31f409930d67798d4a5b2cf44c (plain) (blame)
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
#ifndef _XawSeparator_h
#define _XawSeparator_h

/***********************************************************************
 *
 * Separator Widget
 *
 ***********************************************************************/

#include "XrawInit.h"

/* Resources:

 Name		     Class		RepType		Default Value
 ----		     -----		-------		-------------
 background	     Background		Pixel		XtDefaultBackground
 bitmap		     Pixmap		Pixmap		None
 border		     BorderColor	Pixel		XtDefaultForeground
 borderWidth	     BorderWidth	Dimension	1
 cursor		     Cursor		Cursor		None
 cursorName	     Cursor		String		NULL
 destroyCallback     Callback		XtCallbackList	NULL
 foreground	     Foreground		Pixel		XtDefaultForeground
 height		     Height		Dimension	text height
 mappedWhenManaged   MappedWhenManaged	Boolean		True
 width		     Width		Dimension	text width
 x		     Position		Position	0
 y		     Position		Position	0

*/




typedef enum {
  XawSINGLE_LINE = Xraw_SEPARATOR,
  XawDOUBLE_LINE,
  XawSHADOW_ETCHED_IN,
  XawSHADOW_ETCHED_OUT
} XawSeparatorType;


#define XawSingle_Line       "singleline"
#define XawDouble_Line       "doubleline"
#define XawShadow_Etched_In  "shadowetchedin"
#define XawShadow_Etched_Out "shadowetchedout"



#ifndef XtNmargin
#define XtNmargin "margin"
#endif

#ifndef XtCMargin
#define XtCMargin "Margin"
#endif

#ifndef XtNseparatorType
#define XtNseparatorType "separatorType"
#endif

#ifndef XtCSeparatorType
#define XtCSeparatorType "SeparatorType"
#endif

#ifndef XtRSeparatorType
#define XtRSeparatorType "SeparatorType"
#endif

#define XawTextEncoding8bit 0
#define XawTextEncodingChar2b 1

#define XtNleftBitmap "leftBitmap"
#define XtCLeftBitmap "LeftBitmap"
#define XtNencoding "encoding"
#define XtCEncoding "Encoding"

#ifndef _XtStringDefs_h_
#define XtNbitmap "bitmap"
#define XtNforeground "foreground"
#define XtNseparator "separator"
#define XtNfont "font"
#define XtNinternalWidth "internalWidth"
#define XtNinternalHeight "internalHeight"
#define XtNresize "resize"
#define XtCResize "Resize"
#define XtCBitmap "Bitmap"
#endif

/* Class record constants */

extern WidgetClass separatorWidgetClass;

typedef struct _SeparatorClassRec *SeparatorWidgetClass;
typedef struct _SeparatorRec      *SeparatorWidget;

#endif /* _XawSeparator_h */
/* DON'T ADD STUFF AFTER THIS #endif */