![]() |
Eclipse 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 <GUIPropertySchemeStorage.h>
Public Member Functions | |
| void | addScheme (T scheme) |
| void | fill (MFXComboBoxIcon &cb) |
| Fills the given combobox with the names of available colorings. | |
| int | getActive () const |
| T & | getScheme () |
| const T & | getScheme () const |
| T * | getSchemeByName (std::string name) |
| const std::vector< T > & | getSchemes () const |
| GUIPropertySchemeStorage () | |
| Constructor. | |
| bool | operator== (const GUIPropertySchemeStorage &c) const |
| void | save (OutputDevice &dev, const std::string &prefix="") const |
| void | setActive (int scheme) |
| void | setSchemeByName (std::string name) |
| int | size () const |
| virtual | ~GUIPropertySchemeStorage () |
| Destructor. | |
Protected Attributes | |
| int | myActiveScheme |
| std::vector< T > | mySchemes |
Base class for coloring. Allows changing the used colors and sets the used color in dependence to a value.
Definition at line 49 of file GUIPropertySchemeStorage.h.
|
inline |
Constructor.
Definition at line 52 of file GUIPropertySchemeStorage.h.
|
inlinevirtual |
Destructor.
Definition at line 55 of file GUIPropertySchemeStorage.h.
|
inline |
Definition at line 118 of file GUIPropertySchemeStorage.h.
|
inline |
Fills the given combobox with the names of available colorings.
Definition at line 58 of file GUIPropertySchemeStorage.h.
|
inline |
Definition at line 73 of file GUIPropertySchemeStorage.h.
Referenced by GUIVehicle::drawAction_drawCarriageClass(), GNEEdge::drawEdgeGeometryPoints(), GNEEdge::drawEdgeName(), GNEEdge::drawEdgeShape(), GNEEdge::drawEndGeometryPoint(), GNEPerson::drawGL(), GNETAZRelData::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GUIBaseVehicle::drawOnPos(), GNELane::drawStartEndGeometryPoints(), GNEEdge::drawStartGeometryPoint(), GNEDemandElement::getColorByScheme(), GUILane::getColorValueForTracker(), GUIBaseVehicle::getExaggeration(), GUIDialog_ViewSettings::onCmdColorChange(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), GNEJunction::setColor(), GNETAZRelData::setColor(), GUIBaseVehicle::setColor(), GUIContainer::setColor(), GUIEdge::setColor(), GUILane::setColor(), GUIPerson::setColor(), GUIPolygon::setColor(), GUIEdge::setFunctionalColor(), GUILane::setFunctionalColor(), GNELane::setLaneColor(), GNELane::setMultiColor(), GUIEdge::setMultiColor(), GUILane::setMultiColor(), and GUIPointOfInterest::setPOIColor().
|
inline |
Definition at line 77 of file GUIPropertySchemeStorage.h.
Referenced by GUIVehicle::drawAction_drawCarriageClass(), GNEEdge::drawEdgeName(), GNETAZRelData::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GNEWalkingArea::drawWalkingArea(), GUIDottedGeometry::DottedGeometryColor::getColor(), GNEDemandElement::getColorByScheme(), GUIBaseVehicle::getExaggeration(), GUIDialog_ViewSettings::onCmdColorChange(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), GNEJunction::setColor(), GNETAZRelData::setColor(), GUIBaseVehicle::setColor(), GUIContainer::setColor(), GUIEdge::setColor(), GUILane::setColor(), GUIPerson::setColor(), GUIPolygon::setColor(), GUILane::setFunctionalColor(), GNELane::setLaneColor(), GNELane::setMultiColor(), GUIEdge::setMultiColor(), GUILane::setMultiColor(), and GUIPointOfInterest::setPOIColor().
|
inline |
Definition at line 81 of file GUIPropertySchemeStorage.h.
|
inline |
Definition at line 89 of file GUIPropertySchemeStorage.h.
|
inline |
Definition at line 85 of file GUIPropertySchemeStorage.h.
Referenced by GNEEdge::drawEdgeGeometryPoints(), GNEEdge::drawEdgeShape(), GNEEdge::drawEndGeometryPoint(), GNELane::drawStartEndGeometryPoints(), GNEEdge::drawStartGeometryPoint(), and GNECrossing::getCrossingColor().
|
inline |
Definition at line 113 of file GUIPropertySchemeStorage.h.
|
inline |
Definition at line 107 of file GUIPropertySchemeStorage.h.
|
inline |
Definition at line 67 of file GUIPropertySchemeStorage.h.
Referenced by GUIDialog_ViewSettings::onCmdColorChange(), and GUIApplicationWindow::onCmdEditChosen().
|
inline |
Definition at line 98 of file GUIPropertySchemeStorage.h.
Referenced by GUICompleteSchemeStorage::init().
|
inline |
Definition at line 122 of file GUIPropertySchemeStorage.h.
|
protected |
Definition at line 128 of file GUIPropertySchemeStorage.h.
Referenced by GUIPropertySchemeStorage< GUIColorScheme >::operator==().
|
protected |
Definition at line 129 of file GUIPropertySchemeStorage.h.
Referenced by GUIPropertySchemeStorage< GUIColorScheme >::operator==().