Public Member Functions | Private Member Functions | Private Attributes

QuitDialog Class Reference

Displayed in the playable states when the user presses the ESCAPE key. More...

#include <QuitDialog.h>

Inheritance diagram for QuitDialog:
Window Control Broadcaster Listener

List of all members.

Public Member Functions

 QuitDialog (int x, int y)
 DebugWindow constructor.
 ~QuitDialog ()

Private Member Functions

void windowInit ()
 Instructs derived Window objects to initialize themselves.
void windowLogic ()
 Instructs derived Window objects to perform their logic.

Private Attributes

ButtonmBtnQuit
ButtonmBtnTitle
LabelmLblMessage

Detailed Description

Displayed in the playable states when the user presses the ESCAPE key.


Constructor & Destructor Documentation

QuitDialog::QuitDialog ( int  x,
int  y 
)

DebugWindow constructor.

Parameters:
caption Caption text.
QuitDialog::~QuitDialog (  ) 

Member Function Documentation

void QuitDialog::windowInit (  )  [private, virtual]

Instructs derived Window objects to initialize themselves.

Note:
This function must be overridden in derived objects.

When deriving a Window Control, windowInit() must be overridden. This is the function where one would create and add new Control objects as well as specify various attributes such as color, size, position, etc.

Reimplemented from Window.

void QuitDialog::windowLogic (  )  [private, virtual]

Instructs derived Window objects to perform their logic.

Note:
This function must be overridden in derived objects.

During every GUI update cycle, windowLogic() is called to allow derived Window objects to perform logic operations. This is the function where one would respond to events, perform calculations, etc.

Reimplemented from Window.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines