SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GUITexturesHelper Class Reference

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.

Detailed Description

Global storage for textures; manages and draws them.

Definition at line 51 of file GUITexturesHelper.h.


Member Function Documentation

GUIGlID GUITexturesHelper::add ( FXImage *  i)
static

Adds a texture to use.

Definition at line 60 of file GUITexturesHelper.cpp.

Referenced by GUISUMOAbstractView::drawDecals().

void GUITexturesHelper::drawTexturedBox ( unsigned int  which,
SUMOReal  size 
)
static

Draws a named texture as a box with the given size.

Definition at line 77 of file GUITexturesHelper.cpp.

Referenced by GUISUMOAbstractView::drawDecals().

void GUITexturesHelper::drawTexturedBox ( unsigned int  which,
SUMOReal  sizeX1,
SUMOReal  sizeY1,
SUMOReal  sizeX2,
SUMOReal  sizeY2 
)
static

Draws a named texture as a rectangle with the given sizes.

Definition at line 83 of file GUITexturesHelper.cpp.


The documentation for this class was generated from the following files: