| 290 | } |
| 291 | |
| 292 | void MdDrawForwardBackground(DrawingContext* context, const Rect& rect) |
| 293 | { |
| 294 | RECT rc = RectToNative(rect); |
| 295 | |
| 296 | rc.right = rc.left - ScaleByDPI(3); |
| 297 | rc.left = rc.right - ScaleByDPI(3); |
| 298 | |
| 299 | if (context->m_bInvertTextColor) { |
| 300 | COLORREF old = ri::SetDCBrushColor(context->m_hdc, context->InvertIfNeeded(GetSysColor(COLOR_GRAYTEXT))); |
| 301 | FillRect(context->m_hdc, &rc, ri::GetDCBrush()); |
| 302 | ri::SetDCBrushColor(context->m_hdc, old); |
| 303 | } |
| 304 | else { |
| 305 | FillRect(context->m_hdc, &rc, ri::GetSysColorBrush(COLOR_GRAYTEXT)); |
| 306 | } |
| 307 | } |
| 308 | |
| 309 | int MdGetQuoteIndentSize() |
| 310 | { |
no test coverage detected