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

#ifndef _XawSeparatorP_h
#define _XawSeparatorP_h

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

#include <X11/Xmu/Converters.h>

#include "XrawInit.h"
#include "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;
#include <X11/Xaw3d/Simple.h>
    SeparatorPart separator;
} SeparatorRec;

#endif /* _XawSeparatorP_h */