aboutsummaryrefslogtreecommitdiff
path: root/vendor/x11iraf/obm/ObmW/BoardP.h
blob: 6824bc93da992502813f8181f39301fec93d0e20 (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
/* Generated by wbuild from "Board.w"
** (generator version $Revision: 2.0 $ of $Date: 93/07/06 16:08:04 $)
*/
#ifndef _XfwfBoardP_H_
#define _XfwfBoardP_H_
#include "FrameP.h"
#include "Board.h"
typedef void (*set_abs_location_Proc)(
#if NeedFunctionPrototypes
Widget,unsigned  int ,int ,int ,int ,int 
#endif
);
#define XtInherit_set_abs_location ((set_abs_location_Proc) _XtInherit)
typedef struct {
/* methods */
set_abs_location_Proc set_abs_location;
/* class variables */
} XfwfBoardClassPart;
typedef struct _XfwfBoardClassRec {
CoreClassPart core_class;
CompositeClassPart composite_class;
XfwfCommonClassPart xfwfCommon_class;
XfwfFrameClassPart xfwfFrame_class;
XfwfBoardClassPart xfwfBoard_class;
} XfwfBoardClassRec;

typedef struct {
/* resources */
Position  abs_x;
float  rel_x;
Position  abs_y;
float  rel_y;
#define MAGICNUM 12349 


Position  abs_width;
float  rel_width;
Position  abs_height;
float  rel_height;
float  hunit;
float  vunit;
String  location;
/* private state */
} XfwfBoardPart;

typedef struct _XfwfBoardRec {
CorePart core;
CompositePart composite;
XfwfCommonPart xfwfCommon;
XfwfFramePart xfwfFrame;
XfwfBoardPart xfwfBoard;
} XfwfBoardRec;

externalref XfwfBoardClassRec xfwfBoardClassRec;

#endif /* _XfwfBoardP_H_ */