Skip to main content

Module runtime

Module runtime 

Source
Expand description

A loaded modern skin: its resources, its containers, its scripts, and the glue between the player and the objects. Everything runs on one thread; the app calls tick regularly and draw_windows when something changed.

Modules§

scripted
What a host’s tests do to a loaded skin the way its scripts would: call a method of an object, a container, a layout or something made with new, as std.mi names them; make such an object; reach a Config item; put an object on a slide; read the next timer; and hear the events the engine fires. The host itself goes through the rest of the API; these stand in for a skin’s scripts where a test has none.

Structs§

DrawnWindow
One window’s drawing with the object that drew each command (SkinRuntime::draw_windows_owned): owners[i] is the object (an id into the skin’s objects, the same from frame to frame while the skin is loaded) whose drawing cmds[i] is, or None for a command that is the window’s structure (the end of a shape or a clip).
SkinRuntime
A loaded modern skin.