Feature: Control + click on the vehicle details button in the vehicle view window opens the vehicle group window, then selects and scrolls to the vehicle's group.

This commit is contained in:
stormcone
2019-05-10 19:49:50 +02:00
committed by Charles Pigott
parent a363933d08
commit cc1d72c3a3
3 changed files with 24 additions and 6 deletions

View File

@@ -13,7 +13,8 @@
#include "company_type.h"
#include "vehicle_type.h"
void ShowCompanyGroup(CompanyID company, VehicleType veh);
void ShowCompanyGroup(CompanyID company, VehicleType veh, GroupID group = INVALID_GROUP, bool need_existing_window = false);
void ShowCompanyGroupForVehicle(const Vehicle *v);
void DeleteGroupHighlightOfVehicle(const Vehicle *v);
#endif /* GROUP_GUI_H */