Category:Components:Common UI:Button Interactions: Difference between revisions

Category page
imported>Psychpsyo
Added description for ButtonStringErase
 
moved media button interactions to their subcategory, added missing components, added a few descriptions, removed "Makes a button" repetition
Line 1: Line 1:
Most components in this category and its subcategories make a button do something on press.
{{Table ComponentCategorySubcategories
{{Table ComponentCategorySubcategories
|Specialized|
|Media|play audio on [[Button Events]] or interact with [[Type:IPlayable|IPlayables]]
|Specialized|specific components implementing a few basic Resonite features
}}
}}


{{Table ComponentCategoryComponents
{{Table ComponentCategoryComponents
|ButtonActionTrigger||
|ButtonActionTrigger||
|ButtonDestroy|| Destroys an [[Type:IDestroyable|IDestroyable]].
|ButtonDynamicImpulseTrigger||
|ButtonDynamicImpulseTriggerWithReference|T|
|ButtonDynamicImpulseTriggerWithValue|T|
|ButtonEditColorX|| Opens a color input to edit a given field.
|ButtonEnumShift|T|
|ButtonEnumShift|T|
|ButtonHoverEventRelay||
|ButtonHoverEventRelay|| Forwards hover events to another slot.
|ButtonPlaybackAction|| Can hook a button to a media playback, making it able to pause, play or stop the media.
|ButtonParentUnderUser||
|ButtonPlaybackSeeker||
|ButtonPressEventRelay|| Forwards press events to another slot.
|ButtonPressEventRelay||
|ButtonReferenceCycle|T| Changes from one reference to the next in a list of references.
|ButtonReferenceCycle|T|
|ButtonReferenceSet|T| Write a reference to a field.
|ButtonReferenceSet|T| Makes a button write a reference to a field.
|ButtonStringAppend|| Appends a specified string to the end of a string value.
|ButtonStringAppend|| Makes a button append a specified string to the end of a string value.
|ButtonStringErase|| Removes characters from the beginning or end of a string.
|ButtonStringErase|| Makes a button remove characters from the beginning or end of a string.
|ButtonToggle|| Toggles a boolean value between on and off.
|ButtonToggle|| Makes a button toggle a boolean value between on and off.
|ButtonValueCycle|T| Changes from one value to the next in a list of values.
|ButtonValueShift|T| Makes a button add X to a value every time it is pressed.
|ButtonValueSet|T| Writes a value to a field.
|ButtonValueShift|T| Add X to a value every time the button is pressed.
|ButtonWorldLink||
}}
}}


[[Category:Components:Common UI]]
[[Category:Components:Common UI]]

Revision as of 23:44, 21 March 2024

Most components in this category and its subcategories make a button do something on press.

Subcategories
Category Summary
Media play audio on Button Events or interact with IPlayables
Specialized specific components implementing a few basic Resonite features
Components
Component Description
ButtonActionTrigger
ButtonDestroy Destroys an IDestroyable.
ButtonDynamicImpulseTrigger
ButtonDynamicImpulseTriggerWithReference<T>
ButtonDynamicImpulseTriggerWithValue<T>
ButtonEditColorX Opens a color input to edit a given field.
ButtonEnumShift<T>
ButtonHoverEventRelay Forwards hover events to another slot.
ButtonParentUnderUser
ButtonPressEventRelay Forwards press events to another slot.
ButtonReferenceCycle<T> Changes from one reference to the next in a list of references.
ButtonReferenceSet<T> Write a reference to a field.
ButtonStringAppend Appends a specified string to the end of a string value.
ButtonStringErase Removes characters from the beginning or end of a string.
ButtonToggle Toggles a boolean value between on and off.
ButtonValueCycle<T> Changes from one value to the next in a list of values.
ButtonValueSet<T> Writes a value to a field.
ButtonValueShift<T> Add X to a value every time the button is pressed.
ButtonWorldLink