MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / DebuggerPrint

Function DebuggerPrint

source/Debugger/Debugger_Display.cpp:753–774  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

751
752//===========================================================================
753void DebuggerPrint ( int x, int y, const char *pText )
754{
755 const int nLeft = x;
756
757 char c;
758 const char *p = pText;
759
760 while ((c = *p))
761 {
762 if (c == '\n')
763 {
764 x = nLeft;
765 y += CONSOLE_FONT_HEIGHT;
766 p++;
767 continue;
768 }
769 c &= 0x7F;
770 PrintGlyph( x, y, c );
771 x += CONSOLE_FONT_WIDTH;
772 p++;
773 }
774}
775
776//===========================================================================
777void DebuggerPrintColor( int x, int y, const conchar_t * pText )

Callers 1

PrintTextFunction · 0.85

Calls 1

PrintGlyphFunction · 0.85

Tested by

no test coverage detected