![]() |
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 189 of file GNEConnectorFrame.h.
GNEConnectorFrame::ConnectionLegend::ConnectionLegend | ( | GNEConnectorFrame * | connectorFrameParent | ) |
constructor
Definition at line 328 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 358 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 386 of file GNEConnectorFrame.cpp.
Referenced by GNEConnectorFrame::initTargets().
const RGBColor & GNEConnectorFrame::ConnectionLegend::getPotentialTargetColor | ( | ) | const |
get color for potential to-lane targets (currently unconnected)
Definition at line 374 of file GNEConnectorFrame.cpp.
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 362 of file GNEConnectorFrame.cpp.
Referenced by GNEConnectorFrame::buildConnection().
const RGBColor & GNEConnectorFrame::ConnectionLegend::getTargetColor | ( | ) | const |
get color for the to-lane of a connection
Definition at line 368 of file GNEConnectorFrame.cpp.
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 380 of file GNEConnectorFrame.cpp.
Referenced by GNEConnectorFrame::buildConnection(), and GNEConnectorFrame::initTargets().
|
private |
color for a to-lane that cannot be used because another connection conflicts
Definition at line 242 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend().
|
private |
conflict label
Definition at line 227 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend().
|
private |
possible target label
Definition at line 221 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend().
|
private |
color for potential to-lane targets (currently unconnected)
Definition at line 236 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend().
|
private |
color for the from-lane of a connection
Definition at line 230 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend().
|
private |
|
private |
color for the to-lane of a connection
Definition at line 233 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend().
|
private |
|
private |
color for the to-lane of a connection with pass attribute
Definition at line 239 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend().
|
private |
target pass label
Definition at line 224 of file GNEConnectorFrame.h.
Referenced by ConnectionLegend().