]> git.tdb.fi Git - r2c2.git/blobdiff - source/designer/slopetool.cpp
Give tools access to the keyboard
[r2c2.git] / source / designer / slopetool.cpp
index 96a78bf6aaefdb1f845e42f3154808d5deefcddc..58a50e1507cf7efad982cf0b0aaaedb08929fe8f 100644 (file)
@@ -5,8 +5,8 @@ using namespace std;
 using namespace Msp;
 using namespace R2C2;
 
-SlopeTool::SlopeTool(Designer &d, Input::Mouse &m, const set<Object *> &objects):
-       Tool(d, m),
+SlopeTool::SlopeTool(Designer &d, Input::Keyboard &k, Input::Mouse &m, const set<Object *> &objects):
+       Tool(d, k, m),
        total_length(0)
 {
        for(set<Object *>::const_iterator i=objects.begin(); i!=objects.end(); ++i)