]> git.tdb.fi Git - r2c2.git/blobdiff - source/designer/measure.h
Rewrite input even handling
[r2c2.git] / source / designer / measure.h
index fc675a6b9a859fed36250140b0715e284f6e093b..b991d42be50b30eddc4c39697150565b4b0d9046 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #ifndef MEASURE_H_
 #define MEASURE_H_
 
@@ -42,8 +35,8 @@ public:
        float get_perpendicular_distance() const { return perp_dist; }
        float get_angle_difference() const { return adiff; }
        void start();
-       void button_press(int, int, float, float, unsigned);
-       void pointer_motion(int, int, float, float);
+       void button_press(float, float, unsigned);
+       void pointer_motion(float, float);
        void render();
 private:
        void snap_to_tracks(R2C2::Vector &, float &);