From cfd0496ac0ee9120c4bcb6a19ee6dcb2071ebc85 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 19 Apr 2023 20:16:23 +0100 Subject: 2 key texts --- nextus/src/vectorPlugin.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'nextus/src/vectorPlugin.h') diff --git a/nextus/src/vectorPlugin.h b/nextus/src/vectorPlugin.h index ff13b65..55027c9 100644 --- a/nextus/src/vectorPlugin.h +++ b/nextus/src/vectorPlugin.h @@ -194,10 +194,15 @@ class textPanel: public vectorPanel{ panel.add(vert_pos.set("vert_pos", 0.0f, -0.3f, 0.3f)); panel.add(vert_spread.set("vert_spread", 0.0f, -0.3f, 0.3f)); } + void update(){ + text.update(); + } vector getLines(){ - return text.getOutlines(text_scale,STYLE_OVERLAPPING,x,y+(ofGetHeight()*vert_pos),enable_anim,anim_rev,vert_spread,use_beat,beat_duration); + vector shapes=text.getOutlines(text_scale,STYLE_OVERLAPPING,0,0,enable_anim,anim_rev,vert_spread,use_beat,beat_duration); + //ofLog()<<"text returned "<