----------------------------------------------------------------------------
| 6454 | } |
| 6455 | //---------------------------------------------------------------------------- |
| 6456 | void QAsmView::drawText( QPainter *painter, int x, int y, const char *txt ) |
| 6457 | { |
| 6458 | int i=0; |
| 6459 | char c[2]; |
| 6460 | |
| 6461 | c[0] = 0; c[1] = 0; |
| 6462 | |
| 6463 | while ( txt[i] != 0 ) |
| 6464 | { |
| 6465 | c[0] = txt[i]; |
| 6466 | painter->drawText( x, y, tr(c) ); |
| 6467 | i++; x += pxCharWidth; |
| 6468 | } |
| 6469 | } |
| 6470 | //---------------------------------------------------------------------------- |
| 6471 | void QAsmView::drawAsmLine( QPainter *painter, int x, int y, const char *txt ) |
| 6472 | { |
no test coverage detected