Add (default) background to ColorizeFlags()

This commit is contained in:
michaelangel007 2017-04-27 09:29:22 -07:00
parent afa681ea9e
commit eb0890add4

View File

@ -1027,7 +1027,7 @@ char ColorizeSpecialChar( char * sText, BYTE nData, const MemoryView_e iView,
return nChar; return nChar;
} }
void ColorizeFlags( bool bSet ) void ColorizeFlags( bool bSet, int bg_default = BG_INFO )
{ {
if (bSet) if (bSet)
{ {
@ -1036,7 +1036,7 @@ void ColorizeFlags( bool bSet )
} }
else else
{ {
DebuggerSetColorBG( DebuggerGetColor( BG_INFO )); DebuggerSetColorBG( DebuggerGetColor( bg_default ));
DebuggerSetColorFG( DebuggerGetColor( FG_INFO_TITLE )); DebuggerSetColorFG( DebuggerGetColor( FG_INFO_TITLE ));
} }
} }