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()
ask whether texture drawing is enabled
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 int getTextureID(const std::string &filename, const bool mirrorX=false)
return texture id for the given filename (initialize on first use)
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)
switch texture drawing on and off