Handbook
Glossary
set-up-window ( world -- )
Vocabulary
ui
.
private
Inputs
world
a
world
Outputs
None
Word description
Initializes the window that shows the world.
Definition
USING:
accessors
combinators
kernel
ui.backend
ui.gadgets
ui.gadgets.worlds
ui.render
;
IN:
ui.private
:
set-up-window
( world -- )
{
[
set-gl-context
]
[
[
title>>
]
keep
set-title
]
[
begin-world
]
[
resize-world
]
[
request-focus
]
}
cleave
gl-init
;