1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
$Id: Slider.README,v 1.1 2000/01/11 19:43:38 falk Exp $
Slider 1.0 -- A widget which allows the user to specify a value.
Slider is a widget similar to the Motif XmScale widget. It
allows the user to specify an input value by moving a slider.
Operation is very similar to a scrollbar, but the size of the
thumb does not change, and the slider always operates over its
full range.
The key slider resources are: minimum value, maximum value, current
value, step size, input scale and orientation.
In addition, input scaling is available for very small sliders.
This means that large cursor motions map to small changes in the
slider. For example, theoretically that a slider with only one
pixel of motion (or no pixels of motion for that matter) can
still be controlled over its full range. Input scaling is normally
performed automatically for sliders with less than 100 pixels of
motion, with the scale factor set such that the range of cursor
motion is 100 pixels.
Callbacks are provided for continuous changes and operation complete.
Scrollwheel mouse support is provided.
Includes this handy utility module:
Gcs.c -- utilities for creating shadow colors.
To view the man page: tbl Slider.man | nroff -man
HOW TO BUILD
It should be sufficient to type
xmkmf ; make
This will build the widget and a demo program.
Alternatively, Makefiles for Solaris, SunOS, Linux and others have been
provided. To use; choose the Makefile closest to your own system,
copy it to Makefile, modify it as needed and build.
AUTHOR
Edward A. Falk <falk@falconer.vip.best.com>
LICENSE
Copyright 2000 Edward A. Falk
The X Consortium, and any party obtaining a copy of these files
from the X Consortium, directly or indirectly, is granted, free of
charge, a full and unrestricted irrevocable, world-wide, paid up,
royalty-free, nonexclusive right and license to deal in this
software and documentation files (the "Software"), including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and sell copies of the Software, and to
permit persons who receive copies from any such party to do so.
|