aboutsummaryrefslogtreecommitdiff
path: root/vendor/x11iraf/obm/ObmW/Xraw/SeparatorP.h
blob: 75250d38e283ff5d5945e7e7fee114a90549428a (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
/*
 * SeparatorP.h - Private definitions for Separator widget
 * 
 */

#ifndef _XawSeparatorP_h
#define _XawSeparatorP_h

/***********************************************************************
 *
 * Separator Widget Private Data
 *
 ***********************************************************************/

#include <X11/Xmu/Converters.h>
#include <X11/Xraw/SimpleP.h>
#include <X11/Xraw/Separator.h>


/* New fields for the Separator widget class record */

typedef struct {int foo;} SeparatorClassPart;

/* Full class record declaration */
typedef struct _SeparatorClassRec {
    CoreClassPart	core_class;
    SimpleClassPart     simple_class;
    SeparatorClassPart	separator_class;
} SeparatorClassRec;

extern SeparatorClassRec separatorClassRec;

/* New fields for the Separator widget record */

typedef struct {

  /* Public Resources */
  XtOrientation    orientation;
  Dimension        margin;
  XawSeparatorType separatorType;

  /* Private part */
  GC               gc;

} SeparatorPart;


/****************************************************************
 *
 * Full instance record declaration
 *
 ****************************************************************/

typedef struct _SeparatorRec {
    CorePart	  core;
    SimplePart    simple;
    SeparatorPart separator;
} SeparatorRec;

#endif /* _XawSeparatorP_h */