diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-17 03:52:48 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-09-17 03:52:48 +0200 |
commit | ff75ed1b6509c56479b75bc470de5737658cf61a (patch) | |
tree | b25f7731ca9f579603f5191743fa110a5187e247 /chuck/OSCGraphicsVideo.ck | |
parent | abfc56b8c4fc768593c7afdd1961aab35c0468c4 (diff) | |
download | osc-graphics-ff75ed1b6509c56479b75bc470de5737658cf61a.tar.gz |
added methods for changing image/video file/URL
Diffstat (limited to 'chuck/OSCGraphicsVideo.ck')
-rw-r--r-- | chuck/OSCGraphicsVideo.ck | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chuck/OSCGraphicsVideo.ck b/chuck/OSCGraphicsVideo.ck index def61f4..e289573 100644 --- a/chuck/OSCGraphicsVideo.ck +++ b/chuck/OSCGraphicsVideo.ck @@ -1,2 +1,10 @@ public class OSCGraphicsVideo extends OSCGraphicsLayer { + fun string + url(string url) + { + osc_send.startMsg("/layer/"+name+"/url", "s"); + url => osc_send.addString; + + return url; + } } |