Removed debug print statements.

git-svn-id: http://svn.drobilla.net/lad@150 a436a847-0d15-0410-975c-d299462d15a1
This commit is contained in:
dave 2006-10-03 04:06:02 +00:00
parent 0e245b564a
commit 886b88f808
2 changed files with 2 additions and 7 deletions

View File

@ -50,7 +50,7 @@ class Module;
*
* \ingroup FlowCanvas
*/
class FlowCanvas : public /*CANVASBASE*/Gnome::Canvas::Canvas
class FlowCanvas : public /*CANVASBASE*/Gnome::Canvas::CanvasAA
// The CANVASBASE is a hook for a sed script in configure.ac
{
public:

View File

@ -259,13 +259,8 @@ Module::port_at(double x, double y)
boost::shared_ptr<Port> port = *p;
if (x > port->property_x() && x < port->property_x() + port->width()
&& y > port->property_y() && y < port->property_y() + port->height()) {
std::cerr << "HIT: " << name() << ":" << port->name() << std::endl;
return port;
} else {
std::cerr << "MISS: (" << x << ", " << y << ") not within " <<
name() << ":" << port->name() << "(" << port->property_x() << ", "
<< port->property_y() << ")" << std::endl;
}
}
}
return boost::shared_ptr<Port>();