]> git.tdb.fi Git - r2c2.git/blobdiff - source/designer/measure.cpp
Rename the project to R²C²
[r2c2.git] / source / designer / measure.cpp
index cbe17938dd3debe1fa28f367c86175329b956130..56efc1b55a16a969b28bbea4e33a69385307037e 100644 (file)
@@ -1,6 +1,6 @@
 /* $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
 */
@@ -12,7 +12,7 @@ Distributed under the GPL
 #include "measure.h"
 
 using namespace std;
-using namespace Marklin;
+using namespace R2C2;
 using namespace Msp;
 
 Measure::Measure(Designer &d):
@@ -27,7 +27,7 @@ void Measure::start()
 
 void Measure::snap_to_tracks(Point &pt, float &dir)
 {
-       const set<Track *> &ltracks = designer.get_layout()->get_tracks();
+       const set<Track *> &ltracks = designer.get_layout().get_tracks();
        for(set<Track *>::const_iterator i=ltracks.begin(); i!=ltracks.end(); ++i)
                if((*i)->snap(pt, dir))
                        return;