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

Function DebuggerGetColor

source/Debugger/Debugger_Color.cpp:163–173  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

161
162//===========================================================================
163COLORREF DebuggerGetColor( int iColor )
164{
165 COLORREF nColor = RGB(0,255,255); // 0xFFFF00; // Hot Pink! -- so we notice errors. Not that there is anything wrong with pink...
166
167 if ((g_iColorScheme < NUM_COLOR_SCHEMES) && (iColor < NUM_DEBUG_COLORS))
168 {
169 nColor = g_aColors[ g_iColorScheme ][ iColor ];
170 }
171
172 return nColor;
173}
174
175
176bool DebuggerSetColor( const int iScheme, const int iColor, const COLORREF nColor )

Callers 15

SetupColorsHiLoBitsFunction · 0.85
ColorizeFlagsFunction · 0.85
DrawBreakpointsFunction · 0.85
DrawConsoleCursorFunction · 0.85
DrawConsoleInputFunction · 0.85
DrawDisassemblyLineFunction · 0.85
DrawFlagsFunction · 0.85
DrawByte_SY6522Function · 0.85
DrawByte_AY8913Function · 0.85
DrawLine_MB_SUBUNITFunction · 0.85
DrawLine_AY8913_PAIRFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected