static GUIGlID add(FXImage *i)
Adds a texture to use.
static std::map< std::string, int > myTextures
mapping from image paths to decals (initialization on first use)
static bool texturesAllowed()
clears loaded textures
static void clearTextures()
clears loaded textures
static void drawTexturedBox(unsigned int which, SUMOReal size)
Draws a named texture as a box with the given size.
static bool myAllowTextures
whether textures are drawn
static int getMaxTextureSize()
return maximum number of pixels in x and y direction
Global storage for textures; manages and draws them.
static void allowTextures(const bool val)
don't draw any textures
static int getTextureID(const std::string &filename)
return texture id for the given filename (initialize on first use)