Skip to main content

UI Tiles

UiButton

This is the simplest UI element, implementing a momentary button.

  • Subclass of TpSlideShow
  • When clicked, the color changes. Hovering isn't supported.
  • It doesn't support SetValue (since it's momentary) nor any effects.
  • Except for ITpUiControlGetCharValue, all the GetValue basically return the slide index.
  • GetCharValue returns a character based on the slide index
  • It's intentionally really simple and easier to understand.
  • It can post events and will invoke its ZoneAction if the reference exists.

UiAnimButton

This hoverable button animates when hovered or clicked.

  • Subclass of TpFlexAnimatedTile.
  • Can be set as momentary or toggle.
  • When clicked, the animation starts or changes.
  • It can post events but does not use ZoneActions.
  • No effects are supported.
  • SetValue is supported: input should be a bool value.
  • GetIntValue returns 1 if the current animation clip is the clicked animation or 0 if not.
  • GetBoolValue is the same but returns true or false.
  • GetCharValue returns a space (no real meaning)
  • GetStringValue returns the current animation clip name.
  • (object)GetValue returns the same thing as GetBoolValue but cast to an object.
  • Implements EventActionObject.

UiAsciiChar

UiAsciiString

UiHoverZone

UiRadioButton

UiToggleButton