diff options
author | David Robillard <d@drobilla.net> | 2007-07-03 04:42:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-03 04:42:41 +0000 |
commit | 0a4dfb16428463d10d12a821afaed866a701550d (patch) | |
tree | 7505ff69fa98bea30fd16b8c90a02e77aa1f7b54 /src/libs/gui | |
parent | 06548d893646764cbda3bef2f440b953b1716ae5 (diff) | |
download | ingen-0a4dfb16428463d10d12a821afaed866a701550d.tar.gz ingen-0a4dfb16428463d10d12a821afaed866a701550d.tar.bz2 ingen-0a4dfb16428463d10d12a821afaed866a701550d.zip |
Fix crash on MIDI controller receiving.
Fixed various plugin loading related bugs.
Fix strange liblo bug.. maybe..
Little bit of preliminary LV2 GUI stuff.
git-svn-id: http://svn.drobilla.net/lad/ingen@561 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui')
-rw-r--r-- | src/libs/gui/NodeModule.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libs/gui/NodeModule.cpp b/src/libs/gui/NodeModule.cpp index 188e3a42..61c937a8 100644 --- a/src/libs/gui/NodeModule.cpp +++ b/src/libs/gui/NodeModule.cpp @@ -110,6 +110,14 @@ NodeModule::remove_port(SharedPtr<PortModel> port) void NodeModule::show_control_window() { + if (_node->plugin()->type() == PluginModel::LV2) { + GtkWidget* gui = (GtkWidget*)_node->plugin()->gui(); + if (gui) { + cerr << "GUI!\n"; + } else { + cerr << "No gui :(\n"; + } + } App::instance().window_factory()->present_controls(_node); } |