3 This file is part of the MSP Märklin suite
4 Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
11 #include <sigc++/sigc++.h>
26 Marklin::Point pointer;
27 Marklin::Point spoint;
35 sigc::signal<void> signal_done;
36 sigc::signal<void> signal_changed;
39 float get_parallel_distance() const { return par_dist; }
40 float get_perpendicular_distance() const { return perp_dist; }
41 float get_angle_difference() const { return adiff; }
43 void button_press(int, int, float, float, unsigned);
44 void pointer_motion(int, int, float, float);
47 void snap_to_tracks(Marklin::Point &, float &);