]> git.tdb.fi Git - r2c2.git/blobdiff - source/designer/measure.cpp
Give filename to GLtk::Resources constructor
[r2c2.git] / source / designer / measure.cpp
index e5e5abb542c3a434a96795df13e8c7f6e1571c01..c4280c8a9c058b637492625f8da7d21d902e1150 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
-*/
-
 #include <cmath>
 #include <GL/gl.h>
 #include "designer.h"
@@ -33,7 +26,7 @@ void Measure::snap_to_tracks(Vector &pt, float &dir)
                        return;
 }
 
-void Measure::button_press(int, int, float gx, float gy, unsigned btn)
+void Measure::button_press(float gx, float gy, unsigned btn)
 {
        if(!state)
                return;
@@ -58,7 +51,7 @@ void Measure::button_press(int, int, float gx, float gy, unsigned btn)
        }
 }
 
-void Measure::pointer_motion(int, int, float gx, float gy)
+void Measure::pointer_motion(float gx, float gy)
 {
        if(!state)
                return;