Msp::GLtk::Entry *ent_addr;
Msp::GLtk::Dropdown *drp_type;
Msp::GLtk::Entry *ent_name;
+ Msp::GLtk::Dropdown *drp_priority;
+ Msp::GLtk::List *lst_vehicles;
+ Msp::GLtk::Dropdown *drp_new_vehicle;
+ std::vector<const Marklin::VehicleType *> add_vehicles;
public:
TrainProperties(Engineer &, const Msp::GLtk::Resources &, Marklin::Train *);
private:
virtual void on_ok_clicked();
+ void new_vehicle_selected(unsigned, const std::string &);
+ const Marklin::VehicleType &get_vehicle_type(unsigned, bool);
};
#endif