Handbook
Glossary
range-max-value* ( range -- value )
Models
»
Range models
»
Range model protocol
Prev:
range-max-value ( range -- value )
Next:
set-range-value ( value range -- )
Vocabulary
models
.
range
Inputs
range
a
range
Outputs
value
an
object
Generic word contract
Outputs the slider position for a range model. Since the bottom of the slider cannot exceed the maximum value, this is equal to the maximum value minus the page size.
Definition
USING:
kernel
math.order
;
IN:
models.range
:
range-max-value*
( range -- value )
[
range-max-value
]
[
range-page-value
]
bi
[-]
;