X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdesigner%2Fmeasure.cpp;h=c4280c8a9c058b637492625f8da7d21d902e1150;hb=c164ce9409008e9b5a72cdbd09c332f95846e920;hp=e5e5abb542c3a434a96795df13e8c7f6e1571c01;hpb=f8a7788cee0261babfc4c804a58515aad6dfbc3d;p=r2c2.git diff --git a/source/designer/measure.cpp b/source/designer/measure.cpp index e5e5abb..c4280c8 100644 --- a/source/designer/measure.cpp +++ b/source/designer/measure.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #include #include #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;