File indexing completed on 2025-01-18 10:15:28
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef _XmScaleP_h
0024 #define _XmScaleP_h
0025
0026
0027 #include <Xm/Scale.h>
0028 #include <Xm/ManagerP.h>
0029
0030 #ifdef __cplusplus
0031 extern "C" {
0032 #endif
0033
0034
0035
0036 typedef struct _XmScaleConstraintPart
0037 {
0038 char unused;
0039 } XmScaleConstraintPart, * XmScaleConstraint;
0040
0041
0042
0043
0044 typedef struct
0045 {
0046 XtPointer extension;
0047 } XmScaleClassPart;
0048
0049
0050
0051
0052 typedef struct _XmScaleClassRec
0053 {
0054 CoreClassPart core_class;
0055 CompositeClassPart composite_class;
0056 ConstraintClassPart constraint_class;
0057 XmManagerClassPart manager_class;
0058 XmScaleClassPart scale_class;
0059 } XmScaleClassRec;
0060
0061 externalref XmScaleClassRec xmScaleClassRec;
0062
0063
0064
0065
0066 typedef struct
0067 {
0068 int value;
0069 int maximum;
0070 int minimum;
0071 unsigned char orientation;
0072 unsigned char processing_direction;
0073 XmString title;
0074 XmFontList font_list;
0075 XFontStruct * font_struct;
0076 Boolean show_value;
0077 short decimal_points;
0078 Dimension scale_width;
0079 Dimension scale_height;
0080 Dimension highlight_thickness;
0081 Boolean highlight_on_enter;
0082 XtCallbackList drag_callback;
0083 XtCallbackList value_changed_callback;
0084
0085
0086
0087
0088
0089
0090
0091
0092
0093 int last_value;
0094
0095 int slider_size;
0096 GC foreground_GC;
0097 int show_value_x;
0098 int show_value_y;
0099 int show_value_width;
0100 int show_value_height;
0101 int scale_multiple;
0102
0103 XtEnum sliding_mode;
0104 XtEnum slider_visual;
0105 XtEnum slider_mark;
0106 XtEnum show_arrows;
0107 Boolean editable;
0108
0109 XtCallbackList convert_callback;
0110
0111 Region value_region;
0112 } XmScalePart;
0113
0114
0115 #define FROM_SET_VALUE (1<<0)
0116
0117
0118
0119
0120
0121
0122
0123 typedef struct _XmScaleRec
0124 {
0125 CorePart core;
0126 CompositePart composite;
0127 ConstraintPart constraint;
0128 XmManagerPart manager;
0129 XmScalePart scale;
0130 } XmScaleRec;
0131
0132
0133
0134
0135
0136
0137
0138
0139 #ifdef __cplusplus
0140 }
0141 #endif
0142
0143 #endif
0144