OSC: add new /access_action/group/action f 1 for float only controllers
authorLen Ovens <len@ovenwerks.net>
Wed, 15 Mar 2017 01:47:41 +0000 (18:47 -0700)
committerLen Ovens <len@ovenwerks.net>
Wed, 15 Mar 2017 01:47:41 +0000 (18:47 -0700)
libs/surfaces/osc/osc.cc
libs/surfaces/osc/osc_gui.cc

index ada98df159ed62d3a4c5252e7d3d8e86469a9577..20bf44997f99157f482eefe03e9249405fb39fd6 100644 (file)
@@ -867,6 +867,14 @@ OSC::catchall (const char *path, const char* types, lo_arg **argv, int argc, lo_
 
                ret = 0;
        } else
+       if (!strncmp (path, "/access_action/", 15)) {
+               std::string action_path = path;
+
+               access_action (action_path.substr(15));
+               std::cout << "access_action path = " << action_path.substr(15) << "\n";
+
+               ret = 0;
+       } else
        if (strcmp (path, "/strip/listen") == 0) {
 
                cerr << "set up listener\n";
index 183bd910c7f317893a843c9cbfcfb645c44f24dc..a3b73858bb73d1f194848001a4fe198195c9b3c0 100644 (file)
@@ -88,7 +88,7 @@ OSC_GUI::OSC_GUI (OSC& p)
        ++n;
 
        // port entry box
-       label = manage (new Gtk::Label(_("Manual Port:")));
+       label = manage (new Gtk::Label(_("Reply Manual Port:")));
        label->set_alignment(1, .5);
        table->attach (*label, 0, 1, n, n+1, AttachOptions(FILL|EXPAND), AttachOptions(0));
        table->attach (port_entry, 1, 2, n, n+1, AttachOptions(FILL|EXPAND), AttachOptions(0), 0, 0);