summaryrefslogtreecommitdiff
path: root/nextus/src/vectorPlugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'nextus/src/vectorPlugin.h')
-rw-r--r--nextus/src/vectorPlugin.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/nextus/src/vectorPlugin.h b/nextus/src/vectorPlugin.h
index 55027c9..00e38aa 100644
--- a/nextus/src/vectorPlugin.h
+++ b/nextus/src/vectorPlugin.h
@@ -189,15 +189,16 @@ class textPanel: public vectorPanel{
panel.add(beat_duration.set("duration factor", 0.5f, 0.0f, 1.0f));
panel.add(text_speed.set("speed", 5.0f, 0.0f, 25.0f));
panel.add(text_scale.set("scale", 0.1f, 0.0f, 0.5f));
- panel.add(enable_anim.set("animate", false));
+ panel.add(enable_anim.set("animate", true));
panel.add(anim_rev.set("reverse", false));
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));
+ text.loadFont("fonts/EMSOsmotron.svg");
}
void update(){
text.update();
}
- vector<colourPolyline> getLines(){
+ vector<colourPolyline> getLines(){
vector<colourPolyline> shapes=text.getOutlines(text_scale,STYLE_OVERLAPPING,0,0,enable_anim,anim_rev,vert_spread,use_beat,beat_duration);
//ofLog()<<"text returned "<<shapes.size()<<" lines";
return shapes;