Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <modaldialog.h>
Public Member Functions | |
virtual void | initControls (void)=0 |
virtual void | init (const std::string &title) |
virtual void | run (void) |
QuestionDialog () | |
virtual | ~QuestionDialog (void) |
![]() | |
virtual void | setCallback (ModalDialogCallback *cb, const std::string &id) |
virtual void | init (void) |
virtual bool | processWindowCommand (const EventCommandId &command, Control *control) |
void | modalFinished (void) |
ModalDialog () | |
virtual | ~ModalDialog (void) |
![]() | |
virtual void | draw (void) |
virtual Window * | window (void) |
virtual void | setWindow (Window *w) |
WindowController () | |
virtual | ~WindowController (void) |
Protected Attributes | |
bool | m_deleteWindow |
![]() | |
std::string | m_callbackId |
ModalDialogCallback * | m_callback |
int | m_result |
![]() | |
Window * | m_window |
bool | m_deleteOnWindowClose |
Definition at line 101 of file modaldialog.h.
|
inline |
Definition at line 114 of file modaldialog.h.
|
inlinevirtual |
Definition at line 115 of file modaldialog.h.
References m_deleteWindow, and WindowController::m_window.
|
virtual |
Definition at line 240 of file modaldialog.cpp.
References Window::findControlById(), ModalDialog::init(), initControls(), StaticDisplay::setText(), WindowController::setWindow(), and WindowController::window().
Referenced by BaseComputer::BuyUpgradeOperation::selectMount(), BaseComputer::SellUpgradeOperation::selectMount(), showAlert(), showListQuestion(), and showYesNoQuestion().
|
pure virtual |
Implemented in ListQuestionDialog.
Referenced by init().
|
virtual |
Reimplemented from ModalDialog.
Definition at line 261 of file modaldialog.cpp.
References m_deleteWindow, and ModalDialog::run().
Referenced by BaseComputer::BuyUpgradeOperation::selectMount(), BaseComputer::SellUpgradeOperation::selectMount(), showAlert(), showListQuestion(), and showYesNoQuestion().
|
protected |
Definition at line 122 of file modaldialog.h.
Referenced by run(), and ~QuestionDialog().