Lines Matching defs:Scale

149 } Scale;
215 DEF_SCALE_ACTIVE_BG_COLOR, Tk_Offset(Scale, activeBorder),
218 DEF_SCALE_ACTIVE_BG_MONO, Tk_Offset(Scale, activeBorder),
221 DEF_SCALE_BG_COLOR, Tk_Offset(Scale, bgBorder),
224 DEF_SCALE_BG_MONO, Tk_Offset(Scale, bgBorder),
227 DEF_SCALE_BIG_INCREMENT, Tk_Offset(Scale, bigIncrement), 0},
233 DEF_SCALE_BORDER_WIDTH, Tk_Offset(Scale, borderWidth), 0},
235 DEF_SCALE_COMMAND, Tk_Offset(Scale, command), TK_CONFIG_NULL_OK},
237 DEF_SCALE_CURSOR, Tk_Offset(Scale, cursor), TK_CONFIG_NULL_OK},
239 DEF_SCALE_DIGITS, Tk_Offset(Scale, digits), 0},
243 DEF_SCALE_FONT, Tk_Offset(Scale, fontPtr),
246 DEF_SCALE_FG_COLOR, Tk_Offset(Scale, textColorPtr),
249 DEF_SCALE_FG_MONO, Tk_Offset(Scale, textColorPtr),
252 DEF_SCALE_FROM, Tk_Offset(Scale, fromValue), 0},
255 Tk_Offset(Scale, highlightBgColorPtr), 0},
257 DEF_SCALE_HIGHLIGHT, Tk_Offset(Scale, highlightColorPtr), 0},
260 DEF_SCALE_HIGHLIGHT_WIDTH, Tk_Offset(Scale, highlightWidth), 0},
262 DEF_SCALE_LABEL, Tk_Offset(Scale, label), TK_CONFIG_NULL_OK},
264 DEF_SCALE_LENGTH, Tk_Offset(Scale, length), 0},
266 DEF_SCALE_ORIENT, Tk_Offset(Scale, orientUid), 0},
268 DEF_SCALE_RELIEF, Tk_Offset(Scale, relief), 0},
270 DEF_SCALE_REPEAT_DELAY, Tk_Offset(Scale, repeatDelay), 0},
272 DEF_SCALE_REPEAT_INTERVAL, Tk_Offset(Scale, repeatInterval), 0},
274 DEF_SCALE_RESOLUTION, Tk_Offset(Scale, resolution), 0},
276 DEF_SCALE_SHOW_VALUE, Tk_Offset(Scale, showValue), 0},
278 DEF_SCALE_SLIDER_LENGTH, Tk_Offset(Scale, sliderLength), 0},
280 DEF_SCALE_SLIDER_RELIEF, Tk_Offset(Scale, sliderRelief),
283 DEF_SCALE_STATE, Tk_Offset(Scale, state), 0},
285 DEF_SCALE_TAKE_FOCUS, Tk_Offset(Scale, takeFocus),
288 DEF_SCALE_TICK_INTERVAL, Tk_Offset(Scale, tickInterval), 0},
290 DEF_SCALE_TO, Tk_Offset(Scale, toValue), 0},
292 DEF_SCALE_TROUGH_COLOR, Tk_Offset(Scale, troughColorPtr),
295 DEF_SCALE_TROUGH_MONO, Tk_Offset(Scale, troughColorPtr),
298 DEF_SCALE_VARIABLE, Tk_Offset(Scale, varName), TK_CONFIG_NULL_OK},
300 DEF_SCALE_WIDTH, Tk_Offset(Scale, width), 0},
309 static void ComputeFormat _ANSI_ARGS_((Scale *scalePtr));
310 static void ComputeScaleGeometry _ANSI_ARGS_((Scale *scalePtr));
312 Scale *scalePtr, int argc, char **argv,
316 static void DisplayHorizontalScale _ANSI_ARGS_((Scale *scalePtr,
318 static void DisplayHorizontalValue _ANSI_ARGS_((Scale *scalePtr,
320 static void DisplayVerticalScale _ANSI_ARGS_((Scale *scalePtr,
322 static void DisplayVerticalValue _ANSI_ARGS_((Scale *scalePtr,
324 static void EventuallyRedrawScale _ANSI_ARGS_((Scale *scalePtr,
326 static double PixelToValue _ANSI_ARGS_((Scale *scalePtr, int x,
328 static double RoundToResolution _ANSI_ARGS_((Scale *scalePtr,
332 static int ScaleElement _ANSI_ARGS_((Scale *scalePtr, int x,
341 static void SetScaleValue _ANSI_ARGS_((Scale *scalePtr,
343 static int ValueToPixel _ANSI_ARGS_((Scale *scalePtr, double value));
373 register Scale *scalePtr;
393 scalePtr = (Scale *) ckalloc(sizeof(Scale));
446 Tk_SetClass(scalePtr->tkwin, "Scale");
489 register Scale *scalePtr = (Scale *) clientData;
639 register Scale *scalePtr = (Scale *) memPtr;
690 register Scale *scalePtr; /* Information about widget; may or may
851 Scale *scalePtr; /* Information about scale widget. */
962 register Scale *scalePtr; /* Information about widget. */
1082 Scale *scalePtr; /* Widget record for scale. */
1221 register Scale *scalePtr; /* Information about widget in which to
1280 Scale *scalePtr; /* Widget record for scale. */
1420 register Scale *scalePtr; /* Information about widget in which to
1480 Scale *scalePtr = (Scale *) clientData;
1603 Scale *scalePtr; /* Widget record for scale. */
1671 register Scale *scalePtr; /* Information about widget. */
1732 register Scale *scalePtr; /* Information about widget. */
1781 Scale *scalePtr = (Scale *) clientData;
1838 Scale *scalePtr = (Scale *) clientData;
1875 register Scale *scalePtr; /* Info about widget. */
1936 register Scale *scalePtr; /* Information about widget. */
1970 Scale *scalePtr; /* Information about scale widget. */
2021 register Scale *scalePtr = (Scale *) clientData;