diff options
author | David Robillard <d@drobilla.net> | 2007-02-07 03:22:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-07 03:22:42 +0000 |
commit | 39d5400b39c8089287d5d294becae1268d232d31 (patch) | |
tree | 0cf73ef86233121bc7f0408ca536aad196d3166c /src/progs/ingenuity/SubpatchModule.cpp | |
parent | e135edf1e65ac978f86f4849bd3667299dd69c7e (diff) | |
download | ingen-39d5400b39c8089287d5d294becae1268d232d31.tar.gz ingen-39d5400b39c8089287d5d294becae1268d232d31.tar.bz2 ingen-39d5400b39c8089287d5d294becae1268d232d31.zip |
Mad sed-fu for consistent private member naming.
git-svn-id: http://svn.drobilla.net/lad/ingen@286 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/SubpatchModule.cpp')
-rw-r--r-- | src/progs/ingenuity/SubpatchModule.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/progs/ingenuity/SubpatchModule.cpp b/src/progs/ingenuity/SubpatchModule.cpp index d67f7e26..cead93e4 100644 --- a/src/progs/ingenuity/SubpatchModule.cpp +++ b/src/progs/ingenuity/SubpatchModule.cpp @@ -33,7 +33,7 @@ namespace Ingenuity { SubpatchModule::SubpatchModule(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<PatchModel> patch) : NodeModule(canvas, patch), - m_patch(patch) + _patch(patch) { assert(canvas); assert(patch); @@ -43,15 +43,15 @@ SubpatchModule::SubpatchModule(boost::shared_ptr<PatchCanvas> canvas, SharedPtr< void SubpatchModule::on_double_click(GdkEventButton* event) { - assert(m_patch); + assert(_patch); - SharedPtr<PatchModel> parent = PtrCast<PatchModel>(m_patch->parent()); + SharedPtr<PatchModel> parent = PtrCast<PatchModel>(_patch->parent()); PatchWindow* const preferred = ( (parent && (event->state & GDK_SHIFT_MASK)) ? NULL : App::instance().window_factory()->patch_window(parent) ); - App::instance().window_factory()->present_patch(m_patch, preferred); + App::instance().window_factory()->present_patch(_patch, preferred); } @@ -62,15 +62,15 @@ SubpatchModule::on_double_click(GdkEventButton* event) void SubpatchModule::browse_to_patch() { - assert(m_patch->parent()); + assert(_patch->parent()); - SharedPtr<PatchModel> parent = PtrCast<PatchModel>(m_patch->parent()); + SharedPtr<PatchModel> parent = PtrCast<PatchModel>(_patch->parent()); PatchWindow* const preferred = ( (parent) ? App::instance().window_factory()->patch_window(parent) : NULL ); - App::instance().window_factory()->present_patch(m_patch, preferred); + App::instance().window_factory()->present_patch(_patch, preferred); } @@ -86,7 +86,7 @@ SubpatchModule::show_dialog() void SubpatchModule::menu_remove() { - App::instance().engine()->destroy(m_patch->path()); + App::instance().engine()->destroy(_patch->path()); } } // namespace Ingenuity |