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

Function PrintText

source/Debugger/Debugger_Display.cpp:831–849  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

829
830//===========================================================================
831int PrintText ( const char * pText, RECT & rRect )
832{
833#if _DEBUG
834 if (!pText)
835 {
836 GetFrame().FrameMessageBox("pText = NULL!", "DrawText()", MB_OK);
837 return 0;
838 }
839#endif
840
841 int nLen = (int)strlen( pText );
842
843#if !DEBUG_FONT_NO_BACKGROUND_TEXT
844 FillBackground(rRect.left, rRect.top, rRect.right, rRect.bottom);
845#endif
846
847 DebuggerPrint( rRect.left, rRect.top, pText );
848 return nLen;
849}
850
851//===========================================================================
852void PrintTextColor ( const conchar_t *pText, RECT & rRect )

Callers 15

PrintTextCursorXFunction · 0.85
PrintTextCursorYFunction · 0.85
DrawBreakpointsFunction · 0.85
DrawConsoleCursorFunction · 0.85
DrawConsoleInputFunction · 0.85
DrawDisassemblyLineFunction · 0.85
DrawFlagsFunction · 0.85
DrawRegisterFunction · 0.85
DrawSourceLineFunction · 0.85
DrawTargetsFunction · 0.85
DrawZeroPagePointersFunction · 0.85
DrawIRQInfoFunction · 0.85

Calls 3

FillBackgroundFunction · 0.85
DebuggerPrintFunction · 0.85
FrameMessageBoxMethod · 0.80

Tested by

no test coverage detected