|
#include <CMessageDialog.h>

Public Member Functions | |
| CInputDialog (const char *label, int w=400) | |
| bool | execute (std::string msg, std::string &inputText) |
Creates a dialog with the text or HTML text of question (message) and two buttons (Ok/Cancel)
| sptk::CInputDialog::CInputDialog | ( | const char * | label, | |
| int | w = 400 | |||
| ) | [inline] |
Constructor
| label | const char *, window caption | |
| w | int, window width |
References sptk::CAskDialog::m_inputBox.
| bool sptk::CInputDialog::execute | ( | std::string | msg, | |
| std::string & | inputText | |||
| ) |
Shows message and waits for the user input
| msg | std::string, message to show | |
| inputText | std::string&, string to input |