diff options
author | Len Ovens <len@ovenwerks.net> | 2017-03-14 18:47:41 -0700 |
---|---|---|
committer | Len Ovens <len@ovenwerks.net> | 2017-03-14 18:47:41 -0700 |
commit | cd4462323f6820fee53e26168cb3e8b46d9edd0b (patch) | |
tree | 451c742aacd67b24efe933597e19564c29bbefcd | |
parent | 35407c7fe88ae5f55c73eace540c6ed1de37856c (diff) |
OSC: add new /access_action/group/action f 1 for float only controllers
-rw-r--r-- | libs/surfaces/osc/osc.cc | 8 | ||||
-rw-r--r-- | libs/surfaces/osc/osc_gui.cc | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc index ada98df159..20bf44997f 100644 --- a/libs/surfaces/osc/osc.cc +++ b/libs/surfaces/osc/osc.cc @@ -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"; diff --git a/libs/surfaces/osc/osc_gui.cc b/libs/surfaces/osc/osc_gui.cc index 183bd910c7..a3b73858bb 100644 --- a/libs/surfaces/osc/osc_gui.cc +++ b/libs/surfaces/osc/osc_gui.cc @@ -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); |