#include <cadialog.h>
Inheritance diagram for CADialog:

Public Member Functions | |
| CADialog (bool modal=false, CAScreen *screen=0) | |
| Constructor. | |
| ~CADialog () | |
| Destructor. | |
| virtual int | run () |
| Runs the dialog. | |
| virtual void | buildScreen () |
| Builds the dialog screen. | |
| virtual void | on_button_release (CL_InputDevice *device, const CL_Key &key)=0 |
| virtual void | resize (int w, int h) |
| Resizes the dialog. | |
Public Attributes | |
| CL_Slot | slot |
Protected Attributes | |
| int | left |
| Left position of the dialog. | |
| int | right |
| Right position of the dialog. | |
| int | top |
| Top position of the dialog. | |
| int | bottom |
| Bottom position of the dialog. | |
| int | width |
| Width of the dialog. | |
| int | height |
| Height of the dialog. | |
| bool | modal |
| Dialog modal? Modal means it's shown transparently over the current screen. | |
| CAScreen * | screen |
| Pointer to screen (if dialog is modal) or NULL if it's not modal. | |
| CADialog::CADialog | ( | bool | modal = false, |
|
| CAScreen * | screen = 0 | |||
| ) |
Constructor.
| 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). |
bool CADialog::modal [protected] |
Dialog modal? Modal means it's shown transparently over the current screen.
A pointer to the current screen must be given in constructor if the dialog is modal.
1.5.0