18#ifndef HEADER_EDIT_GP_SCREEN_HPP
19#define HEADER_EDIT_GP_SCREEN_HPP
21#include "guiengine/screen.hpp"
22#include "guiengine/widgets/list_widget.hpp"
23#include "states_screens/dialogs/message_dialog.hpp"
29namespace irr {
namespace gui {
class STKModifiedSpriteBank; } }
49 void loadList(
const int selected);
50 void setModified(
const bool modified);
51 void setSelected(
const int selected);
56 bool canMoveUp()
const;
57 bool canMoveDown()
const;
63 irr::gui::STKModifiedSpriteBank* m_icon_bank;
64 std::vector<int> m_icons;
81 const int playerID) OVERRIDE;
90 virtual void init() OVERRIDE;
screen where the user can edit a grand prix
Definition: edit_gp_screen.hpp:41
virtual void loadedFromFile() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: edit_gp_screen.cpp:58
virtual void eventCallback(GUIEngine::Widget *widget, const std::string &name, const int playerID) OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: edit_gp_screen.cpp:65
void onConfirm() OVERRIDE
Implement to be notified of dialog confirmed.
Definition: edit_gp_screen.cpp:202
virtual void init() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: edit_gp_screen.cpp:157
virtual void beforeAddingWidget() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: edit_gp_screen.cpp:146
void onCancel() OVERRIDE
Implement to be notified of dialog cancelled.
Definition: edit_gp_screen.cpp:221
virtual bool onEscapePressed() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: edit_gp_screen.cpp:376
Declares a class to be a singleton.
Definition: screen.hpp:59
Represents a single GUI screen.
Definition: screen.hpp:97
Simple class that hold the data relevant to a 'grand_prix', aka.
Definition: grand_prix_data.hpp:36
Listener interface to get notified of whether the user chose to confirm or cancel.
Definition: message_dialog.hpp:39
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:33