Handbook
Glossary
border-pref-dim ( border child-dim -- pref-dim )
Vocabulary
ui
.
gadgets
.
borders
Inputs
border
an
object
child-dim
an
object
Outputs
pref-dim
an
object
Definition
USING:
accessors
kernel
math.vectors
opengl
sequences
;
IN:
ui.gadgets.borders
:
border-pref-dim
( border child-dim -- pref-dim )
'[
size>>
2
v*n
_
v+
]
[
min-dim>>
]
bi
vmax
[
gl-ceiling
]
map
;