Handbook
Glossary
visible-lines ( gadget -- n )
Factor handbook
»
UI framework
»
Implementing new gadgets
»
Gadget line support
Prev:
validate-line ( m gadget -- n )
Next:
first-visible-line ( gadget -- n )
Vocabulary
ui
.
gadgets
.
line-support
Inputs
gadget
an
object
Outputs
n
an
object
Definition
USING:
kernel
math
sequences
ui.gadgets.viewports
;
IN:
ui.gadgets.line-support
:
visible-lines
( gadget -- n )
[
visible-dim
second
]
[
line-height
]
bi
/i
;