X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdesigner%2Fmeasure.h;h=69442d823984fdcbfe7ee3e21e9ce91a1043cd62;hb=72edbf54afe12b47bfe9c3a030d6c6ae695bda18;hp=6800ecce307826fa0bcc46d204e0ec84b539b4b4;hpb=1ff06c5bc46a677fa389ef86c6b26664368f1653;p=r2c2.git diff --git a/source/designer/measure.h b/source/designer/measure.h index 6800ecc..69442d8 100644 --- a/source/designer/measure.h +++ b/source/designer/measure.h @@ -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_ @@ -28,8 +21,8 @@ public: private: Designer &designer; - R2C2::Point pointer; - R2C2::Point spoint; + R2C2::Vector pointer; + R2C2::Vector spoint; float sdir; float par_dist; float perp_dist; @@ -46,7 +39,7 @@ public: void pointer_motion(int, int, float, float); void render(); private: - void snap_to_tracks(R2C2::Point &, float &); + void snap_to_tracks(R2C2::Vector &, float &); }; #endif