Handbook
Glossary
foreground ( gadget -- gadget )
Vocabulary
gamelib
.
demos
.
tic-tac-toe
Inputs
gadget
an
object
Outputs
gadget
an
object
Definition
USING:
colors
gamelib.ui
;
IN:
gamelib.demos.tic-tac-toe
:
foreground
( gadget -- gadget )
COLOR:
black
{
123 0
}
{
10 400
}
draw-filled-rectangle
COLOR:
black
{
256 0
}
{
10 400
}
draw-filled-rectangle
COLOR:
black
{
0 123
}
{
400 10
}
draw-filled-rectangle
COLOR:
black
{
0 256
}
{
400 10
}
draw-filled-rectangle
;