CAInfoDialog Class Reference

A simple info dialog. More...

#include <cainfodialog.h>

Inheritance diagram for CAInfoDialog:

CADialog CAScreen List of all members.

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.

Detailed Description

A simple info dialog.

Shows a title and a text.

Author:
Andrew Mustun


Constructor & Destructor Documentation

CAInfoDialog::CAInfoDialog ( const char *  title,
const char *  text,
InfoType  type = Info,
bool  modal = false,
CAScreen screen = 0 
)

Constructor.

Parameters:
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).


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 06:48:28 2006 by  doxygen 1.5.0