3 This file is part of the MSP Märklin suite
4 Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
8 #ifndef TRAINPROPERTIES_H_
9 #define TRAINPROPERTIES_H_
11 #include <msp/gltk/dropdown.h>
12 #include <msp/gltk/entry.h>
13 #include <libmarklin/train.h>
18 class TrainProperties: public Dialog
22 Marklin::Train *train;
23 Msp::GLtk::Entry *ent_addr;
24 Msp::GLtk::Dropdown *drp_type;
25 Msp::GLtk::Entry *ent_name;
28 TrainProperties(Engineer &, const Msp::GLtk::Resources &, Marklin::Train *);
30 virtual void on_ok_clicked();