File indexing completed on 2025-01-18 10:15:24
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef _XmDButtonP_h
0024 #define _XmDButtonP_h
0025
0026 #include <Xm/DrawnB.h>
0027 #include <Xm/LabelP.h>
0028
0029 #ifdef __cplusplus
0030 extern "C" {
0031 #endif
0032
0033
0034
0035 typedef struct _XmDrawnButtonClassPart
0036 {
0037 XtPointer extension;
0038 } XmDrawnButtonClassPart;
0039
0040
0041
0042
0043 typedef struct _XmDrawnButtonClassRec {
0044 CoreClassPart core_class;
0045 XmPrimitiveClassPart primitive_class;
0046 XmLabelClassPart label_class;
0047 XmDrawnButtonClassPart drawnbutton_class;
0048 } XmDrawnButtonClassRec;
0049
0050
0051 externalref XmDrawnButtonClassRec xmDrawnButtonClassRec;
0052
0053
0054
0055
0056 typedef struct _XmDrawnButtonPart
0057 {
0058 Boolean pushbutton_enabled;
0059 unsigned char shadow_type;
0060 XtCallbackList activate_callback;
0061 XtCallbackList arm_callback;
0062 XtCallbackList disarm_callback;
0063 XtCallbackList expose_callback;
0064 XtCallbackList resize_callback;
0065
0066 Boolean armed;
0067 Dimension old_width;
0068 Dimension old_height;
0069 Dimension old_shadow_thickness;
0070 Dimension old_highlight_thickness;
0071 XtIntervalId timer;
0072 unsigned char multiClick;
0073 int click_count;
0074 Time armTimeStamp;
0075
0076 } XmDrawnButtonPart;
0077
0078
0079
0080
0081 typedef struct _XmDrawnButtonRec {
0082 CorePart core;
0083 XmPrimitivePart primitive;
0084 XmLabelPart label;
0085 XmDrawnButtonPart drawnbutton;
0086 } XmDrawnButtonRec;
0087
0088
0089
0090
0091
0092
0093
0094
0095 #ifdef __cplusplus
0096 }
0097 #endif
0098
0099 #endif
0100