MCPcopy Create free account
hub / github.com/WinMerge/winmerge / IsColorDark

Function IsColorDark

Src/LocationView.cpp:159–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159static bool IsColorDark(COLORREF clrBackground)
160{
161 return !(GetRValue(clrBackground) >= 0x80 || GetGValue(clrBackground) >= 0x80 || GetBValue(clrBackground) >= 0x80);
162
163}
164
165COLORREF CLocationView::GetBackgroundColor()
166{

Callers 2

GetBackgroundColorMethod · 0.85
DrawVisibleAreaRectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected