summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-06 18:42:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-06 18:42:57 +0300
commitf405614ff4d91b0374759dc2cca5814c3d064a57 (patch)
tree8b98fb2e2bebd352789059f377c458bc8b46ab69 /plugins/Clist_modern/src
parentaa6e7ad7b8fd0fa24faf08eb44e5432e66fe890f (diff)
CLIST_INTERFACE::pfnInvalidateItem => Clist_InvalidateItem
Diffstat (limited to 'plugins/Clist_modern/src')
-rw-r--r--plugins/Clist_modern/src/modern_clc.cpp8
-rw-r--r--plugins/Clist_modern/src/modern_clcutils.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp
index 9ac6cb147c..33348b0a71 100644
--- a/plugins/Clist_modern/src/modern_clc.cpp
+++ b/plugins/Clist_modern/src/modern_clc.cpp
@@ -679,7 +679,7 @@ static LRESULT clcOnLButtonDown(ClcData *dat, HWND hwnd, UINT, WPARAM, LPARAM lP
int io = dat->iHotTrack;
dat->iHotTrack = 0;
if (dat->exStyle & CLS_EX_TRACKSELECT)
- pcli->pfnInvalidateItem(hwnd, dat, io);
+ Clist_InvalidateItem(hwnd, dat, io);
if (k && GetCapture() == hwnd)
SendMessage(GetParent(hwnd), WM_PARENTNOTIFY, WM_LBUTTONDOWN, lParam);
@@ -814,7 +814,7 @@ static LRESULT clcOnCaptureChanged(ClcData *dat, HWND hwnd, UINT, WPARAM, LPARAM
int i;
i = dat->iHotTrack;
dat->iHotTrack = -1;
- pcli->pfnInvalidateItem(hwnd, dat, i);
+ Clist_InvalidateItem(hwnd, dat, i);
pcli->pfnHideInfoTip(hwnd, dat);
}
}
@@ -888,8 +888,8 @@ static LRESULT clcOnMouseMove(ClcData *dat, HWND hwnd, UINT, WPARAM wParam, LPAR
ReleaseCapture();
if (dat->exStyle & CLS_EX_TRACKSELECT) {
- pcli->pfnInvalidateItem(hwnd, dat, iOldHotTrack);
- pcli->pfnInvalidateItem(hwnd, dat, dat->iHotTrack);
+ Clist_InvalidateItem(hwnd, dat, iOldHotTrack);
+ Clist_InvalidateItem(hwnd, dat, dat->iHotTrack);
}
pcli->pfnHideInfoTip(hwnd, dat);
diff --git a/plugins/Clist_modern/src/modern_clcutils.cpp b/plugins/Clist_modern/src/modern_clcutils.cpp
index 063a41c14b..569fcb660b 100644
--- a/plugins/Clist_modern/src/modern_clcutils.cpp
+++ b/plugins/Clist_modern/src/modern_clcutils.cpp
@@ -120,7 +120,7 @@ void cliScrollTo(HWND hwnd, ClcData *dat, int desty, int noSmooth)
int maxy, previousy;
if (dat->iHotTrack != -1 && dat->yScroll != desty) {
- pcli->pfnInvalidateItem(hwnd, dat, dat->iHotTrack);
+ Clist_InvalidateItem(hwnd, dat, dat->iHotTrack);
dat->iHotTrack = -1;
ReleaseCapture();
}