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

Function DrawWindowBackground_Main

source/Debugger/Debugger_Display.cpp:3901–3916  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

3899
3900//===========================================================================
3901void DrawWindowBackground_Main( int g_iWindowThis )
3902{
3903 RECT rect;
3904 rect.left = 0;
3905 rect.top = 0;
3906 rect.right = DISPLAY_DISASM_RIGHT;
3907 int nTop = GetConsoleTopPixels( g_nConsoleDisplayLines - 1 );
3908 rect.bottom = nTop;
3909
3910 // TODO/FIXME: COLOR_BG_CODE -> g_iWindowThis, once all tab backgrounds are listed first in g_aColors !
3911 DebuggerSetColorBG( DebuggerGetColor( BG_DISASM_1 )); // COLOR_BG_CODE
3912
3913#if !DEBUG_FONT_NO_BACKGROUND_FILL_MAIN
3914 FillRect( GetDebuggerMemDC(), &rect, g_hConsoleBrushBG );
3915#endif
3916}
3917
3918//===========================================================================
3919void DrawWindowBackground_Info( int g_iWindowThis )

Callers 1

UpdateDisplayFunction · 0.85

Calls 4

GetConsoleTopPixelsFunction · 0.85
DebuggerSetColorBGFunction · 0.85
DebuggerGetColorFunction · 0.85
GetDebuggerMemDCFunction · 0.85

Tested by

no test coverage detected