| 783 | } |
| 784 | |
| 785 | void CLogView::DrawBookmark(CDCHandle dc, int iItem) const |
| 786 | { |
| 787 | if (!m_logLines[iItem].bookmark) |
| 788 | return; |
| 789 | RECT rect = GetSubItemRect(iItem, 0, LVIR_BOUNDS); |
| 790 | dc.DrawIconEx(rect.left /* + GetHeader().GetBitmapMargin() */, rect.top + (rect.bottom - rect.top - 16)/2, m_hBookmarkIcon.get(), 0, 0, 0, nullptr, DI_NORMAL | DI_COMPAT); |
| 791 | } |
| 792 | |
| 793 | ItemData CLogView::GetItemData(int iItem) const |
| 794 | { |
nothing calls this directly
no test coverage detected