OptionalisInternalConstructor: booleanStyle used when the user is actively interacting with the element. Used when the element is in the 'off' state.
Same as UIElementStyle::Active, except it's used when element is in the 'on' state.
Determines how the element is scaled (using the typical Scale9Grid approach).
The full content alignment.
Additional offset to the content, that doesn't effect the bounds. Applied on top of the margins offsets.
The priority for the current content.
Style used when the element has focus but the pointer is not hovering over the element. Used when the element is in the 'off' state.
Same as UIElementStyle::Active, except it's used when element is in the 'focused' state.
Same as UIElementStyle::ActiveOn, except it's used when element is in the 'focused' state.
Style used when the element has focus and the pointer is hovering over the element. Used when the element is in the 'off' state.
Same as UIElementStyle::FocusedHover, except it's used when element is in the 'on' state.
Same as UIElementStyle::Focused, except it's used when element is in the 'on' state.
Font to use for all text within the UI element.
Font size to use for all text within the UI element.
Wanted height of the UI element in pixels. Only used if IsHeightFixed is enabled.
Style used when the user is hovering the pointer over the element, while the element doesn't have focus. Used when the element is in the 'off' state.
Same as UIElementStyle::Hover, except it's used when element is in the 'on' state.
Determines the icon style.
Determines the icon to be shown within the element.
Position of content image relative to text.
Determines if the style is the default style.
Determines whether the UI drawing for the element is enabled or not. If false, the UIElement will not draw any of it's contents.
Determines should the layout resize the element depending on available size. If true no resizing will be done.
Should the text word wrap if it doesn't fit.
Determines should the layout resize the element depending on available size. If true no resizing will be done.
Determines offset from the background graphics to the content. Input uses bounds offset by this value.
Maximum height allowed for the UI element. Used by the layout only when exact height is not specified.
Maximum width allowed for the UI element. Used by the layout only when exact width is not specified.
Minimum height allowed for the UI element. Used by the layout only when exact height is not specified.
Minimum width allowed for the UI element. Used by the layout only when exact width is not specified.
Style used when the element doesn't have focus nor is the user interacting with the element. Used when the element is in the 'off' state.
Same as UIElementStyle::Normal, except it's used when element is in the 'on' state.
Determines extra distance between this and other elements in a layout.
Horizontal alignment of text within the UI element.
Vertical alignment of text within the UI element.
Wanted width of the UI element in pixels. Only used if IsWidthFixed is enabled.
Registers a new sub-style that is used by complex UI elements that contain one or multiple sub-elements.
Name of the sub-element this style is to be used for. This depends on UI element the style is applied to.
Name of the style in UI skin to use for the sub-element.
Returns a named color from the style defined in the style. This can be used by complex UI elements that wish to customize the colors they are rendered in.
Options object for the function call.
Gets the UIElementStateStyle for the given state.
Returns a named float parameter from the style defined in the style. This can be used by complex UI elements that wish to customize rendering parameters such as a rounder border radius.
Options object for the function call.
UI element style that determines the look of a UI element, as well as the element's default layout options. Different looks can be provided for different element states.