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

Function PrintTextCursorX

source/Debugger/Debugger_Display.cpp:888–898  ·  view source on GitHub ↗

Updates the horizontal cursor ===========================================================================

Source from the content-addressed store, hash-verified

886// Updates the horizontal cursor
887//===========================================================================
888int PrintTextCursorX ( const char * pText, RECT & rRect )
889{
890 int nChars = 0;
891 if (pText)
892 {
893 nChars = PrintText( pText, rRect );
894 int nFontWidth = g_aFontConfig[ FONT_DISASM_DEFAULT ]._nFontWidthAvg;
895 rRect.left += (nFontWidth * nChars);
896 }
897 return nChars;
898}
899
900//===========================================================================
901int PrintTextCursorY ( const char * pText, RECT & rRect )

Callers 15

DrawBreakpointsFunction · 0.85
DrawDisassemblyLineFunction · 0.85
DrawLine_MB_SUBUNITFunction · 0.85
DrawLine_AY8913_PAIRFunction · 0.85
DrawMemoryFunction · 0.85
DrawRegisterFunction · 0.85
_DrawSoftSwitchHighlightFunction · 0.85
_DrawSoftSwitchAddressFunction · 0.85
_DrawSoftSwitchFunction · 0.85
_DrawTriStateSoftSwitchFunction · 0.85

Calls 1

PrintTextFunction · 0.85

Tested by

no test coverage detected