SUMO - Simulation of Urban MObility
|
Global storage for textures; manages and draws them. More...
#include <GUITexturesHelper.h>
Static Public Member Functions | |
static unsigned int | add (FXImage *i) |
Adds a texture to use. | |
static void | drawTexturedBox (unsigned int which, SUMOReal size) |
Draws a named texture as a box with the given size. | |
static void | drawTexturedBox (unsigned int which, SUMOReal sizeX1, SUMOReal sizeY1, SUMOReal sizeX2, SUMOReal sizeY2) |
Draws a named texture as a rectangle with the given sizes. |
Global storage for textures; manages and draws them.
Definition at line 51 of file GUITexturesHelper.h.
|
static |
Adds a texture to use.
Definition at line 60 of file GUITexturesHelper.cpp.
Referenced by GUISUMOAbstractView::drawDecals().
Draws a named texture as a box with the given size.
Definition at line 77 of file GUITexturesHelper.cpp.
Referenced by GUISUMOAbstractView::drawDecals().
|
static |
Draws a named texture as a rectangle with the given sizes.
Definition at line 83 of file GUITexturesHelper.cpp.