//-------------------------------------------------------------- void testApp::makePhrase(string _p, int _v ){ Phrase temp; pos.set( ofRandom(10, ofGetWidth() - font.stringWidth(_p) ) ,ofRandom(font.getLineHeight(), ofGetHeight() - font.getLineHeight() )); ofColor c = color.getColor( ofRandom(color.width), 50); temp.setup(_p, _v, &font, pos, &bg, c); phrases.push_back(temp); phrase = ""; }