FabGL
ESP32 Display Controller and Graphics Library
|
uiMessageBoxResult inputBox | ( | char const * | title, |
char const * | text, | ||
char * | inOutString, | ||
int | maxLength, | ||
char const * | button1Text, | ||
char const * | button2Text = nullptr |
||
) |
Displays a modal dialog box with a text, a text edit and up to two buttons.
Pressing ENTER (RETURN) equals to press first button. Pressing ESC cancels the dialog box.
title | The dialog box title. If nullptr the messagebox has no title bar |
text | The message to be displayed |
inOutString | Initial string of the text edit |
maxLength | Maximum length of inOutString buffer (ending zero not included) |
button1Text | Left button text |
button2Text | Right button text (may be nullptr, if not present) |