summaryrefslogtreecommitdiffstats
path: root/src/gui/NodeModule.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-01 22:30:55 +0000
committerDavid Robillard <d@drobilla.net>2012-05-01 22:30:55 +0000
commit1c736a348c59d98e4022fb02b49a8b4c93baa3d2 (patch)
tree52ff74942e86f3916efabb96ffe36616db94305d /src/gui/NodeModule.cpp
parentd76ab24976e452d02e114182b3a563eeb11e8785 (diff)
downloadingen-1c736a348c59d98e4022fb02b49a8b4c93baa3d2.tar.gz
ingen-1c736a348c59d98e4022fb02b49a8b4c93baa3d2.tar.bz2
ingen-1c736a348c59d98e4022fb02b49a8b4c93baa3d2.zip
Remove half baked control window stuff. The canvas is better anyway.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4309 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r--src/gui/NodeModule.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index 1336c9e9..510d63bf 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -25,7 +25,6 @@
#include "ingen/client/PluginUI.hpp"
#include "App.hpp"
#include "WidgetFactory.hpp"
-#include "NodeControlWindow.hpp"
#include "NodeModule.hpp"
#include "PatchCanvas.hpp"
#include "PatchWindow.hpp"
@@ -81,9 +80,6 @@ NodeModule::~NodeModule()
{
delete _gui_widget;
delete _gui_window;
-
- NodeControlWindow* win = app().window_factory()->control_window(_node);
- delete win; // Will be removed from window factory via signal
}
bool
@@ -343,18 +339,10 @@ NodeModule::set_control_values()
}
}
-void
-NodeModule::show_control_window()
-{
- app().window_factory()->present_controls(_node);
-}
-
bool
NodeModule::on_double_click(GdkEventButton* event)
{
- if (!popup_gui()) {
- show_control_window();
- }
+ popup_gui();
return true;
}