From 39d5400b39c8089287d5d294becae1268d232d31 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 7 Feb 2007 03:22:42 +0000 Subject: Mad sed-fu for consistent private member naming. git-svn-id: http://svn.drobilla.net/lad/ingen@286 a436a847-0d15-0410-975c-d299462d15a1 --- src/progs/ingenuity/PatchPortModule.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/progs/ingenuity/PatchPortModule.cpp') diff --git a/src/progs/ingenuity/PatchPortModule.cpp b/src/progs/ingenuity/PatchPortModule.cpp index 53b56854..832ebcf5 100644 --- a/src/progs/ingenuity/PatchPortModule.cpp +++ b/src/progs/ingenuity/PatchPortModule.cpp @@ -31,7 +31,7 @@ namespace Ingenuity { PatchPortModule::PatchPortModule(boost::shared_ptr canvas, SharedPtr port) : LibFlowCanvas::Module(canvas, port->path().name(), 0, 0, false), // FIXME: coords? - m_port(port) + _port(port) { /*if (port_model()->polyphonic() && port_model()->parent() != NULL && port_model()->parent_patch()->poly() > 1) { @@ -68,8 +68,8 @@ PatchPortModule::create(boost::shared_ptr canvas, SharedPtrm_patch_port = boost::shared_ptr(new Port(ret, port, true, true)); - ret->add_port(ret->m_patch_port); + ret->_patch_port = boost::shared_ptr(new Port(ret, port, true, true)); + ret->add_port(ret->_patch_port); ret->resize(); @@ -86,13 +86,13 @@ PatchPortModule::store_location() const float x = static_cast(property_x()); const float y = static_cast(property_y()); - const Atom& existing_x = m_port->get_metadata("ingenuity:canvas-x"); - const Atom& existing_y = m_port->get_metadata("ingenuity:canvas-y"); + const Atom& existing_x = _port->get_metadata("ingenuity:canvas-x"); + const Atom& existing_y = _port->get_metadata("ingenuity:canvas-y"); if (existing_x.type() != Atom::FLOAT || existing_y.type() != Atom::FLOAT || existing_x.get_float() != x || existing_y.get_float() != y) { - App::instance().engine()->set_metadata(m_port->path(), "ingenuity:canvas-x", Atom(x)); - App::instance().engine()->set_metadata(m_port->path(), "ingenuity:canvas-y", Atom(y)); + App::instance().engine()->set_metadata(_port->path(), "ingenuity:canvas-x", Atom(x)); + App::instance().engine()->set_metadata(_port->path(), "ingenuity:canvas-y", Atom(y)); } } -- cgit v1.2.1