![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GUITextureSubSys.h>
Static Public Member Functions | |
static void | close () |
close GUITextureSubSys More... | |
static GUIGlID | getTexture (GUITexture which) |
returns a texture previously defined in the enum GUITexture More... | |
static void | initTextures (FXApp *a) |
Initiate GUITextureSubSys for textures. More... | |
static void | resetTextures () |
Reset textures. More... | |
Private Member Functions | |
GUITextureSubSys (FXApp *a) | |
constructor private because is called by the static function init(FXApp* a More... | |
~GUITextureSubSys () | |
destructor More... | |
Private Attributes | |
FXApp * | myApp |
@pointer to Fox App More... | |
std::map< GUITexture, GUIGlID > | myTextures |
vector with the Gifs More... | |
Static Private Attributes | |
static GUITextureSubSys * | myInstance = nullptr |
instance of GUITextureSubSys More... | |
Definition at line 31 of file GUITextureSubSys.h.
|
private |
constructor private because is called by the static function init(FXApp* a
Definition at line 74 of file GUITextureSubSys.cpp.
References E3, E3_SELECTED, LANE_BIKE, LANE_BUS, LANE_PEDESTRIAN, LOCK, myTextures, NOTMOVING, NOTMOVING_SELECTED, REROUTER, REROUTER_CLOSINGLANEREROUTE, REROUTER_CLOSINGREROUTE, REROUTER_DESTPROBREROUTE, REROUTER_INTERVAL, REROUTER_PARKINGAREAREROUTE, REROUTER_ROUTEPROBREROUTE, REROUTER_SELECTED, ROUTEPROBE, ROUTEPROBE_SELECTED, STOP, STOP_SELECTED, STOPPERSON, STOPPERSON_SELECTED, TLS, TRACTIONSUBSTATION, TRACTIONSUBSTATION_SELECTED, VAPORIZER, VAPORIZER_SELECTED, VARIABLESPEEDSIGN, VARIABLESPEEDSIGN_SELECTED, and VARIABLESPEEDSIGN_STEP.
Referenced by initTextures().
|
private |
destructor
Definition at line 110 of file GUITextureSubSys.cpp.
|
static |
close GUITextureSubSys
Definition at line 242 of file GUITextureSubSys.cpp.
References myInstance.
Referenced by GNEApplicationWindow::~GNEApplicationWindow().
|
static |
returns a texture previously defined in the enum GUITexture
[in] | GUITexture | code of texture to use |
Definition at line 122 of file GUITextureSubSys.cpp.
References GUITexturesHelper::add(), E3, E3_SELECTED, GNETexture_E3, GNETexture_E3Selected, GNETexture_LaneBike, GNETexture_LaneBus, GNETexture_LanePedestrian, GNETexture_Lock, GNETexture_NotMoving, GNETexture_NotMovingSelected, GNETexture_Rerouter, GNETexture_Rerouter_ClosingLaneReroute, GNETexture_Rerouter_ClosingReroute, GNETexture_Rerouter_DestProbReroute, GNETexture_Rerouter_Interval, GNETexture_Rerouter_ParkingAreaReroute, GNETexture_Rerouter_RouteProbReroute, GNETexture_RerouterSelected, GNETexture_RouteProbe, GNETexture_RouteProbeSelected, GNETexture_Stop, GNETexture_StopContainer, GNETexture_StopContainerSelected, GNETexture_StopPerson, GNETexture_StopPersonSelected, GNETexture_StopSelected, GNETexture_TLS, GNETexture_TractionSubstation, GNETexture_TractionSubstationSelected, GNETexture_Vaporizer, GNETexture_VaporizerSelected, GNETexture_VariableSpeedSign, GNETexture_VariableSpeedSign_Step, GNETexture_VariableSpeedSignSelected, LANE_BIKE, LANE_BUS, LANE_PEDESTRIAN, LOCK, myApp, myInstance, myTextures, NOTMOVING, NOTMOVING_SELECTED, REROUTER, REROUTER_CLOSINGLANEREROUTE, REROUTER_CLOSINGREROUTE, REROUTER_DESTPROBREROUTE, REROUTER_INTERVAL, REROUTER_PARKINGAREAREROUTE, REROUTER_ROUTEPROBREROUTE, REROUTER_SELECTED, ROUTEPROBE, ROUTEPROBE_SELECTED, STOP, STOP_SELECTED, STOPCONTAINER, STOPCONTAINER_SELECTED, STOPPERSON, STOPPERSON_SELECTED, TLS, TRACTIONSUBSTATION, TRACTIONSUBSTATION_SELECTED, VAPORIZER, VAPORIZER_SELECTED, VARIABLESPEEDSIGN, VARIABLESPEEDSIGN_SELECTED, and VARIABLESPEEDSIGN_STEP.
Referenced by GNERouteProbe::drawGL(), GNEVaporizer::drawGL(), GNEAdditional::drawListedAddtional(), GNEViewNetHelper::LockIcon::drawLockIcon(), GNEAdditional::drawSquaredAdditional(), GNEStop::drawStopPersonOverBusStop(), GNEStop::drawStopPersonOverEdge(), GNELane::drawTextures(), and GNEJunction::drawTLSIcon().
|
static |
Initiate GUITextureSubSys for textures.
[in] | a | FOX Toolkit APP |
Definition at line 115 of file GUITextureSubSys.cpp.
References GUITextureSubSys(), and myInstance.
Referenced by GNEApplicationWindow::GNEApplicationWindow().
|
static |
Reset textures.
Definition at line 232 of file GUITextureSubSys.cpp.
References GUITexturesHelper::clearTextures(), myInstance, and myTextures.
Referenced by GNEApplicationWindow::closeAllWindows(), and GNEViewNet::GNEViewNet().
|
private |
|
staticprivate |
instance of GUITextureSubSys
Definition at line 62 of file GUITextureSubSys.h.
Referenced by close(), getTexture(), initTextures(), and resetTextures().
|
private |
vector with the Gifs
Definition at line 65 of file GUITextureSubSys.h.
Referenced by getTexture(), GUITextureSubSys(), and resetTextures().