void ofxTextBlock::setText(string _inputText){ rawText = _inputText; _loadWords(); wrapTextForceLines(1); }
void TextBlock::setText(string _inputText){ rawText = _inputText; // Process words extractint width in order to arrange the lines in the specify format // _loadWords(); _wrapTextX(width); }
void ofxTextObject::setString(char *iString) { rawText = iString; //PEND does string clean itself up when you use the = operator to reassign it? //replace any Named Entities (i.e. &) within the [0,255] range with their appropriate unicode characters ofxSosoTrueTypeFont::replaceNamedEntities(rawText); _loadWords(); wrapTextX(columnWidth); renderDirty = true; }