Handbook
Glossary
line-height ( gadget -- n )
Factor handbook
»
UI framework
»
Implementing new gadgets
»
Gadget line support
Prev:
draw-line ( line index gadget -- )
Next:
line-leading ( gadget -- n )
Vocabulary
ui
.
gadgets
.
line-support
Inputs
gadget
an
object
Outputs
n
an
object
Definition
IN:
ui.gadgets.line-support
GENERIC:
line-height
( gadget -- n )
Methods
USING:
accessors
kernel
ui.gadgets.line-support
;
M:
line-gadget
line-height
[
line-height>>
]
[
[
line-height*
]
[
]
[
layout-state>>
]
tri
[
drop
]
[
dupd
line-height<<
]
if
]
?unless
;