#include <cainfodialog.h>
Inheritance diagram for CAInfoDialog:

Public Types | |
| enum | InfoType { Info, Warning } |
Public Member Functions | |
| CAInfoDialog (const char *title, const char *text, InfoType type=Info, bool modal=false, CAScreen *screen=0) | |
| Constructor. | |
| ~CAInfoDialog () | |
| Destructor. | |
| virtual void | buildScreen () |
| Builds the info dialog screen. | |
| virtual void | on_button_release (CL_InputDevice *device, const CL_Key &key) |
| Called on key release. | |
Shows a title and a text.
| CAInfoDialog::CAInfoDialog | ( | const char * | title, | |
| const char * | text, | |||
| InfoType | type = Info, |
|||
| bool | modal = false, |
|||
| CAScreen * | screen = 0 | |||
| ) |
Constructor.
| title | Dialog title | |
| text | The info text. | |
| type | Info type (Info, Warning) | |
| modal | true: Dialog shown in addition to the current screen. false: Dialog sown in new screen with new background (default). | |
| screen | pointer to screen shown in the background if this dialog is modal. zero if this dialog is not modal (default). |
1.5.0