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

Function _DrawSoftSwitchHighlight

source/Debugger/Debugger_Display.cpp:2573–2586  ·  view source on GitHub ↗

2.9.0.3 ===========================================================================

Source from the content-addressed store, hash-verified

2571// 2.9.0.3
2572//===========================================================================
2573void _DrawSoftSwitchHighlight( RECT & temp, bool bSet, const char *sOn, const char *sOff, int bg = BG_INFO )
2574{
2575// DebuggerSetColorBG( DebuggerGetColor( bg ) ); // BG_INFO
2576
2577 ColorizeFlags( bSet, bg );
2578 PrintTextCursorX( sOn, temp );
2579
2580 DebuggerSetColorBG( DebuggerGetColor( bg ) ); // BG_INFO
2581 DebuggerSetColorFG( DebuggerGetColor( FG_DISASM_OPERATOR ) );
2582 PrintTextCursorX( "/", temp );
2583
2584 ColorizeFlags( !bSet, bg );
2585 PrintTextCursorX( sOff, temp );
2586}
2587
2588
2589// 2.9.0.8

Callers 3

_DrawSoftSwitchFunction · 0.85

Calls 5

ColorizeFlagsFunction · 0.85
PrintTextCursorXFunction · 0.85
DebuggerSetColorBGFunction · 0.85
DebuggerGetColorFunction · 0.85
DebuggerSetColorFGFunction · 0.85

Tested by

no test coverage detected