X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fengineer%2Ftrainproperties.h;h=c75015b08f4b27f8c5b009af0af17aa572352713;hb=f74ce147edde73319e55475433adb8e1d87b7201;hp=3c1a372fe606fed9801ce1ea069fbebe38903f10;hpb=d3907f4b0e60f246a53201b93b06e86062f1b48a;p=r2c2.git diff --git a/source/engineer/trainproperties.h b/source/engineer/trainproperties.h index 3c1a372..c75015b 100644 --- a/source/engineer/trainproperties.h +++ b/source/engineer/trainproperties.h @@ -24,11 +24,16 @@ private: 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 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