factor/core/ui/ui.facts

15 lines
564 B
Plaintext

IN: gadgets
USING: help shells ;
HELP: ui
{ $description "Starts the Factor UI." }
{ $see-also tty } ;
HELP: start-ui
{ $description "Called by the UI backend to initialize the platform-independent parts of UI. This word should be called after the backend is ready to start displaying new windows, and before the event loop starts." } ;
HELP: draw-world
{ $values { "world" world } }
{ $description "Redraws a world." }
{ $notes "This word should only be called by the UI backend. To force a gadget to redraw from user code, call " { $link relayout-1 } "." } ;