![]() |
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 |
to Fox App More... | |
std::map< GUITexture, std::pair< bool, GUIGlID > > | myTextures |
vector with the Gifs More... | |
Static Private Attributes | |
static GUITextureSubSys * | myInstance = 0 |
instance of GUITextureSubSys More... | |
Definition at line 40 of file GUITextureSubSys.h.
|
private |
constructor private because is called by the static function init(FXApp* a
Definition at line 67 of file GUITextureSubSys.cpp.
References GNETEXTURE_E3, GNETEXTURE_E3SELECTED, GNETEXTURE_EMPTY, GNETEXTURE_EMPTYSELECTED, GNETEXTURE_LANEBIKE, GNETEXTURE_LANEBUS, GNETEXTURE_LANEPEDESTRIAN, GNETEXTURE_LOCK, GNETEXTURE_LOCKSELECTED, GNETEXTURE_NOTMOVING, GNETEXTURE_NOTMOVINGSELECTED, GNETEXTURE_REROUTER, GNETEXTURE_REROUTERSELECTED, GNETEXTURE_ROUTEPROBE, GNETEXTURE_ROUTEPROBESELECTED, GNETEXTURE_TLS, GNETEXTURE_VAPORIZER, GNETEXTURE_VAPORIZERSELECTED, GNETEXTURE_VARIABLESPEEDSIGN, GNETEXTURE_VARIABLESPEEDSIGNSELECTED, and myTextures.
Referenced by initTextures().
|
private |
destructor
Definition at line 93 of file GUITextureSubSys.cpp.
|
static |
close GUITextureSubSys
Definition at line 193 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 105 of file GUITextureSubSys.cpp.
References GUITexturesHelper::add(), GNETexture_E3, GNETEXTURE_E3, GNETexture_E3Selected, GNETEXTURE_E3SELECTED, GNETexture_Empty, GNETEXTURE_EMPTY, GNETexture_EmptySelected, GNETEXTURE_EMPTYSELECTED, GNETexture_LaneBike, GNETEXTURE_LANEBIKE, GNETexture_LaneBus, GNETEXTURE_LANEBUS, GNETexture_LanePedestrian, GNETEXTURE_LANEPEDESTRIAN, GNETexture_Lock, GNETEXTURE_LOCK, GNETexture_LockSelected, GNETEXTURE_LOCKSELECTED, GNETexture_NotMoving, GNETEXTURE_NOTMOVING, GNETexture_NotMovingSelected, GNETEXTURE_NOTMOVINGSELECTED, GNETexture_Rerouter, GNETEXTURE_REROUTER, GNETexture_RerouterSelected, GNETEXTURE_REROUTERSELECTED, GNETexture_RouteProbe, GNETEXTURE_ROUTEPROBE, GNETexture_RouteProbeSelected, GNETEXTURE_ROUTEPROBESELECTED, GNETexture_TLS, GNETEXTURE_TLS, GNETexture_Vaporizer, GNETEXTURE_VAPORIZER, GNETexture_VaporizerSelected, GNETEXTURE_VAPORIZERSELECTED, GNETexture_VariableSpeedSign, GNETEXTURE_VARIABLESPEEDSIGN, GNETexture_VariableSpeedSignSelected, GNETEXTURE_VARIABLESPEEDSIGNSELECTED, myApp, myInstance, and myTextures.
Referenced by GNEVaporizer::drawGL(), GNEJunction::drawGL(), GNEDetectorE3::drawGL(), GNELane::drawGL(), GNERouteProbe::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GNEShape::drawLockIcon(), and GNEAdditional::drawLockIcon().
|
static |
Initiate GUITextureSubSys for textures.
[in] | a | FOX Toolkit APP |
Definition at line 98 of file GUITextureSubSys.cpp.
References GUITextureSubSys(), and myInstance.
Referenced by GNEApplicationWindow::GNEApplicationWindow().
|
static |
Reset textures.
Definition at line 183 of file GUITextureSubSys.cpp.
References GUITexturesHelper::clearTextures(), myInstance, and myTextures.
Referenced by GNEApplicationWindow::closeAllWindows(), and GNEViewNet::doPaintGL().
|
private |
|
staticprivate |
instance of GUITextureSubSys
Definition at line 71 of file GUITextureSubSys.h.
Referenced by close(), getTexture(), initTextures(), and resetTextures().
|
private |
vector with the Gifs
Definition at line 74 of file GUITextureSubSys.h.
Referenced by getTexture(), GUITextureSubSys(), and resetTextures().