MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / DrawBookmark

Method DrawBookmark

DebugView++/LogView.cpp:785–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

783}
784
785void 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
793ItemData CLogView::GetItemData(int iItem) const
794{

Callers

nothing calls this directly

Calls 1

DrawIconExMethod · 0.80

Tested by

no test coverage detected