Struct classicube_sys::screen::OwnedScreen
source ·
[−]pub struct OwnedScreen { /* fields omitted */ }
Implementations
Initialises persistent state.
Updates this screen, called every frame just before Render().
Frees/releases persistent state.
Draws this screen and its widgets on screen.
Builds the vertex mesh for all the widgets in the screen.
Returns non-zero if an input press is handled.
Returns non-zero if an input release is handled.
Returns non-zero if a key character press is handled.
Returns non-zero if a key character press is handled. Currently only raised by on-screen keyboard in web client.
Returns non-zero if a pointer press is handled.
Returns non-zero if a pointer release is handled.
Returns non-zero if a pointer movement is handled.
Returns non-zero if a mouse wheel scroll is handled.
Positions widgets on screen. Typically called on window resize.
Destroys graphics resources. (textures, vertex buffers, etc)