static void StartTrackInterval _ANSI_ARGS_((Interval *intervalPtr,
int value));
static int ValueToPixel _ANSI_ARGS_((Interval *intervalPtr, int value));
+
+static void NotifyInterval(register Interval *intervalPtr);
\f
/*
*--------------------------------------------------------------
register Interval *intervalPtr = (Interval *) clientData;
register Tk_Window tkwin = intervalPtr->tkwin;
int tickRightEdge, valueRightEdge, labelLeftEdge, intervalLeftEdge;
- int totalPixels, x, y, width, height, tickValue, min, max;
+ int totalPixels, x, width, height, tickValue, min, max;
int relief;
Tk_3DBorder sliderBorder;
register Interval *intervalPtr = (Interval *) clientData;
register Tk_Window tkwin = intervalPtr->tkwin;
int tickBottom, valueBottom, labelBottom, intervalBottom;
- int totalPixels, x, y, width, height, tickValue, min, max;
+ int totalPixels, y, width, height, tickValue, min, max;
int relief;
Tk_3DBorder sliderBorder;
int value; /* New value for interval. Gets
* adjusted if it's off the interval. */
{
- int result;
- char string[20];
-
if ((value < intervalPtr->fromValue)
^ (intervalPtr->toValue < intervalPtr->fromValue)) {
value = intervalPtr->fromValue;
register Interval *intervalPtr; /* Info about widget. */
int value;
{
- int result;
- char string[20];
int min, max, delta, lastmin, lastmax;
}
-NotifyInterval(intervalPtr)
- register Interval *intervalPtr; /* Info about widget. */
+static void
+NotifyInterval(register Interval *intervalPtr)
{
int result;
char string[256];