Type:IButton: Difference between revisions

From Resonite Wiki
Create IButton
 
Simplified description in favor of dedicated interface type page and listed implementations
Line 1: Line 1:
An IButton is an interface to refer to any button type. A button may be a [[LegacyButton (Component)|legacy button]], a UIX button, a [[PhysicalButton (Component)]], [[TouchButton (Component)]], or any other item that is categorized as a button.  
'''IButton''' is an [[Interface Type|interface type]] defining common button behaviors for pressing and hovering.


IButton unifies all these different types of buttons, and allows you to refer to all of them and read values that they all share, no matter what kind it is. For example, IsPressed, IsHovering, and touch point are some of the different values buttons share, to name a few.
== Implementations ==
{| class="wikitable" style="margin:left"
! Components implementing IButton
|-
| [[Button (Component)]]
|-
| [[ContextMenuItemSource (Component)]]
|-
| [[LegacyButton (Component)]]
|-
| [[PhysicalButton (Component)]]
|-
| [[TouchButton (Component)]]
|}

Revision as of 20:56, 18 January 2024

IButton is an interface type defining common button behaviors for pressing and hovering.

Implementations

Components implementing IButton
Button (Component)
ContextMenuItemSource (Component)
LegacyButton (Component)
PhysicalButton (Component)
TouchButton (Component)