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

Function ColorizeFlags

source/Debugger/Debugger_Display.cpp:1006–1018  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1004}
1005
1006void ColorizeFlags( bool bSet, int bg_default = BG_INFO, int fg_default = FG_INFO_TITLE )
1007{
1008 if (bSet)
1009 {
1010 DebuggerSetColorBG( DebuggerGetColor( BG_INFO_INVERSE ));
1011 DebuggerSetColorFG( DebuggerGetColor( FG_INFO_INVERSE ));
1012 }
1013 else
1014 {
1015 DebuggerSetColorBG( DebuggerGetColor( bg_default ));
1016 DebuggerSetColorFG( DebuggerGetColor( fg_default ));
1017 }
1018}
1019
1020
1021// Main Windows ___________________________________________________________________________________

Callers 2

_DrawSoftSwitchHighlightFunction · 0.85
_DrawTriStateSoftSwitchFunction · 0.85

Calls 3

DebuggerSetColorBGFunction · 0.85
DebuggerGetColorFunction · 0.85
DebuggerSetColorFGFunction · 0.85

Tested by

no test coverage detected