A button representation.
More...
#include <button.h>
A button representation.
Definition at line 30 of file button.h.
◆ border_pal_idx
Palette index of the button border whose color is updated depending on highlight.
Definition at line 37 of file button.h.
◆ button_pal_idx
Palette index of the color of the button itself, used for the border when not highlighted.
Definition at line 43 of file button.h.
◆ can_be_pressed
Returns true if the button should be activated when pressed. Can be NULL if button can always be pressed.
Definition at line 56 of file button.h.
◆ on_pressed
The documentation for this struct was generated from the following file: