Displayed in the playable states when the user presses the ESCAPE key. More...
#include <QuitDialog.h>
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 | |
| Button * | mBtnQuit |
| Button * | mBtnTitle |
| Label * | mLblMessage |
Displayed in the playable states when the user presses the ESCAPE key.
| QuitDialog::QuitDialog | ( | int | x, | |
| int | y | |||
| ) |
DebugWindow constructor.
| caption | Caption text. |
| QuitDialog::~QuitDialog | ( | ) |
| void QuitDialog::windowInit | ( | ) | [private, virtual] |
Instructs derived Window objects to initialize themselves.
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.
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.
Button* QuitDialog::mBtnQuit [private] |
Button* QuitDialog::mBtnTitle [private] |
Label* QuitDialog::mLblMessage [private] |
1.7.1