|
SUMO - Simulation of Urban MObility
|
Base class for coloring. Allows changing the used colors and sets the used color in dependence to a value. More...
#include <GUIColorer.h>
Public Member Functions | |
| void | addScheme (GUIColorScheme scheme) |
| void | fill (FXComboBox &cb) |
| Fills the given combobox with the names of available colorings. | |
| size_t | getActive () const |
| GUIColorScheme & | getScheme () |
| const GUIColorScheme & | getScheme () const |
| GUIColorScheme * | getSchemeByName (std::string name) |
| GUIColorer () | |
| Constructor. | |
| bool | operator== (const GUIColorer &c) const |
| void | save (OutputDevice &dev) const |
| void | setActive (size_t scheme) |
| virtual | ~GUIColorer () |
| Destructor. | |
Protected Attributes | |
| size_t | myActiveScheme |
| std::vector< GUIColorScheme > | mySchemes |
Base class for coloring. Allows changing the used colors and sets the used color in dependence to a value.
Definition at line 56 of file GUIColorer.h.
|
inline |
Constructor.
Definition at line 59 of file GUIColorer.h.
|
inlinevirtual |
Destructor.
Definition at line 62 of file GUIColorer.h.
|
inline |
Definition at line 110 of file GUIColorer.h.
References mySchemes.
Referenced by GUIVisualizationSettings::GUIVisualizationSettings().
|
inline |
Fills the given combobox with the names of available colorings.
Definition at line 65 of file GUIColorer.h.
References myActiveScheme, and mySchemes.
|
inline |
Definition at line 78 of file GUIColorer.h.
References myActiveScheme.
Referenced by GUIVisualizationSettings::getLaneEdgeMode(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), GUIVisualizationSettings::save(), GUILaneWrapper::setColor(), and GUIVehicle::setColor().
|
inline |
Definition at line 82 of file GUIColorer.h.
References myActiveScheme, and mySchemes.
Referenced by GUIVisualizationSettings::getLaneEdgeScheme(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::rebuildColorMatrices(), GUILaneWrapper::setColor(), and GUIVehicle::setColor().
|
inline |
Definition at line 86 of file GUIColorer.h.
References myActiveScheme, and mySchemes.
|
inline |
Definition at line 90 of file GUIColorer.h.
References mySchemes.
Referenced by GUISettingsHandler::myStartElement().
|
inline |
Definition at line 105 of file GUIColorer.h.
References myActiveScheme, and mySchemes.
|
inline |
Definition at line 99 of file GUIColorer.h.
References mySchemes.
Referenced by GUIVisualizationSettings::save().
|
inline |
Definition at line 72 of file GUIColorer.h.
References myActiveScheme, and mySchemes.
Referenced by GUISettingsHandler::myStartElement(), and GUIDialog_ViewSettings::onCmdColorChange().
|
protected |
Definition at line 116 of file GUIColorer.h.
Referenced by fill(), getActive(), getScheme(), operator==(), and setActive().
|
protected |
Definition at line 117 of file GUIColorer.h.
Referenced by addScheme(), fill(), getScheme(), getSchemeByName(), operator==(), save(), and setActive().