| 697 | } |
| 698 | |
| 699 | void CLoopReleaseBar::DrawTagPoint(CDC &dc, int index, LPCWSTR str, COLORREF col) { |
| 700 | if (index > -1) { |
| 701 | CFont *pOldFont = dc.SelectObject(&font_); |
| 702 | |
| 703 | int x = graph_parent_.GetItemWidth() * index + CGraphEditor::GRAPH_LEFT + 1; |
| 704 | GradientBar(dc, x + 1, region_.top, region_.right - x, region_.Height(), DIM(col, 2. / 3.), DIM(col, 1. / 6.)); // // // |
| 705 | dc.FillSolidRect(x, region_.top, 1, region_.bottom, col); |
| 706 | |
| 707 | dc.SetTextColor(WHITE); |
| 708 | dc.SetBkMode(TRANSPARENT); |
| 709 | dc.SetTextAlign(TA_LEFT); |
| 710 | dc.TextOutW(x + 4, region_.top, str); |
| 711 | |
| 712 | dc.SelectObject(pOldFont); |
| 713 | } |
| 714 | } |
| 715 | |
| 716 | void CLoopReleaseBar::DoOnPaint(CDC &dc) { |
| 717 | const COLORREF COL_BOTTOM = GREY(64); |
nothing calls this directly
no test coverage detected