1 #ifndef TRAINPROPERTIES_H_
2 #define TRAINPROPERTIES_H_
4 #include <msp/gltk/dropdown.h>
5 #include <msp/gltk/entry.h>
6 #include <msp/gltk/panel.h>
7 #include <libmarklin/train.h>
11 class TrainProperties: public Msp::GLtk::Panel
15 Marklin::Train *train;
16 Msp::GLtk::Entry *ent_addr;
17 Msp::GLtk::Dropdown *drp_type;
18 Msp::GLtk::Entry *ent_name;
21 sigc::signal<void> signal_ok;
23 TrainProperties(Engineer &, Msp::GLtk::Resources &, Marklin::Train *);
26 void cancel_clicked();