58 #ifdef CHECK_MEMORY_LEAKS 60 #endif // CHECK_MEMORY_LEAKS 78 myTextures[
GNETEXTURE_E3] = std::pair<bool, GUIGlID>(
false, 0);
114 std::map<GUITexture, std::pair<bool, GUIGlID> >::iterator i =
myInstance->
myTextures.find(which);
117 if (i->second.first ==
false) {
188 return i->second.second;
196 i->second.first =
false;
const unsigned char GNETexture_RouteProbe[]
const unsigned char GNETexture_VariableSpeedSignal[]
const unsigned char GNETexture_NotMoving[]
static GUIGlID add(FXImage *i)
Adds a texture to use.
const unsigned char GNETexture_RerouterSelected[]
const unsigned char GNETexture_Empty[]
const unsigned char GNETexture_Rerouter[]
const unsigned char GNETexture_Entry[]
const unsigned char GNETexture_E1[]
const unsigned char GNETexture_E3[]
const unsigned char GNETexture_Vaporizer[]
const unsigned char GNETexture_VaporizerSelected[]
const unsigned char GNETexture_TLS[]
GUITextureSubSys(FXApp *a)
constructor
const unsigned char GNETexture_Lock[]
~GUITextureSubSys()
destructor
static void close()
close GUITextureSubSys
const unsigned char GNETexture_Exit[]
const unsigned char GNETexture_LockSelected[]
const unsigned char GNETexture_E2[]
static void reset()
Reset textures.
const unsigned char GNETexture_EmptySelected[]
static GUITextureSubSys * myInstance
instance of GUITextureSubSys
static void init(FXApp *a)
Initiate GUITextureSubSys for textures.
const unsigned char GNETexture_VariableSpeedSignalSelected[]
const unsigned char GNETexture_RouteProbeSelected[]
static GUIGlID getGif(GUITexture which)
returns a texture Gif previously defined in the enum GUITexture
std::map< GUITexture, std::pair< bool, GUIGlID > > myTextures
vector with the Gifs
GUITexture
An enumeration of gifs used by the gui applications.
const unsigned char GNETexture_E3Selected[]
const unsigned char GNETexture_NotMovingSelected[]