resize-world ( world -- )
Factor handbook » UI framework » Implementing new gadgets » Customizing gadget appearance » Implementing custom drawing logic » Subclassing worlds

Prev:end-world ( world -- )
Next:draw-world* ( world -- )


Vocabulary
ui.gadgets.worlds

Inputs
worlda world


Outputs
None

Word description
Called when the window containing world is resized. The loc and dim slots of world will be updated with the world's new position and size. The world's OpenGL context is current when this method is called.

Definition


Methods