Skip to content

Commit

Permalink
Updated drawLockIcon. Refs #13894
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Dec 19, 2023
1 parent b4d763e commit 9f460ef
Show file tree
Hide file tree
Showing 31 changed files with 50 additions and 50 deletions.
27 changes: 11 additions & 16 deletions src/netedit/GNEViewNetHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3877,15 +3877,15 @@ GNEViewNetHelper::EditNetworkElementShapes::getEditedNetworkElement() const {
// ---------------------------------------------------------------------------

void
GNEViewNetHelper::LockIcon::drawLockIcon(const GNEAttributeCarrier* AC, GUIGlObjectType type,
const Position viewPosition, const double exaggeration, const double size,
const double offsetx, const double offsety) {
GNEViewNetHelper::LockIcon::drawLockIcon(const GUIVisualizationSettings& s, const GUIVisualizationSettings::Detail d,
const GNEAttributeCarrier* AC, GUIGlObjectType type, const Position position, const double exaggeration,
const double size, const double offsetx, const double offsety) {
// first check if icon can be drawn
if (checkDrawing(AC, type, exaggeration)) {
if (checkDrawing(s, d, AC, type, exaggeration)) {
// Start pushing matrix
GLHelper::pushMatrix();
// Traslate to position
glTranslated(viewPosition.x(), viewPosition.y(), GLO_LOCKICON);
glTranslated(position.x(), position.y(), GLO_LOCKICON);
// Traslate depending of the offset
glTranslated(offsetx, offsety, 0);
// rotate to avoid draw invert
Expand All @@ -3904,11 +3904,14 @@ GNEViewNetHelper::LockIcon::LockIcon() {}


bool
GNEViewNetHelper::LockIcon::checkDrawing(const GNEAttributeCarrier* AC, GUIGlObjectType type, const double exaggeration) {
GNEViewNetHelper::LockIcon::checkDrawing(const GUIVisualizationSettings& s, const GUIVisualizationSettings::Detail d,
const GNEAttributeCarrier* AC, GUIGlObjectType type, const double exaggeration) {
// check detail
if (d > GUIVisualizationSettings::Detail::LockedIcons) {
return false;
}
// get view net
const auto viewNet = AC->getNet()->getViewNet();
// get visualization settings
const auto& s = viewNet->getVisualisationSettings();
// check exaggeration
if (exaggeration == 0) {
return false;
Expand All @@ -3928,14 +3931,6 @@ GNEViewNetHelper::LockIcon::checkDrawing(const GNEAttributeCarrier* AC, GUIGlObj
if (!viewNet->getLockManager().isObjectLocked(type, AC->isAttributeCarrierSelected())) {
return false;
}
// check visualizationSettings
if (s.drawForRectangleSelection) {
return false;
}
// check detail
if (!s.drawDetail(10, exaggeration)) {
return false;
}
// all ok, then draw
return true;
}
Expand Down
7 changes: 4 additions & 3 deletions src/netedit/GNEViewNetHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -1427,13 +1427,14 @@ struct GNEViewNetHelper {
/// @brief struct for pack all variables and functions related with Block Icon
struct LockIcon {
/// @brief draw lock icon
static void drawLockIcon(const GNEAttributeCarrier* AC, GUIGlObjectType type, const Position viewPosition,
static void drawLockIcon(const GUIVisualizationSettings& s, const GUIVisualizationSettings::Detail d,
const GNEAttributeCarrier* AC, GUIGlObjectType type, const Position position,
const double exaggeration, const double size = 0.5,
const double offsetx = 0, const double offsety = 0);

/// @brief check if icon can be drawn
static bool checkDrawing(const GNEAttributeCarrier* AC, GUIGlObjectType type, const double exaggeration);

static bool checkDrawing(const GUIVisualizationSettings& s, const GUIVisualizationSettings::Detail d,
const GNEAttributeCarrier* AC, GUIGlObjectType type, const double exaggeration);
private:
/// @brief constructor
LockIcon();
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEAccess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ GNEAccess::drawGL(const GUIVisualizationSettings& s) const {
// pop layer matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), myAdditionalGeometry.getShape().front(), accessExaggeration, 0.3);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), myAdditionalGeometry.getShape().front(), accessExaggeration, 0.3);
}
// draw dotted contour
myContour.drawDottedContourCircle(s, d, myAdditionalGeometry.getShape().front(), radius, accessExaggeration,
Expand Down
6 changes: 3 additions & 3 deletions src/netedit/elements/additional/GNEAdditional.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ GNEAdditional::drawSquaredAdditional(const GUIVisualizationSettings& s, const Po
// Pop layer matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), pos, exaggeration, 0.4, 0.5, 0.5);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), pos, exaggeration, 0.4, 0.5, 0.5);
// Draw additional ID
drawAdditionalID(s);
// draw additional name
Expand Down Expand Up @@ -799,11 +799,11 @@ GNEAdditional::drawListedAdditional(const GUIVisualizationSettings& s, const Pos
// move to icon position
signPosition.add(-0.3, 0);
// check if draw lock icon or rerouter interval icon
if (GNEViewNetHelper::LockIcon::checkDrawing(this, getType(), 1)) {
if (GNEViewNetHelper::LockIcon::checkDrawing(s, d, this, getType(), 1)) {
// pop layer matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), signPosition, 1, 0.4, 0.0, -0.05);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), signPosition, 1, 0.4, 0.0, -0.05);
} else {
// translate to front
glTranslated(signPosition.x(), signPosition.y(), 0.1);
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEBusStop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ GNEBusStop::drawGL(const GUIVisualizationSettings& s) const {
// pop layer matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), myAdditionalGeometry.getShape().getCentroid(), busStopExaggeration, (myTagProperty.getTag() == SUMO_TAG_BUS_STOP) ? 0.5 : 0.25);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), myAdditionalGeometry.getShape().getCentroid(), busStopExaggeration, (myTagProperty.getTag() == SUMO_TAG_BUS_STOP) ? 0.5 : 0.25);
// Draw additional ID
drawAdditionalID(s);
// draw additional name
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEChargingStation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ GNEChargingStation::drawGL(const GUIVisualizationSettings& s) const {
// pop layer matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), myAdditionalGeometry.getShape().getCentroid(), chargingStationExaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), myAdditionalGeometry.getShape().getCentroid(), chargingStationExaggeration);
// Draw additional ID
drawAdditionalID(s);
// draw additional name
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEContainerStop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ GNEContainerStop::drawGL(const GUIVisualizationSettings& s) const {
// pop layer matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), myAdditionalGeometry.getShape().getCentroid(), containerStopExaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), myAdditionalGeometry.getShape().getCentroid(), containerStopExaggeration);
// Draw additional ID
drawAdditionalID(s);
// draw additional name
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEEntryExitDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ GNEEntryExitDetector::drawGL(const GUIVisualizationSettings& s) const {
// draw additional name
drawAdditionalName(s);
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), myAdditionalGeometry.getShape().getCentroid(), entryExitExaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), myAdditionalGeometry.getShape().getCentroid(), entryExitExaggeration);
}
// draw dotted contour
myContour.drawDottedContourRectangle(s, d, myAdditionalGeometry.getShape().front(), 2.7, 1.6, 2, 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ GNEInductionLoopDetector::drawGL(const GUIVisualizationSettings& s) const {
// pop layer matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), myAdditionalGeometry.getShape().getCentroid(), E1Exaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), myAdditionalGeometry.getShape().getCentroid(), E1Exaggeration);
// Draw additional ID
drawAdditionalID(s);
// draw additional name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ GNEInstantInductionLoopDetector::drawGL(const GUIVisualizationSettings& s) const
// pop layer matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), myAdditionalGeometry.getShape().getCentroid(), E1InstantExaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), myAdditionalGeometry.getShape().getCentroid(), E1InstantExaggeration);
// Draw additional ID
drawAdditionalID(s);
// draw additional name
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNELaneAreaDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ GNELaneAreaDetector::drawGL(const GUIVisualizationSettings& s) const {
// pop layer matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), myAdditionalGeometry.getShape().getCentroid(), E2Exaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), myAdditionalGeometry.getShape().getCentroid(), E2Exaggeration);
// Draw additional ID
drawAdditionalID(s);
// draw additional name
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEPOI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ GNEPOI::drawGL(const GUIVisualizationSettings& s) const {
drawRightGeometryPoint(s, d, myShapeWidth.front(), -90, RGBColor::ORANGE);
}
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), getPositionInView(), POIExaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), getPositionInView(), POIExaggeration);
}
// draw contour
if (getShapeImgFile().empty()) {
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEParkingArea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ GNEParkingArea::drawGL(const GUIVisualizationSettings& s) const {
// pop layer matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), getPositionInView(), parkingAreaExaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), getPositionInView(), parkingAreaExaggeration);
// Draw additional ID
drawAdditionalID(s);
// draw additional name
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEParkingSpace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ GNEParkingSpace::drawGL(const GUIVisualizationSettings& s) const {
// pop layer matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), myShapeLength.getPolygonCenter(), parkingAreaExaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), myShapeLength.getPolygonCenter(), parkingAreaExaggeration);
// Draw additional ID
drawAdditionalID(s);
// draw additional name
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEPoly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ GNEPoly::drawGL(const GUIVisualizationSettings& s) const {
}
}
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), getPositionInView(), polyExaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), getPositionInView(), polyExaggeration);
// pop layer matrix
GLHelper::popMatrix();
// get name position
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNETAZ.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ GNETAZ::drawGL(const GUIVisualizationSettings& s) const {
// pop layer matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), getPositionInView(), TAZExaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), getPositionInView(), TAZExaggeration);
// draw name
drawName(myTAZCenter, s.scale, s.polyName, s.angle);
// check if draw poly type
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/data/GNEEdgeData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ GNEEdgeData::drawLanePartialGL(const GUIVisualizationSettings& s, const GNEPathM
// Pop last matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), getPositionInView(), 1);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), getPositionInView(), 1);
// draw filtered attribute
if (getParentEdges().front()->getLanes().front() == laneEdge) {
drawFilteredAttribute(s, laneEdge->getLaneShape(),
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/data/GNEEdgeRelData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ GNEEdgeRelData::drawLanePartialGL(const GUIVisualizationSettings& s, const GNEPa
// Pop last matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), getPositionInView(), 1);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), getPositionInView(), 1);
// draw filtered attribute
if (getParentEdges().front()->getLanes().front() == laneEdge) {
drawFilteredAttribute(s, laneEdge->getLaneShape(),
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/demand/GNEContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ GNEContainer::drawGL(const GUIVisualizationSettings& s) const {
GLHelper::drawTextSettings(s.personValue, toString(value), containerValuePosition, s.scale, s.angle, GLO_MAX - getType());
}
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), getPositionInView(), exaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), getPositionInView(), exaggeration);
}
// draw dotted contour
myContour.drawDottedContourRectangle(s, d, containerPosition, 0.5, 0.2, -2.5, 0, 0, exaggeration,
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/demand/GNEDemandElementPlan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ GNEDemandElementPlan::drawPlanJunctionPartial(const bool drawPlan, const GUIVisu
// Pop last matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(myPlanElement, myPlanElement->getType(), myPlanElement->getPositionInView(), 0.5);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, myPlanElement, myPlanElement->getType(), myPlanElement->getPositionInView(), 0.5);
// check if shape dotted contour has to be drawn
if (segment->getPreviousLane() && segment->getNextLane()) {
if (segment->getPreviousLane()->getLane2laneConnections().exist(segment->getNextLane())) {
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/demand/GNEPerson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ GNEPerson::drawGL(const GUIVisualizationSettings& s) const {
drawFlowLabel(Position(personPosition.x() - 1, personPosition.y() - 0.25), -90, 1.8, 2, getExaggeration(s));
}
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), personPosition, exaggeration, s.dottedContourSettings.segmentWidth);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), personPosition, exaggeration, s.dottedContourSettings.segmentWidth);
// draw name
drawName(personPosition, s.scale, s.personName, s.angle);
if (s.personValue.show(this)) {
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/demand/GNERoute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ GNERoute::drawJunctionPartialGL(const GUIVisualizationSettings& s, const GNEPath
// Pop last matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), getPositionInView(), getExaggeration(s));
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), getPositionInView(), getExaggeration(s));
// check if mark this route
const auto templateAC = myNet->getViewNet()->getViewParent()->getVehicleFrame()->getVehicleTagSelector()->getCurrentTemplateAC();
if ((gPostDrawing.markedRoute == nullptr) && myNet->getViewNet()->getViewParent()->getVehicleFrame()->shown() && templateAC &&
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/demand/GNEStop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ GNEStop::drawGL(const GUIVisualizationSettings& s) const {
// pop layer matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), getPositionInView(), exaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), getPositionInView(), exaggeration);
// Draw name
drawName(getCenteringBoundary().getCenter(), s.scale, s.addName);
}
Expand Down
4 changes: 2 additions & 2 deletions src/netedit/elements/demand/GNEStopPlan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ GNEStopPlan::drawStopOverEdge(const GUIVisualizationSettings& s, const GUIVisual
// pop layer matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), getPositionInView(), exaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), getPositionInView(), exaggeration);
}
// draw dotted geometry
myContour.drawDottedContourExtruded(s, d, myDemandElementGeometry.getShape(), 0.3, exaggeration, true, true,
Expand Down Expand Up @@ -505,7 +505,7 @@ GNEStopPlan::drawStopOverStoppingPlace(const GUIVisualizationSettings& s, const
// pop layer matrix
GLHelper::popMatrix();
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), getPositionInView(), exaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), getPositionInView(), exaggeration);
}
// draw dotted geometry
myContour.drawDottedContourExtruded(s, d, myDemandElementGeometry.getShape(), 0.3, exaggeration, true, true,
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/demand/GNEVehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ GNEVehicle::drawGL(const GUIVisualizationSettings& s) const {
drawFlowLabel(vehiclePosition, vehicleRotation, width, length, exaggeration);
}
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), vehiclePosition, exaggeration);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), vehiclePosition, exaggeration);
}
}
// draw squared shape
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/network/GNEConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ GNEConnection::drawGL(const GUIVisualizationSettings& s) const {
}
}
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), getPositionInView(), 0.1);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), getPositionInView(), 0.1);
}
// draw dotted geometry
myContour.drawDottedContourExtruded(s, d, shapeSuperposed, s.connectionSettings.connectionWidth, selectionScale, true, true,
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/network/GNECrossing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ GNECrossing::drawGL(const GUIVisualizationSettings& s) const {
drawName(myCrossingGeometry.getShape().getCentroid(), s.scale, s.edgeName, 0, true);
}
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), getPositionInView(), 1);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), getPositionInView(), 1);
}
// draw dotted geometry
myContour.drawDottedContourExtruded(s, d, myCrossingGeometry.getShape(), crossingWidth, selectionScale, true, true,
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/network/GNEEdge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ GNEEdge::drawGL(const GUIVisualizationSettings& s) const {
// draw edge name
drawEdgeName(s, d);
// draw lock icon
GNEViewNetHelper::LockIcon::drawLockIcon(this, getType(), getPositionInView(), 1);
GNEViewNetHelper::LockIcon::drawLockIcon(s, d, this, getType(), getPositionInView(), 1);
}
// draw childrens
drawChildrens(s, d);
Expand Down

0 comments on commit 9f460ef

Please sign in to comment.