Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <windowcontroller.h>
Public Member Functions | |
virtual void | init (void)=0 |
virtual void | run (void) |
virtual void | draw (void) |
virtual Window * | window (void) |
virtual void | setWindow (Window *w) |
virtual bool | processWindowCommand (const EventCommandId &command, Control *control) |
WindowController () | |
virtual | ~WindowController (void) |
Protected Attributes | |
Window * | m_window |
bool | m_deleteOnWindowClose |
Definition at line 35 of file windowcontroller.h.
WindowController::WindowController | ( | ) |
Definition at line 62 of file windowcontroller.cpp.
|
virtual |
Definition at line 67 of file windowcontroller.cpp.
|
virtual |
Reimplemented in BaseComputer.
Definition at line 41 of file windowcontroller.cpp.
|
pure virtual |
Implemented in BaseComputer::LoadSaveQuitConfirm, NavComputer::RenameConfirm, BaseComputer, ModalDialog, NavComputer, NetActionConfirm, and GameMenu.
|
virtual |
Reimplemented in UpgradeOperationMountDialog, ListQuestionDialog, BaseComputer::LoadSaveQuitConfirm, WctlBase< Subclass >, WctlBase< GameMenu >, WctlBase< BaseComputer >, NavComputer::RenameConfirm, ModalDialog, NavComputer, and NetActionConfirm.
Definition at line 47 of file windowcontroller.cpp.
References m_deleteOnWindowClose.
Referenced by Window::processCommand(), NetActionConfirm::processWindowCommand(), NavComputer::processWindowCommand(), ModalDialog::processWindowCommand(), NavComputer::RenameConfirm::processWindowCommand(), WctlBase< BaseComputer >::processWindowCommand(), and BaseComputer::LoadSaveQuitConfirm::processWindowCommand().
|
virtual |
Reimplemented in QuestionDialog, BaseComputer, ModalDialog, NavComputer, and GameMenu.
Definition at line 29 of file windowcontroller.cpp.
References m_window, Window::open(), Window::setController(), and Window::setDeleteOnClose().
Referenced by BaseComputer::actionJoinGame(), BaseComputer::actionLoadGame(), BaseComputer::actionNetDie(), BaseComputer::actionNetSaveGame(), BaseComputer::actionQuitGame(), NavComputer::actionRename(), BaseComputer::actionSaveGame(), GameMenu::run(), ModalDialog::run(), and BaseComputer::run().
|
inlinevirtual |
Definition at line 53 of file windowcontroller.h.
References m_window.
Referenced by GameMenu::init(), NetActionConfirm::init(), NavComputer::init(), BaseComputer::init(), NavComputer::RenameConfirm::init(), QuestionDialog::init(), and BaseComputer::LoadSaveQuitConfirm::init().
|
inlinevirtual |
Definition at line 49 of file windowcontroller.h.
References m_window.
Referenced by NavComputer::actionAnd(), NavComputer::actionChain(), BaseComputer::actionConfirmedLoadGame(), BaseComputer::actionConfirmedSaveGame(), BaseComputer::actionDone(), BaseComputer::actionJoinGame(), BaseComputer::actionLoadGame(), BaseComputer::actionNetDie(), BaseComputer::actionNetSaveGame(), BaseComputer::actionNewGame(), NavComputer::actionNot(), NavComputer::actionOr(), NavComputer::actionRemoveCriteria(), BaseComputer::actionSaveGame(), BaseComputer::actionShowAccountMenu(), BaseComputer::actionShowServerMenu(), buyShip(), BaseComputer::changeToInfoMode(), BaseComputer::configureCargoCommitControls(), BaseComputer::configureUpgradeCommitControls(), NetActionConfirm::confirmedJoinGame(), NavComputer::constructControls(), BaseComputer::constructControls(), GameMenu::createControls(), NavComputer::createControls(), BaseComputer::createControls(), BaseComputer::createModeButtons(), NetActionConfirm::finalizeJoinGame(), ListQuestionDialog::getPicker(), BaseComputer::hideCommitControls(), GameMenu::init(), NetActionConfirm::init(), NavComputer::RenameConfirm::init(), QuestionDialog::init(), BaseComputer::LoadSaveQuitConfirm::init(), ListQuestionDialog::initControls(), NavComputer::loadAbsoluteButton(), BaseComputer::loadBuyUpgradeControls(), BaseComputer::loadCargoControls(), NavComputer::loadChainLister(), NavComputer::loadCriteriaLister(), BaseComputer::loadLoadSaveControls(), BaseComputer::loadMissionsControls(), BaseComputer::loadNewsControls(), NavComputer::loadPathLister(), BaseComputer::loadSavePickerChangedSelection(), BaseComputer::loadSellUpgradeControls(), BaseComputer::loadShipDealerControls(), ModalDialog::modalFinished(), BaseComputer::newsPickerChangedSelection(), GameMenu::processJoinGameButton(), GameMenu::processMainMenuButton(), GameMenu::processMultiPlayerAcctButton(), GameMenu::processMultiPlayerButton(), GameMenu::processMultiPlayerHostButton(), GameMenu::processSinglePlayerButton(), NetActionConfirm::processWindowCommand(), NavComputer::RenameConfirm::processWindowCommand(), BaseComputer::LoadSaveQuitConfirm::processWindowCommand(), ListQuestionDialog::processWindowCommand(), NavComputer::recalcTitle(), BaseComputer::recalcTitle(), ModalDialog::run(), BaseComputer::BuyUpgradeOperation::selectMount(), BaseComputer::SellUpgradeOperation::selectMount(), BaseComputer::showNetworkStatus(), BaseComputer::showPlayerInfo(), BaseComputer::showShipStats(), UniverseUtil::startMenuInterface(), BaseComputer::switchToControls(), NavComputer::switchToMajorControls(), NavComputer::switchToMinorControls(), NavComputer::updateDescription(), NavComputer::updateNodeDescription(), and BaseComputer::updateTransactionControlsForSelection().
|
protected |
Definition at line 69 of file windowcontroller.h.
Referenced by NavComputer::init(), ModalDialog::modalFinished(), and processWindowCommand().
|
protected |
Definition at line 68 of file windowcontroller.h.
Referenced by NavComputer::init(), run(), setWindow(), NavComputer::toggleVisibility(), window(), and QuestionDialog::~QuestionDialog().