From 192b6d22d5c523aebc7210b21846aeb4b74b2307 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Wed, 19 Apr 2023 18:43:02 +0100 Subject: adding text anim --- 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 d772b0b..ff13b65 100644 --- a/nextus/src/vectorPlugin.h +++ b/nextus/src/vectorPlugin.h @@ -195,9 +195,14 @@ class textPanel: public vectorPanel{ panel.add(vert_spread.set("vert_spread", 0.0f, -0.3f, 0.3f)); } vector getLines(){ - vector output; - return output; + return text.getOutlines(text_scale,STYLE_OVERLAPPING,x,y+(ofGetHeight()*vert_pos),enable_anim,anim_rev,vert_spread,use_beat,beat_duration); } + void loadPext(const string & f){ + text.load(f); + } + void loadPalette(const string & f){ + text.loadPalette(f); + } protected: ofParameter use_beat; ofParameter beat_duration; -- cgit v1.2.3