From 205963dfbb2297f5fab4adeec027342394329d2d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 6 Apr 2018 20:59:25 +0300 Subject: CLIST_INTERFACE::pfnGetGroupCountsText => Clist_GetGroupCountsText CLIST_INTERFACE::pfnEnsureVisible => Clist_EnsureVisible --- plugins/Clist_blind/src/clcpaint.cpp | 2 +- plugins/Clist_blind/src/init.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Clist_blind/src') diff --git a/plugins/Clist_blind/src/clcpaint.cpp b/plugins/Clist_blind/src/clcpaint.cpp index 26bc796c49..56bf6c6f66 100644 --- a/plugins/Clist_blind/src/clcpaint.cpp +++ b/plugins/Clist_blind/src/clcpaint.cpp @@ -307,7 +307,7 @@ void PaintClc(HWND hwnd, struct ClcData *dat, HDC hdc, RECT * rcPaint) GetTextExtentPoint32(hdcMem, cc->szText, (int)mir_wstrlen(cc->szText), &textSize); width = textSize.cx; if (cc->type == CLCIT_GROUP) { - szCounts = pcli->pfnGetGroupCountsText(dat, cc); + szCounts = Clist_GetGroupCountsText(dat, cc); if (szCounts[0]) { GetTextExtentPoint32(hdcMem, L" ", 1, &spaceSize); ChangeToFont(hdcMem, dat, FONTID_GROUPCOUNTS, &fontHeight); diff --git a/plugins/Clist_blind/src/init.cpp b/plugins/Clist_blind/src/init.cpp index b5800648a9..4adbb48c05 100644 --- a/plugins/Clist_blind/src/init.cpp +++ b/plugins/Clist_blind/src/init.cpp @@ -396,7 +396,7 @@ LRESULT CALLBACK ContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, L KillTimer(hwnd, TIMERID_RENAME); dat->szQuickSearch[0] = 0; pcli->pfnInvalidateRect(hwnd, nullptr, FALSE); - pcli->pfnEnsureVisible(hwnd, (ClcData*)dat, dat->selection, 0); + Clist_EnsureVisible(hwnd, (ClcData*)dat, dat->selection, 0); UpdateWindow(hwnd); break; @@ -528,7 +528,7 @@ void RebuildEntireListInternal(HWND hwnd, ClcData *tmp_dat, BOOL call_orig) switch (item->type) { case CLCIT_GROUP: { - wchar_t *szCounts = pcli->pfnGetGroupCountsText(dat, item); + wchar_t *szCounts = Clist_GetGroupCountsText(dat, item); const wchar_t *t[] = { L"%name%", L"%count%", -- cgit v1.2.3