18#ifndef HEADER_EDIT_TRACK_SCREEN_HPP
19#define HEADER_EDIT_TRACK_SCREEN_HPP
21#include "guiengine/screen.hpp"
22#include "guiengine/widgets.hpp"
26namespace irr {
namespace gui {
class STKModifiedSpriteBank; } }
40 static const char* ALL_TRACKS_GROUP_ID;
45 void selectTrack(
const std::string&
id);
47 std::string m_track_group;
60 void setSelection(
Track* track,
unsigned int laps,
bool reverse);
61 Track* getTrack()
const;
62 unsigned int getLaps()
const;
63 bool getReverse()
const;
64 bool getResult()
const;
74 const int playerID) OVERRIDE;
77 virtual void init() OVERRIDE;
screen where the user can edit the details of a track inside a grand prix
Definition: edit_track_screen.hpp:37
virtual void init() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: edit_track_screen.cpp:118
virtual void loadedFromFile() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: edit_track_screen.cpp:87
virtual void eventCallback(GUIEngine::Widget *widget, const std::string &name, const int playerID) OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: edit_track_screen.cpp:142
virtual void beforeAddingWidget() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: edit_track_screen.cpp:101
Declares a class to be a singleton.
Definition: screen.hpp:59
Represents a single GUI screen.
Definition: screen.hpp:97
Definition: track.hpp:114
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:33