Crate amethyst_ui [−] [src]
Provides components and systems to create an in game user interface.
Draw Ui elements. UI won't display without this. It's recommended this be your last pass.
A loaded set of fonts from a file.
This system rearranges UI elements whenever the screen is resized using their
If this component is attached to an entity with a UiText then that UiText is editable. This component also controls how that editing works.
Loads font files, supports TrueType and some OpenType files.
This resource stores the currently focused UI element.
A component with the texture to display in this entity's
Whenever the window is resized the function in this component will be called on this entity's UiTransform, along with the new width and height of the window.
This system processes the underlying UI data as needed.
A component used to display text in this entity's UiTransform
The raw pixels on screen that are populated.
A handle to font data stored with
Identical to TtfFormat.