diff --git a/classes/TouchOSC.sc b/classes/TouchOSC.sc index 65f5ec1..eb6a6cd 100644 --- a/classes/TouchOSC.sc +++ b/classes/TouchOSC.sc @@ -17,6 +17,13 @@ TouchOSC { net.sendMsg(url, *oargs) } + label { | url, default | + var ctrl = TouchOSCLabel(this, url, default); + ctrl.init(); + controls.put(url, ctrl); + ^ctrl; + } + button { | url, default, apply | var ctrl = TouchOSCControl(this, url, apply, default); ctrl.init(); diff --git a/classes/TouchOSCControl.sc b/classes/TouchOSCControl.sc index d8395ac..753ee48 100644 --- a/classes/TouchOSCControl.sc +++ b/classes/TouchOSCControl.sc @@ -85,6 +85,28 @@ TouchOSCControlXY : TouchOSCControl { } +TouchOSCLabel { + var