]> git.tdb.fi Git - r2c2.git/blobdiff - source/engineer/trainproperties.h
Support using a mesh as a background
[r2c2.git] / source / engineer / trainproperties.h
index 5d24613a7329a3cf718189a94adf635fc0ff6760..62dc85adaccc5b7a5b49f321c14586e074b176cb 100644 (file)
@@ -1,6 +1,14 @@
+/* $Id$
+
+This file is part of the MSP Märklin suite
+Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
+Distributed under the GPL
+*/
+
 #ifndef TRAINPROPERTIES_H_
 #define TRAINPROPERTIES_H_
 
+#include <msp/gltk/dropdown.h>
 #include <msp/gltk/entry.h>
 #include <msp/gltk/panel.h>
 #include <libmarklin/train.h>
@@ -13,6 +21,7 @@ private:
        Engineer &engineer;
        Marklin::Train *train;
        Msp::GLtk::Entry *ent_addr;
+       Msp::GLtk::Dropdown *drp_type;
        Msp::GLtk::Entry *ent_name;
 
 public:
@@ -21,6 +30,7 @@ public:
        TrainProperties(Engineer &, Msp::GLtk::Resources &, Marklin::Train *);
 private:
        void ok_clicked();
+       void cancel_clicked();
 };
 
 #endif