dtinfo: remove register keyword
[oweals/cde.git] / cde / programs / dtinfo / dtinfo / src / Macros.res
1 ! $XConsortium: Macros.res /main/4 1996/07/18 17:27:10 rcs $
2
3 !x Macros to assist in defining resource files.
4
5 !x Form attachment macros
6
7 #define left_widget(W) leftAttachment: attach_widget; leftWidget: W
8 #define right_widget(W) rightAttachment: attach_widget; rightWidget: W
9 #define top_widget(W) topAttachment: attach_widget; topWidget: W
10 #define bottom_widget(W) bottomAttachment: attach_widget; bottomWidget: W
11 #define right_pos(P) rightAttachment: attach_position; rightPosition: P
12 #define left_pos(P) leftAttachment: attach_position; leftPosition: P
13 #define top_pos(P) topAttachment: attach_position; topPosition: P
14 #define bottom_pos(P) bottomAttachment: attach_position; bottomPosition: P
15 #define left_form leftAttachment: attach_form
16 #define right_form rightAttachment: attach_form
17 #define top_form topAttachment: attach_form
18 #define bottom_form bottomAttachment: attach_form
19
20 #define top_opposite(W) \
21         topAttachment: attach_opposite_widget; topWidget: W
22 #define bottom_opposite(W) \
23         bottomAttachment: attach_opposite_widget; bottomWidget: W
24 #define left_opposite(W) \
25         leftAttachment: attach_opposite_widget; leftWidget: W
26 #define right_opposite(W) \
27         rightAttachment: attach_opposite_widget; rightWidget: W
28
29 #define Btn_1of7 left_form; leftOffset: 3; right_pos(15); bottom_form
30 #define Btn_2of7 left_pos(15); right_pos(29); bottom_form
31 #define Btn_3of7 left_pos(29); right_pos(43); bottom_form
32 #define Btn_4of7 left_pos(43); right_pos(57); bottom_form
33 #define Btn_5of7 left_pos(57); right_pos(71); bottom_form
34 #define Btn_6of7 left_pos(71); right_pos(85); bottom_form
35 #define Btn_7of7 left_pos(85); right_form; right_offset: 3; bottom_form
36
37 #define Btn_1of6 left_form; leftOffset: 3; right_pos(16); bottom_form
38 #define Btn_2of6 left_pos(16); right_pos(33); bottom_form
39 #define Btn_3of6 left_pos(33); right_pos(50); bottom_form
40 #define Btn_4of6 left_pos(50); right_pos(67); bottom_form
41 #define Btn_5of6 left_pos(67); right_pos(84); bottom_form
42 #define Btn_6of6 left_pos(84); right_form; right_offset: 3; bottom_form
43
44 #define Btn_1of5 left_form; leftOffset: 3; right_pos(20); bottom_form
45 #define Btn_2of5 left_pos(20); right_pos(40); bottom_form
46 #define Btn_3of5 left_pos(40); right_pos(60); bottom_form
47 #define Btn_4of5 left_pos(60); right_pos(80); bottom_form
48 #define Btn_5of5 left_pos(80); right_form; right_offset: 3; bottom_form
49
50 #define Btn_1of4 left_form; leftOffset: 3; right_pos(25); bottom_form
51 #define Btn_2of4 left_pos(25); right_pos(50); bottom_form
52 #define Btn_3of4 left_pos(50); right_pos(75); bottom_form
53 #define Btn_4of4 left_pos(75); right_form; right_offset: 3; bottom_form
54
55 #define Btn_1of3 left_form; leftOffset: 3; right_pos(33); bottom_form
56 #define Btn_2of3 left_pos(33); right_pos(67); bottom_form
57 #define Btn_3of3 left_pos(67); right_form; right_offset: 3; bottom_form
58
59 #define label(W,S) W.labelString: S
60
61 #define BOLD  fontList: -dt-application-bold-r-normal-sans-*-140-*-*-p-*-iso8859-1
62 #define INSENSITIVE sensitive: false