Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <gamemenu.h>
Public Types | |
enum | ActionMode { SAVEACCT, JOINGAME, DIE } |
Public Member Functions | |
NetActionConfirm (int pnum, Window *w, ActionMode action) | |
virtual | ~NetActionConfirm (void) |
virtual void | init (void) |
virtual bool | processWindowCommand (const EventCommandId &command, Control *control) |
virtual bool | finalizeJoinGame (int launchShip=0) |
virtual bool | confirmedJoinGame () |
virtual bool | confirmedNetDie () |
virtual bool | confirmedNetSaveGame () |
![]() | |
virtual void | run (void) |
virtual void | draw (void) |
virtual Window * | window (void) |
virtual void | setWindow (Window *w) |
WindowController () | |
virtual | ~WindowController (void) |
Additional Inherited Members | |
![]() | |
Window * | m_window |
bool | m_deleteOnWindowClose |
Definition at line 38 of file gamemenu.h.
Enumerator | |
---|---|
SAVEACCT | |
JOINGAME | |
DIE |
Definition at line 41 of file gamemenu.h.
|
inline |
Definition at line 51 of file gamemenu.h.
|
inlinevirtual |
Definition at line 55 of file gamemenu.h.
|
virtual |
Definition at line 608 of file gamemenu.cpp.
References NetClient::CleanUp(), Window::close(), NetClient::connectLoad(), finalizeJoinGame(), UniverseUtil::hideSplashScreen(), Network, GameMenu::readJoinGameControls(), NetClient::SetConfigServerAddress(), shipList, NetClient::shipSelections(), showAlert(), showListQuestion(), UniverseUtil::showSplashScreen(), showYesNoQuestion(), and WindowController::window().
Referenced by BaseComputer::actionJoinGame(), GameMenu::processJoinGameButton(), and processWindowCommand().
|
virtual |
Definition at line 601 of file gamemenu.cpp.
References NetClient::dieRequest(), and Network.
Referenced by processWindowCommand().
|
virtual |
Definition at line 594 of file gamemenu.cpp.
References Network, and NetClient::saveRequest().
Referenced by processWindowCommand().
Definition at line 649 of file gamemenu.cpp.
References _Universe, Universe::AccessCockpit(), NetClient::CleanUp(), Universe::clearAllSystems(), Window::close(), Cockpit::GetParent(), globalWindowManager(), UniverseUtil::isSplashScreenShowing(), Unit::Kill(), Network, restore_main_loop(), showAlert(), UniverseUtil::showSplashMessage(), UniverseUtil::showSplashScreen(), WindowManager::shutDown(), NetClient::startGame(), TerminateCurrentBase(), and WindowController::window().
Referenced by confirmedJoinGame(), and ShipSelectorCallback::modalDialogResult().
|
virtual |
Implements WindowController.
Definition at line 477 of file gamemenu.cpp.
References Window::addControl(), BOLD_STROKE, DIE, GUI_CLEAR(), GUI_OPAQUE_BLACK(), GUI_OPAQUE_WHITE(), JOINGAME, SAVEACCT, Window::setColor(), Control::setColor(), NewButton::setCommand(), Window::setController(), NewButton::setDownColor(), NewButton::setDownTextColor(), StaticDisplay::setFont(), Control::setFont(), NewButton::setHighlightColor(), Control::setId(), NewButton::setLabel(), EventResponder::setModal(), StaticDisplay::setMultiLine(), Window::setOutlineColor(), Window::setOutlineWidth(), Control::setRect(), StaticDisplay::setRect(), Window::setSizeAndCenter(), StaticDisplay::setText(), StaticDisplay::setTextColor(), Control::setTextColor(), Window::setTexture(), WindowController::setWindow(), and WindowController::window().
Referenced by BaseComputer::actionJoinGame(), BaseComputer::actionNetDie(), and BaseComputer::actionNetSaveGame().
|
virtual |
Reimplemented from WindowController.
Definition at line 546 of file gamemenu.cpp.
References Window::close(), confirmedJoinGame(), confirmedNetDie(), confirmedNetSaveGame(), WindowController::processWindowCommand(), and WindowController::window().