18#ifndef HEADER_CREATE_SERVER_SCREEN_HPP
19#define HEADER_CREATE_SERVER_SCREEN_HPP
21#include "guiengine/screen.hpp"
22#include "guiengine/widgets.hpp"
25namespace GUIEngine {
class Widget;
class ListWidget; }
35 int m_prev_mode, m_prev_value;
57 void updateMoreOption(
int game_mode);
61 virtual void onUpdate(
float delta) OVERRIDE;
71 const int playerID) OVERRIDE;
74 virtual void init() OVERRIDE;
Handles the main menu.
Definition: create_server_screen.hpp:33
virtual void eventCallback(GUIEngine::Widget *widget, const std::string &name, const int playerID) OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: create_server_screen.cpp:143
virtual void onUpdate(float delta) OVERRIDE
Called once per framce to check if the server creation request has finished.
Definition: create_server_screen.cpp:272
virtual void loadedFromFile() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: create_server_screen.cpp:53
virtual void beforeAddingWidget() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: create_server_screen.cpp:131
virtual void tearDown() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: create_server_screen.cpp:443
void createServer()
In case of WAN it adds the server to the list of servers.
Definition: create_server_screen.cpp:285
virtual void init() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: create_server_screen.cpp:91
Declares a class to be a singleton.
Definition: screen.hpp:59
Represents a single GUI screen.
Definition: screen.hpp:97
A text field widget.
Definition: text_box_widget.hpp:53
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:33