38 |
38 |
39 #ifdef __cplusplus |
39 #ifdef __cplusplus |
40 extern "C" { |
40 extern "C" { |
41 #endif |
41 #endif |
42 |
42 |
|
43 // resources |
|
44 #define gridColumnSpacing "gridColumnSpacing" |
|
45 #define gridRowSpacing "gridRowSpacing" |
|
46 #define gridMargin "gridMargin" |
|
47 |
|
48 // constraints |
43 #define gridColumn "gridColumn" |
49 #define gridColumn "gridColumn" |
44 #define gridRow "gridRow" |
50 #define gridRow "gridRow" |
45 #define gridColspan "gridColspan" |
51 #define gridColspan "gridColspan" |
46 #define gridRowspan "gridRowspan" |
52 #define gridRowspan "gridRowspan" |
47 #define gridHExpand "gridHExpand" |
53 #define gridHExpand "gridHExpand" |
50 #define gridVFill "gridVFill" |
56 #define gridVFill "gridVFill" |
51 #define gridMarginLeft "gridMarginLeft" |
57 #define gridMarginLeft "gridMarginLeft" |
52 #define gridMarginRight "gridMarginRight" |
58 #define gridMarginRight "gridMarginRight" |
53 #define gridMarginTop "gridMarginTop" |
59 #define gridMarginTop "gridMarginTop" |
54 #define gridMarginBottom "gridMarginBottom" |
60 #define gridMarginBottom "gridMarginBottom" |
|
61 #define gridMinWidth "gridMinWidth" |
55 |
62 |
56 |
63 |
57 typedef struct GridDef { |
64 typedef struct GridDef { |
58 Dimension size; |
65 Dimension size; |
59 Dimension pos; |
66 Dimension pos; |
105 Boolean vfill; |
115 Boolean vfill; |
106 Dimension colspan; |
116 Dimension colspan; |
107 Dimension rowspan; |
117 Dimension rowspan; |
108 Dimension pref_width; |
118 Dimension pref_width; |
109 Dimension pref_height; |
119 Dimension pref_height; |
|
120 Dimension min_width; |
110 } GridContraintPart; |
121 } GridContraintPart; |
111 |
122 |
112 typedef struct GridConstraintRec { |
123 typedef struct GridConstraintRec { |
113 XmManagerConstraintPart manager; |
124 XmManagerConstraintPart manager; |
114 GridContraintPart grid; |
125 GridContraintPart grid; |