]> git.tdb.fi Git - r2c2.git/blobdiff - source/designer/movetool.h
Split the Manipulator class into several Tools
[r2c2.git] / source / designer / movetool.h
diff --git a/source/designer/movetool.h b/source/designer/movetool.h
new file mode 100644 (file)
index 0000000..5eb1c85
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef MOVETOOL_H_
+#define MOVETOOL_H_
+
+#include "manipulator.h"
+
+class MoveTool: public Manipulator
+{
+private:
+       R2C2::Vector origin;
+
+public:
+       MoveTool(Designer &, Msp::Input::Mouse &, const std::set<R2C2::Object *> &);
+
+       virtual void axis_motion(unsigned, float, float);
+};
+
+#endif