Type:IButton: Difference between revisions

From Resonite Wiki
Create IButton
 
category
 
(2 intermediate revisions by 2 users not shown)
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
|-
| [[Component:Button|Button]]
|-
| [[Component:ContextMenuItemSource|ContextMenuItemSource]]
|-
| [[Component:LegacyButton|LegacyButton]]
|-
| [[Component:PhysicalButton|PhysicalButton]]
|-
| [[Component:TouchButton|TouchButton]]
|}
 
[[Category:Type]]

Latest revision as of 17:59, 12 May 2024

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

Implementations

Components implementing IButton
Button
ContextMenuItemSource
LegacyButton
PhysicalButton
TouchButton