void LineRenderer::refresh_tokens( TextLine & line ) { if ( AudicleWindow::main()->m_syntax_query->parseLine ( line.str(), tokenized ) ) { //if ( fakeTokenizer( line.str() , tokenized ) ) { line.tokens() = tokenized; } line.dirty() = false; }
void ShellContent::drawPromptLine( TextLine &s ) { glLineWidth ( _fontWeight * 1.0 ); bufferFont->draw_sub( _prompt + "% " ); // we lose kerning from one to the next, but otherwise this is pretty legal. glLineWidth ( _fontWeight * 2.0 ); bufferFont->draw_sub( s.str() ); }
void LineRenderer::draw( TextLine &line ) { //easy! font->draw(line.str()); }