summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
committerDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
commit9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2 (patch)
tree089c1366a567dfbf88c0473288236b276ef24bf6 /src/gui/NodeModule.cpp
parent987710474b824cb92d83ff6fa7a090f50e10756f (diff)
downloadingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.gz
ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.bz2
ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.zip
Squeeze blank lines and delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r--src/gui/NodeModule.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index f85ad2f4..5c90704f 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -44,7 +44,6 @@ using namespace Raul;
namespace Ingen {
namespace GUI {
-
NodeModule::NodeModule(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<NodeModel> node)
: FlowCanvas::Module(canvas, node->path().symbol(), 0, 0, true, canvas->show_port_names())
, _node(node)
@@ -68,14 +67,12 @@ NodeModule::NodeModule(boost::shared_ptr<PatchCanvas> canvas, SharedPtr<NodeMode
}
}
-
NodeModule::~NodeModule()
{
NodeControlWindow* win = App::instance().window_factory()->control_window(_node);
delete win; // Will be removed from window factory via signal
}
-
void
NodeModule::create_menu()
{
@@ -89,7 +86,6 @@ NodeModule::create_menu()
set_menu(_menu);
}
-
boost::shared_ptr<NodeModule>
NodeModule::create(boost::shared_ptr<PatchCanvas> canvas,
SharedPtr<NodeModel> node,
@@ -121,7 +117,6 @@ NodeModule::create(boost::shared_ptr<PatchCanvas> canvas,
return ret;
}
-
void
NodeModule::show_human_names(bool b)
{
@@ -158,7 +153,6 @@ NodeModule::show_human_names(bool b)
resize();
}
-
void
NodeModule::value_changed(uint32_t index, const Atom& value)
{
@@ -180,7 +174,6 @@ NodeModule::value_changed(uint32_t index, const Atom& value)
}
}
-
void
NodeModule::plugin_changed()
{
@@ -188,7 +181,6 @@ NodeModule::plugin_changed()
PtrCast<Ingen::GUI::Port>(*p)->update_metadata();
}
-
void
NodeModule::embed_gui(bool embed)
{
@@ -249,7 +241,6 @@ NodeModule::embed_gui(bool embed)
resize();
}
-
void
NodeModule::rename()
{
@@ -259,7 +250,6 @@ NodeModule::rename()
}
}
-
void
NodeModule::add_port(SharedPtr<PortModel> port, bool resize_to_fit)
{
@@ -273,7 +263,6 @@ NodeModule::add_port(SharedPtr<PortModel> port, bool resize_to_fit)
resize();
}
-
boost::shared_ptr<Port>
NodeModule::port(boost::shared_ptr<PortModel> model)
{
@@ -285,7 +274,6 @@ NodeModule::port(boost::shared_ptr<PortModel> model)
return boost::shared_ptr<Port>();
}
-
void
NodeModule::remove_port(SharedPtr<PortModel> model)
{
@@ -298,7 +286,6 @@ NodeModule::remove_port(SharedPtr<PortModel> model)
}
}
-
bool
NodeModule::popup_gui()
{
@@ -338,7 +325,6 @@ NodeModule::popup_gui()
return false;
}
-
void
NodeModule::on_gui_window_close()
{
@@ -348,7 +334,6 @@ NodeModule::on_gui_window_close()
_gui_widget = NULL;
}
-
void
NodeModule::set_control_values()
{
@@ -361,14 +346,12 @@ NodeModule::set_control_values()
}
}
-
void
NodeModule::show_control_window()
{
App::instance().window_factory()->present_controls(_node);
}
-
void
NodeModule::on_double_click(GdkEventButton* ev)
{
@@ -376,7 +359,6 @@ NodeModule::on_double_click(GdkEventButton* ev)
show_control_window();
}
-
void
NodeModule::store_location()
{
@@ -401,7 +383,6 @@ NodeModule::store_location()
}
}
-
void
NodeModule::property_changed(const URI& key, const Atom& value)
{
@@ -435,7 +416,6 @@ NodeModule::property_changed(const URI& key, const Atom& value)
}
}
-
void
NodeModule::set_selected(bool b)
{
@@ -460,6 +440,5 @@ NodeModule::set_selected(bool b)
}
}
-
} // namespace GUI
} // namespace Ingen