/* $Id$
-This file is part of the MSP Märklin suite
+This file is part of R²C²
Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
Distributed under the GPL
*/
#include "measure.h"
using namespace std;
-using namespace Marklin;
+using namespace R2C2;
using namespace Msp;
Measure::Measure(Designer &d):
void Measure::snap_to_tracks(Point &pt, float &dir)
{
- const set<Track *> <racks = designer.get_layout()->get_tracks();
+ const set<Track *> <racks = designer.get_layout().get_tracks();
for(set<Track *>::const_iterator i=ltracks.begin(); i!=ltracks.end(); ++i)
if((*i)->snap(pt, dir))
return;