File indexing completed on 2025-01-18 10:15:22
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef _XmBulletinBoardP_h
0024 #define _XmBulletinBoardP_h
0025
0026 #include <Xm/BulletinB.h>
0027 #include <Xm/ManagerP.h>
0028
0029 #ifdef __cplusplus
0030 extern "C" {
0031 #endif
0032
0033
0034
0035
0036
0037
0038
0039
0040 #define XmDIALOG_SUFFIX "_popup"
0041 #define XmDIALOG_SUFFIX_SIZE 6
0042
0043
0044
0045 typedef struct _XmBulletinBoardConstraintPart
0046 {
0047 char unused;
0048 } XmBulletinBoardConstraintPart, * XmBulletinBoardConstraint;
0049
0050
0051
0052
0053 typedef struct
0054 {
0055 Boolean always_install_accelerators;
0056 XmGeoCreateProc geo_matrix_create;
0057 XmFocusMovedProc focus_moved_proc;
0058 XtPointer extension;
0059 } XmBulletinBoardClassPart;
0060
0061
0062
0063
0064 typedef struct _XmBulletinBoardClassRec
0065 {
0066 CoreClassPart core_class;
0067 CompositeClassPart composite_class;
0068 ConstraintClassPart constraint_class;
0069 XmManagerClassPart manager_class;
0070 XmBulletinBoardClassPart bulletin_board_class;
0071 } XmBulletinBoardClassRec;
0072
0073 externalref XmBulletinBoardClassRec xmBulletinBoardClassRec;
0074
0075
0076
0077
0078 typedef struct
0079 {
0080 Dimension margin_width;
0081 Dimension margin_height;
0082
0083 Widget default_button;
0084 Widget dynamic_default_button;
0085 Widget cancel_button;
0086 Widget dynamic_cancel_button;
0087
0088 XtCallbackList focus_callback;
0089 XtCallbackList map_callback;
0090 XtCallbackList unmap_callback;
0091
0092 XtTranslations text_translations;
0093
0094 XmFontList button_font_list;
0095 XmFontList label_font_list;
0096 XmFontList text_font_list;
0097
0098 Boolean allow_overlap;
0099 Boolean default_position;
0100 Boolean auto_unmanage;
0101 unsigned char resize_policy;
0102
0103 Dimension old_width;
0104 Dimension old_height;
0105 Dimension old_shadow_thickness;
0106 unsigned char shadow_type;
0107
0108 Boolean in_set_values;
0109 Boolean initial_focus;
0110
0111 Boolean no_resize;
0112 unsigned char dialog_style;
0113 XmString dialog_title;
0114 Widget shell;
0115 Widget _UNUSED;
0116
0117 XmGeoMatrix geo_cache;
0118
0119 unsigned char check_set;
0120 } XmBulletinBoardPart;
0121
0122
0123
0124
0125
0126
0127
0128
0129 typedef struct _XmBulletinBoardRec
0130 {
0131 CorePart core;
0132 CompositePart composite;
0133 ConstraintPart constraint;
0134 XmManagerPart manager;
0135 XmBulletinBoardPart bulletin_board;
0136 } XmBulletinBoardRec;
0137
0138
0139
0140 #define BB_CancelButton(w) \
0141 (((XmBulletinBoardWidget) w)->bulletin_board.cancel_button)
0142 #define BB_DynamicCancelButton(w) \
0143 (((XmBulletinBoardWidget) w)->bulletin_board.dynamic_cancel_button)
0144 #define BB_DefaultButton(w) \
0145 (((XmBulletinBoardWidget) w)->bulletin_board.default_button)
0146 #define BB_DynamicDefaultButton(w) \
0147 (((XmBulletinBoardWidget) w)->bulletin_board.dynamic_default_button)
0148 #define BB_MarginHeight(w) \
0149 (((XmBulletinBoardWidget) w)->bulletin_board.margin_height)
0150 #define BB_MarginWidth(w) \
0151 (((XmBulletinBoardWidget) w)->bulletin_board.margin_width)
0152 #define BB_ButtonFontList(w) \
0153 (((XmBulletinBoardWidget) w)->bulletin_board.button_font_list)
0154 #define BB_LabelFontList(w) \
0155 (((XmBulletinBoardWidget) w)->bulletin_board.label_font_list)
0156 #define BB_TextFontList(w) \
0157 (((XmBulletinBoardWidget) w)->bulletin_board.text_font_list)
0158 #define BB_StringDirection(w) (XmDirectionToStringDirection\
0159 (((XmBulletinBoardWidget) w)->manager.string_direction))
0160 #define BB_ResizePolicy(w) \
0161 (((XmBulletinBoardWidget) w)->bulletin_board.resize_policy)
0162 #define BB_InSetValues(w) \
0163 (((XmBulletinBoardWidget) w)->bulletin_board.in_set_values)
0164 #define BB_InitialFocus(w) \
0165 (((XmBulletinBoardWidget) w)->bulletin_board.initial_focus)
0166
0167
0168 #ifdef __cplusplus
0169 }
0170 #endif
0171
0172 #endif
0173