Home2L - C/C++ API v1.4-0-g38cc (2024-05-25)
Smart Tools for a Private Home
|
Descriptor for a button on the main button bar.
Definition at line 325 of file ui_widgets.H.
#include "ui_widgets.H"
Public Attributes | |
int | layoutWidth |
Width specification (absolute or relative), any value accepted by 'LayoutRow()' (except 0) | |
TColor | color |
Button color. | |
const char * | iconName |
Icon; if 'NULL', no icon is set; otherwise, 'IconGet(iconName)' is set as icon. | |
const char * | text |
Text; if 'NULL', no text is set. | |
FCbButtonPushed * | cbPushed |
Pushed callback; may be 'NULL' to not set a callback. | |
SDL_Keycode | hotkey |
Hotkey; set to 'SDLK_UNKNOWN' to not enable a hotkey. | |