MCPcopy Create free account
hub / github.com/TASEmulators/fceux / drawText

Method drawText

src/drivers/Qt/ConsoleDebugger.cpp:6456–6469  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

6454}
6455//----------------------------------------------------------------------------
6456void 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//----------------------------------------------------------------------------
6471void QAsmView::drawAsmLine( QPainter *painter, int x, int y, const char *txt )
6472{

Callers 4

drawAsmLineMethod · 0.45
drawLabelLineMethod · 0.45
drawCommentLineMethod · 0.45
DebuggerTabWidgetMethod · 0.45

Calls 1

trFunction · 0.50

Tested by

no test coverage detected