Module components::foundation
source · [−]Modules
Asynchronous support
Camera implementations
Color scheme is basically a set of colors, constructed according to color theory.
Color spaces with conversion from/to any color space
General errors
Resource management
Scene management
Usable time functionality
Different vertex structures
Structs
Application runner.
Application settings
AsyncApplication runner.
A 2d axis aligned rectangle represented by its minimum and maximum coordinates.
Immutable layout constraints. Similar as Flutter implementation
Define the an offset and a color, to a given canvas gradient.
Default dummy preloader implementation
Represents an opaque object describing a gradient.
A simple set of static helper functions for mint controls to use
Represens image data with parameters
A mint specific key event
Represents radial gradient specified by four parameters
Application runner.
Input modifier state
A 2d Vector tagged with a unit.
A 2d Vector tagged with a unit.
A 3d Vector tagged with a unit.
Represents radial gradient specified by six parameters
A 2d Rectangle optionally tagged with a unit.
A 2d size tagged with a unit.
A 2d size tagged with a unit.
Information about a text input event
A 2d Vector tagged with a unit.
A 3d Vector tagged with a unit.
Enums
Indicates the current baseline when drawing text.
Whether to slant the glyphs in the font.
The font-weight property sets how thick or thin characters in text should be displayed
Define the gradient type with parameters
A typed state for mouse, touch, or pressed/similar
A typed key id
A typed mouse button id
Describes pixel format properties
A typed text event type
Traits
Defines application behavior
Defines the initialization point of application
Defines asynchronous application behavior.
Define the initialization point of asynchronous application
Marker for asynchronous scene activity behavior
Marker for camera activity behavior
Defines application context
Marker for layer activity behavior
Marker for scene activity behavior
Options for constructing a control
Functions
Shorthand for Rect::new(Point::new(x, y), Size::new(w, h))
.
Shorthand for Size2D::new(w, h)
.
Type Definitions
A signal for key input events
A signal for mouse input events
A signal for text input events