Handbook
Glossary
alloted-dim ( track -- dim )
Vocabulary
ui
.
gadgets
.
tracks
.
private
Inputs
track
an
object
Outputs
dim
an
object
Definition
USING:
accessors
kernel
math.vectors
sequences
ui.gadgets
;
IN:
ui.gadgets.tracks.private
:
alloted-dim
( track -- dim )
[
children>>
]
[
sizes>>
]
bi
{
0 0
}
[
[
drop
]
[
pref-dim
v+
]
if
]
2reduce
;