Skip to content

Commit

Permalink
addendum. refs #14646
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Apr 2, 2024
1 parent 6e8ce57 commit 0c981d7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/netedit/dialogs/GNEAllowVClassesDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ GNEAllowVClassesDialog::constructor() {
buildVClass(myContentRightFrame, SVC_SUBWAY, GUIIcon::VCLASS_CUSTOM1, TL("A railway that mostly runs underground"));
buildVClass(myContentRightFrame, SVC_AIRCRAFT, GUIIcon::VCLASS_CUSTOM1, TL("A airplane"));
buildVClass(myContentRightFrame, SVC_WHEELCHAIR, GUIIcon::VCLASS_CUSTOM1, TL("A mobility impaired person"));
buildVClass(myContentRightFrame, SVC_SCOOTER, GUIIcon::VCLASS_CUSTOM1, TL("An electric scooter or a kick scooter"));
buildVClass(myContentRightFrame, SVC_DRONE, GUIIcon::VCLASS_CUSTOM1, TL("A small unmanned robot"));
buildVClass(myContentRightFrame, SVC_CUSTOM1, GUIIcon::VCLASS_CUSTOM1, TL("Reserved for user-defined semantics"));
buildVClass(myContentRightFrame, SVC_CUSTOM2, GUIIcon::VCLASS_CUSTOM2, TL("Reserved for user-defined semantics"));
Expand Down
3 changes: 3 additions & 0 deletions src/netedit/dialogs/GNEVehicleTypeDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVClassLabelImage() {
case SVC_WHEELCHAIR:
myComboBoxVClassLabelImage->setIcon(GUIIconSubSys::getIcon(GUIIcon::VCLASS_CUSTOM1));
break;
case SVC_SCOOTER:
myComboBoxVClassLabelImage->setIcon(GUIIconSubSys::getIcon(GUIIcon::VCLASS_CUSTOM1));
break;
case SVC_DRONE:
myComboBoxVClassLabelImage->setIcon(GUIIconSubSys::getIcon(GUIIcon::VCLASS_CUSTOM1));
break;
Expand Down
2 changes: 2 additions & 0 deletions src/utils/gui/images/VClassIcons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ VClassIcons::getVClassIcon(const SUMOVehicleClass vc) {
return GUIIconSubSys::getIcon(GUIIcon::VCLASS_SMALL_CUSTOM1);
case SVC_WHEELCHAIR:
return GUIIconSubSys::getIcon(GUIIcon::VCLASS_SMALL_CUSTOM1);
case SVC_SCOOTER:
return GUIIconSubSys::getIcon(GUIIcon::VCLASS_SMALL_CUSTOM1);
case SVC_DRONE:
return GUIIconSubSys::getIcon(GUIIcon::VCLASS_SMALL_CUSTOM1);
case SVC_CUSTOM1:
Expand Down

0 comments on commit 0c981d7

Please sign in to comment.