Custom Pressable Widget
Custom implementation of a PressableWidget that provides several improvements to rendering.
Author
fzzyhmstrs
Since
0.5.?
Parameters
X position of the widget
Y position of the widget
Width in pixels of the widget
Height in pixels of the widget
Text label to draw over the center of the button.
Inheritors
Functions
Handles char input events for custom widgets. Override this for handling keyboard inputs.
Handles keyboard events for custom widgets. Override this for handling keyboard inputs.
Handles keyboard release events for custom widgets. Override this for handling keyboard inputs.
Handles mouse click events for custom widgets. Override this or onPress for handling mouse inputs.
Handles mouse drag events for custom widgets. Override this for handling drag inputs
Handles mouse button release events for custom widgets. Override this for handling mouse inputs.
Handles mouse scroll events for custom widgets. Override this for handling mouse inputs.
Provides a list of text for appending into a Narration Hint. By default this will use the same lines passed from provideTooltipLines, with predefined values for the inputs