Expand description
UI:: resources: dialogs, element descriptions, fonts, sprite sheets and string tables.
Every class level of Serialize is its own block and derived classes serialize their base first.
Field meanings come from ElementDescription defaults, Element::Element and the per-class
ComputeSize/ComputeLayout code; names marked “unknown” have not been traced to behaviour yet.
Modules§
- flags
- The bits of an element’s flags.
Structs§
- Button
- A button’s description.
- Cursor
- A mouse pointer: the sprite sheet whose image is the pointer, and its hot spot.
- Dialog
- Original:
UI::Dialog, Runtime0x180115950. - Dialog
Binding - A controller attached to a dialog’s element.
- Document
Text - Rich text configuration (
DocumentTextDescription::Serialize). - Element
- An element description: its class, the fields every element has, and its class’s fields.
- Element
Base - Shared by every element.
- Font
UI::Font, block version 2.- Label
- A label’s description: text with an optional icon.
- Layout
Item - A child of a layout element, with its anchors.
- Sprite
- A sprite of a sprite sheet.
- Sprite
Sheet - Original:
UI::SpriteSheet, Runtime0x18011ffc0. - Table
Cell - A cell of a table element.
- Text
- A text element’s description.
Enums§
- Element
Kind - What an element description is, with the fields of its class.
Constants§
- ELEMENT_
CLASSES - The class names of every element description.
Functions§
- cursor
- Read a
Cursorfrom the bytes of its resource. - dialog
- Read a
Dialogfrom the bytes of its resource. - element
- Decode a resource if it is any element description.
- font
- Read a
Fontfrom the bytes of its resource. - is_
element - Whether a type id is one of the element classes.
- sprite_
sheet - Read a
SpriteSheetfrom the bytes of its resource. - string_
table - Key -> display string.
Type Aliases§
- Alignment
- Alignment within the space a parent offers: 0..8 = rows top/middle/bottom x columns left/centre/right.