spheres can use MAIN-WINDOW: too
parent
4a5cac122c
commit
7124bc2cb4
|
|
@ -299,9 +299,7 @@ M: spheres-world draw-world*
|
||||||
]
|
]
|
||||||
} cleave ;
|
} cleave ;
|
||||||
|
|
||||||
: spheres-window ( -- )
|
MAIN-WINDOW: spheres-window {
|
||||||
[
|
|
||||||
f T{ world-attributes
|
|
||||||
{ world-class spheres-world }
|
{ world-class spheres-world }
|
||||||
{ title "Spheres" }
|
{ title "Spheres" }
|
||||||
{ pixel-format-attributes {
|
{ pixel-format-attributes {
|
||||||
|
|
@ -309,7 +307,4 @@ M: spheres-world draw-world*
|
||||||
double-buffered
|
double-buffered
|
||||||
T{ depth-bits { value 16 } }
|
T{ depth-bits { value 16 } }
|
||||||
} }
|
} }
|
||||||
} open-window
|
} ;
|
||||||
] with-ui ;
|
|
||||||
|
|
||||||
MAIN: spheres-window
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue