aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-02-11 02:33:45 +0000
committerDavid Robillard <d@drobilla.net>2013-02-11 02:33:45 +0000
commit74feb92b4caa5e750023dadfb703c8d1bc12ce32 (patch)
tree2c212f9d49499081bea30e0c7599304b82ea50cd /src/jalv.c
parenta7cf457dff273d032059a481978e451451178241 (diff)
downloadjalv-74feb92b4caa5e750023dadfb703c8d1bc12ce32.tar.gz
jalv-74feb92b4caa5e750023dadfb703c8d1bc12ce32.tar.bz2
jalv-74feb92b4caa5e750023dadfb703c8d1bc12ce32.zip
Group controls under headings if port group information is available.
Add spinbuttons for precisely setting control values. Use a more efficient dense layout for controls. git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5054 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/jalv.c')
-rw-r--r--src/jalv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jalv.c b/src/jalv.c
index e258355..25676c2 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -51,6 +51,7 @@
#include "lv2/lv2plug.in/ns/ext/options/options.h"
#include "lv2/lv2plug.in/ns/ext/parameters/parameters.h"
#include "lv2/lv2plug.in/ns/ext/patch/patch.h"
+#include "lv2/lv2plug.in/ns/ext/port-groups/port-groups.h"
#include "lv2/lv2plug.in/ns/ext/presets/presets.h"
#include "lv2/lv2plug.in/ns/ext/state/state.h"
#include "lv2/lv2plug.in/ns/ext/time/time.h"
@@ -877,7 +878,9 @@ main(int argc, char** argv)
jalv.nodes.lv2_OutputPort = lilv_new_uri(world, LV2_CORE__OutputPort);
jalv.nodes.lv2_connectionOptional = lilv_new_uri(world, LV2_CORE__connectionOptional);
jalv.nodes.lv2_control = lilv_new_uri(world, LV2_CORE__control);
+ jalv.nodes.lv2_name = lilv_new_uri(world, LV2_CORE__name);
jalv.nodes.midi_MidiEvent = lilv_new_uri(world, LV2_MIDI__MidiEvent);
+ jalv.nodes.pg_group = lilv_new_uri(world, LV2_PORT_GROUPS__group);
jalv.nodes.pset_Preset = lilv_new_uri(world, LV2_PRESETS__Preset);
jalv.nodes.rdfs_label = lilv_new_uri(world, LILV_NS_RDFS "label");
jalv.nodes.work_interface = lilv_new_uri(world, LV2_WORKER__interface);