]> git.tdb.fi Git - r2c2.git/blobdiff - source/designer/rotatetool.h
Don't crash if a train has no router
[r2c2.git] / source / designer / rotatetool.h
index dceaa80d031ae1a8b8c8bfd4b0aab44bc7ab87cb..8bb9fe01d3611761e2552a4ff03a98dcbdc6fa4c 100644 (file)
@@ -10,9 +10,9 @@ private:
        R2C2::Angle angle;
 
 public:
-       RotateTool(Designer &, Msp::Input::Mouse &, const std::set<R2C2::Object *> &);
+       RotateTool(Designer &, Msp::Input::Keyboard &, Msp::Input::Mouse &, const std::set<R2C2::Object *> &);
 
-       virtual void axis_motion(unsigned, float, float);
+       virtual void pointer_motion();
 };
 
 #endif