|
#include <CMessageDialog.h>

Public Member Functions | |
| CAskDialog (const char *label, int w=400) | |
| bool | execute (std::string msg) |
| void | icon (Fl_Image *image) |
Protected Attributes | |
| CInput * | m_inputBox |
| Input box, optionally shown. | |
Creates a dialog with the text or HTML text of question (message) and two buttons (Ok/Cancel)
| sptk::CAskDialog::CAskDialog | ( | const char * | label, | |
| int | w = 400 | |||
| ) |
Constructor
| label | const char *, window caption | |
| w | int, window width |
| bool sptk::CAskDialog::execute | ( | std::string | msg | ) |
Shows message and waits for the user
| msg | const char *, message to show |
| void sptk::CAskDialog::icon | ( | Fl_Image * | image | ) | [inline] |
Sets icon for the window
| image | Fl_Pixmap *, icon to use, suggested size is 48x48 XPM |