![]() |
Lysa UI
0.0
Lysa UI —UI components for the Lysa Engine
|
Parameters of the modal dialog opened when the button is clicked
Public Attributes | |
| std::string | title |
| Text displayed at the top of the dialog. More... | |
| std::vector< std::string > | buttons |
| Labels of the dialog buttons. More... | |
| float | width {ColorModalDialog::DEFAULT_WIDTH} |
| Width of the dialog. More... | |
| float | rowHeight {ColorPicker::DEFAULT_ROW_HEIGHT} |
| Height of the row displaying the slider of one component. More... | |
| float | footerHeight {0.0f} |
| Height reserved at the bottom of the picker for the application. More... | |
| std::string | resource |
| Resource string for the box drawn around the dialog. More... | |
| std::function< void (ColorModalDialog &dialog)> | onOpen |
| Called with the dialog before it is displayed, to apply a style & a font to it. More... | |
| std::vector<std::string> buttons |
Labels of the dialog buttons.
| float footerHeight {0.0f} |
Height reserved at the bottom of the picker for the application.
| std::function<void(ColorModalDialog& dialog)> onOpen |
Called with the dialog before it is displayed, to apply a style & a font to it.
| std::string resource |
Resource string for the box drawn around the dialog.
| float rowHeight {ColorPicker::DEFAULT_ROW_HEIGHT} |
Height of the row displaying the slider of one component.
| std::string title |
Text displayed at the top of the dialog.
| float width {ColorModalDialog::DEFAULT_WIDTH} |
Width of the dialog.