summaryrefslogtreecommitdiff
path: root/plugins/Clist_blind
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-06 20:59:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-06 20:59:25 +0300
commit205963dfbb2297f5fab4adeec027342394329d2d (patch)
treebbf0df9820b79995c1b631bee47f8294c8ab4a83 /plugins/Clist_blind
parentda9aa1870502d88752c5482e3eb2d2548dd64984 (diff)
CLIST_INTERFACE::pfnGetGroupCountsText => Clist_GetGroupCountsText
CLIST_INTERFACE::pfnEnsureVisible => Clist_EnsureVisible
Diffstat (limited to 'plugins/Clist_blind')
-rw-r--r--plugins/Clist_blind/src/clcpaint.cpp2
-rw-r--r--plugins/Clist_blind/src/init.cpp4
2 files changed, 3 insertions, 3 deletions
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%",