![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEConnectorFrame.h>
Public Member Functions | |
ConnectionLegend (GNEConnectorFrame *connectorFrameParent) | |
constructor More... | |
const RGBColor & | getConflictColor () const |
get color for a to-lane that cannot be used because another connection conflicts More... | |
const RGBColor & | getPotentialTargetColor () const |
get color for potential to-lane targets (currently unconnected) More... | |
const RGBColor & | getSourceColor () const |
get color for the from-lane of a connection More... | |
const RGBColor & | getTargetColor () const |
get color for the to-lane of a connection More... | |
const RGBColor & | getTargetPassColor () const |
get color for the to-lane of a connection with pass attribute More... | |
~ConnectionLegend () | |
destructor More... | |
Private Attributes | |
RGBColor | myConflictColor |
color for a to-lane that cannot be used because another connection conflicts More... | |
FXLabel * | myConflictLabel |
conflict label More... | |
FXLabel * | myPossibleTargetLabel |
possible target label More... | |
RGBColor | myPotentialTargetColor |
color for potential to-lane targets (currently unconnected) More... | |
RGBColor | mySourceColor |
color for the from-lane of a connection More... | |
FXLabel * | mySourceLabel |
source label More... | |
RGBColor | myTargetColor |
color for the to-lane of a connection More... | |
FXLabel * | myTargetLabel |
target label More... | |
RGBColor | myTargetPassColor |
color for the to-lane of a connection with pass attribute More... | |
FXLabel * | myTargetPassLabel |
target pass label More... | |
Definition at line 190 of file GNEConnectorFrame.h.
GNEConnectorFrame::ConnectionLegend::ConnectionLegend | ( | GNEConnectorFrame * | connectorFrameParent | ) |
constructor
Definition at line 325 of file GNEConnectorFrame.cpp.
References MFXUtils::getFXColor(), GUIDesignLabelLeft, myConflictColor, myConflictLabel, myPossibleTargetLabel, myPotentialTargetColor, mySourceColor, mySourceLabel, myTargetColor, myTargetLabel, myTargetPassColor, and myTargetPassLabel.
GNEConnectorFrame::ConnectionLegend::~ConnectionLegend | ( | ) |
destructor
Definition at line 355 of file GNEConnectorFrame.cpp.
const RGBColor & GNEConnectorFrame::ConnectionLegend::getConflictColor | ( | ) | const |
get color for a to-lane that cannot be used because another connection conflicts
Definition at line 383 of file GNEConnectorFrame.cpp.
References myConflictColor.
Referenced by GNEConnectorFrame::initTargets().
const RGBColor & GNEConnectorFrame::ConnectionLegend::getPotentialTargetColor | ( | ) | const |
get color for potential to-lane targets (currently unconnected)
Definition at line 371 of file GNEConnectorFrame.cpp.
References myPotentialTargetColor.
Referenced by GNEConnectorFrame::buildConnection(), and GNEConnectorFrame::initTargets().
const RGBColor & GNEConnectorFrame::ConnectionLegend::getSourceColor | ( | ) | const |
get color for the from-lane of a connection
Definition at line 359 of file GNEConnectorFrame.cpp.
References mySourceColor.
Referenced by GNEConnectorFrame::buildConnection().
const RGBColor & GNEConnectorFrame::ConnectionLegend::getTargetColor | ( | ) | const |
get color for the to-lane of a connection
Definition at line 365 of file GNEConnectorFrame.cpp.
References myTargetColor.
Referenced by GNEConnectorFrame::buildConnection(), and GNEConnectorFrame::initTargets().
const RGBColor & GNEConnectorFrame::ConnectionLegend::getTargetPassColor | ( | ) | const |
get color for the to-lane of a connection with pass attribute
Definition at line 377 of file GNEConnectorFrame.cpp.
References myTargetPassColor.
Referenced by GNEConnectorFrame::buildConnection(), and GNEConnectorFrame::initTargets().
|
private |
color for a to-lane that cannot be used because another connection conflicts
Definition at line 243 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend(), and getConflictColor().
|
private |
conflict label
Definition at line 228 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend().
|
private |
possible target label
Definition at line 222 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend().
|
private |
color for potential to-lane targets (currently unconnected)
Definition at line 237 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend(), and getPotentialTargetColor().
|
private |
color for the from-lane of a connection
Definition at line 231 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend(), and getSourceColor().
|
private |
|
private |
color for the to-lane of a connection
Definition at line 234 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend(), and getTargetColor().
|
private |
|
private |
color for the to-lane of a connection with pass attribute
Definition at line 240 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend(), and getTargetPassColor().
|
private |
target pass label
Definition at line 225 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend().