]> git.tdb.fi Git - r2c2.git/blobdiff - source/designer/zoneproperties.h
Add support for named zones
[r2c2.git] / source / designer / zoneproperties.h
diff --git a/source/designer/zoneproperties.h b/source/designer/zoneproperties.h
new file mode 100644 (file)
index 0000000..fe58c9f
--- /dev/null
@@ -0,0 +1,31 @@
+/* $Id$
+
+This file is part of R²C²
+Copyright © 2010 Mikkosoft Productions, Mikko Rasa
+Distributed under the GPL
+*/
+
+#ifndef ZONEPROPERTIES_H_
+#define ZONEPROPERTIES_H_
+
+#include <msp/gltk/dialog.h>
+#include <msp/gltk/dropdown.h>
+#include <msp/gltk/entry.h>
+#include "libr2c2/zone.h"
+
+class ZoneProperties: public Msp::GLtk::Dialog
+{
+private:
+       R2C2::Zone &zone;
+       Msp::GLtk::Entry *ent_group;
+       Msp::GLtk::Dropdown *drp_qualifier;
+       Msp::GLtk::Entry *ent_number;
+
+public:
+       ZoneProperties(R2C2::Zone &);
+
+private:
+       virtual void on_response(int);
+};
+
+#endif