File indexing completed on 2025-01-18 10:15:25
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef _XmFormP_h
0024 #define _XmFormP_h
0025
0026
0027 #include <Xm/Form.h>
0028 #include <Xm/BulletinBP.h>
0029
0030 #ifdef __cplusplus
0031 extern "C" {
0032 #endif
0033
0034
0035
0036
0037
0038 #define _XmFORM_LEFT 0
0039 #define _XmFORM_RIGHT 1
0040 #define _XmFORM_TOP 2
0041 #define _XmFORM_BOTTOM 3
0042
0043
0044 typedef struct _XmFormAttachmentRec
0045 {
0046 unsigned char type;
0047 Widget w;
0048 int percent;
0049 int offset;
0050 int value;
0051 int tempValue;
0052 } XmFormAttachmentRec, * XmFormAttachment;
0053
0054
0055 #ifdef att
0056 #undef att
0057 #endif
0058
0059 typedef struct _XmFormConstraintPart
0060 {
0061 XmFormAttachmentRec att[4];
0062 Widget next_sibling;
0063 Boolean sorted;
0064 Boolean resizable;
0065 Dimension preferred_width, preferred_height;
0066 } XmFormConstraintPart, * XmFormConstraint;
0067
0068 typedef struct _XmFormConstraintRec
0069 {
0070 XmManagerConstraintPart manager;
0071 XmFormConstraintPart form;
0072 } XmFormConstraintRec, * XmFormConstraintPtr;
0073
0074
0075
0076
0077 typedef struct _XmFormClassPart
0078 {
0079 XtPointer extension;
0080 } XmFormClassPart;
0081
0082
0083
0084
0085 typedef struct _XmFormClassRec
0086 {
0087 CoreClassPart core_class;
0088 CompositeClassPart composite_class;
0089 ConstraintClassPart constraint_class;
0090 XmManagerClassPart manager_class;
0091 XmBulletinBoardClassPart bulletin_board_class;
0092 XmFormClassPart form_class;
0093 } XmFormClassRec;
0094
0095 externalref XmFormClassRec xmFormClassRec;
0096
0097
0098
0099
0100 typedef struct _XmFormPart
0101 {
0102 Dimension horizontal_spacing;
0103 Dimension vertical_spacing;
0104 int fraction_base;
0105 Boolean rubber_positioning;
0106 Widget first_child;
0107 Boolean initial_width, initial_height;
0108 Boolean processing_constraints;
0109 } XmFormPart;
0110
0111
0112
0113
0114 typedef struct _XmFormRec
0115 {
0116 CorePart core;
0117 CompositePart composite;
0118 ConstraintPart constraint;
0119 XmManagerPart manager;
0120 XmBulletinBoardPart bulletin_board;
0121 XmFormPart form;
0122 } XmFormRec;
0123
0124
0125
0126
0127
0128
0129 #ifdef __cplusplus
0130 }
0131 #endif
0132
0133 #endif
0134