|
Muteki
EABI code execution on Besta® RTOS devices.
|
Button widget struct. More...
#include <button.h>
Data Fields | |
| ui_component_t | component |
| The inherited component struct. | |
| void(*) | on_draw_content (ui_button_t *self) |
| Draw the button content. | |
| void(*) | on_draw_border (ui_button_t *self, short x0, short y0, short x1, short y1, unsigned short button_flags, unsigned short state) |
| Draw the button border. | |
| int | key_binding |
| Key binding. | |
| unsigned int | event |
| Custom event to be sent on button press. | |
| const UTF16 * | label |
| Button label text. | |
| const char * | key_binding_str |
| Human-readable label of key binding (can be NULL). | |
| int | unk_0x4c |
| Unknown. Probably padding bytes. | |
| unsigned int | next_visual_state |
| Visual state. | |
| unsigned int | content_layout |
| Text layout of the button label. | |
| short | horizontal_padding |
| Number of horizontal padding pixels. | |
| unsigned short | button_flags |
| Style flags. | |
| unsigned int | user_data |
| Reserved for subtype use. | |
Button widget struct.
| unsigned short ui_button_s::button_flags |
Style flags.
| ui_component_t ui_button_s::component |
The inherited component struct.
| unsigned int ui_button_s::content_layout |
Text layout of the button label.
This is most likely not intended to be set by the end-user, as the resulting layouts enabled by values other than the default look broken on the default button style, and both the default constructor and all public methods never allowed the user to set it.
| int ui_button_s::key_binding |
| unsigned int ui_button_s::next_visual_state |
Visual state.
| int ui_button_s::unk_0x4c |
Unknown. Probably padding bytes.