summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-04-28 18:00:05 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-04-28 18:00:05 +0000
commit2a18cb546bac91077a193691368162d8f07992a1 (patch)
tree8fb89716131d9586fe7489fe3bb90faaf3b03fee /plugins/Clist_modern/src/modern_clc.cpp
parent9fa8edc73b6687bbc0f43743b872af83d4d06759 (diff)
we don't need that FindItem's implementation in nicer+ anymore, it's already in the core
git-svn-id: http://svn.miranda-ng.org/main/trunk@16791 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clc.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clc.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp
index 34b0e84474..f1746e74a1 100644
--- a/plugins/Clist_modern/src/modern_clc.cpp
+++ b/plugins/Clist_modern/src/modern_clc.cpp
@@ -586,7 +586,7 @@ static LRESULT clcOnKeyDown(ClcData *dat, HWND hwnd, UINT, WPARAM wParam, LPARAM
if (dat->selection < 0) dat->selection = 0;
if (dat->bCompactMode)
SendMessage(hwnd, WM_SIZE, 0, 0);
- CLUI__cliInvalidateRect(hwnd, NULL, FALSE);
+ cliInvalidateRect(hwnd, NULL, FALSE);
pcli->pfnEnsureVisible(hwnd, dat, dat->selection, 0);
UpdateWindow(hwnd);
SetCapture(hwnd);
@@ -618,7 +618,7 @@ static LRESULT clcOnTimer(ClcData *dat, HWND hwnd, UINT msg, WPARAM wParam, LPAR
{
time_t cur_time = (time(NULL) / 60);
if (cur_time != dat->last_tick_time) {
- CLUI__cliInvalidateRect(hwnd, NULL, FALSE);
+ cliInvalidateRect(hwnd, NULL, FALSE);
dat->last_tick_time = cur_time;
}
}
@@ -773,7 +773,7 @@ static LRESULT clcOnLButtonDown(ClcData *dat, HWND hwnd, UINT, WPARAM, LPARAM lP
if (dat->bCompactMode)
SendMessage(hwnd, WM_SIZE, 0, 0);
else {
- CLUI__cliInvalidateRect(hwnd, NULL, FALSE);
+ cliInvalidateRect(hwnd, NULL, FALSE);
UpdateWindow(hwnd);
}
return TRUE;
@@ -787,7 +787,7 @@ static LRESULT clcOnLButtonDown(ClcData *dat, HWND hwnd, UINT, WPARAM, LPARAM lP
else
pcli->pfnSetContactCheckboxes(contact, bNewState);
pcli->pfnRecalculateGroupCheckboxes(hwnd, dat);
- CLUI__cliInvalidateRect(hwnd, NULL, FALSE);
+ cliInvalidateRect(hwnd, NULL, FALSE);
NMCLISTCONTROL nm;
nm.hdr.code = CLN_CHECKCHANGED;
@@ -814,7 +814,7 @@ static LRESULT clcOnLButtonDown(ClcData *dat, HWND hwnd, UINT, WPARAM, LPARAM lP
return FALSE;
dat->selection = (hitFlags & CLCHT_NOWHERE) ? -1 : hit;
- CLUI__cliInvalidateRect(hwnd, NULL, FALSE);
+ cliInvalidateRect(hwnd, NULL, FALSE);
UpdateWindow(hwnd);
if (dat->selection != -1 && (contact->type == CLCIT_CONTACT || contact->type == CLCIT_GROUP) && !(hitFlags & (CLCHT_ONITEMEXTRA | CLCHT_ONITEMCHECK | CLCHT_NOWHERE))) {
@@ -940,7 +940,7 @@ static LRESULT clcOnMouseMove(ClcData *dat, HWND hwnd, UINT, WPARAM wParam, LPAR
POINT pt = UNPACK_POINT(lParam);
HCURSOR hNewCursor = LoadCursor(NULL, IDC_NO);
- CLUI__cliInvalidateRect(hwnd, NULL, FALSE);
+ cliInvalidateRect(hwnd, NULL, FALSE);
if (dat->dragAutoScrolling) {
KillTimer(hwnd, TIMERID_DRAGAUTOSCROLL);
dat->dragAutoScrolling = 0;
@@ -1263,7 +1263,7 @@ static LRESULT clcOnLButtonUp(ClcData *dat, HWND hwnd, UINT msg, WPARAM wParam,
}
}
- CLUI__cliInvalidateRect(hwnd, NULL, FALSE);
+ cliInvalidateRect(hwnd, NULL, FALSE);
dat->iDragItem = -1;
dat->iInsertionMark = -1;
return 0;
@@ -1425,9 +1425,9 @@ static LRESULT clcOnIntmIconChanged(ClcData *dat, HWND hwnd, UINT, WPARAM wParam
}
else if (needRepaint) {
if (contact && contact->pos_icon.bottom != 0 && contact->pos_icon.right != 0)
- CLUI__cliInvalidateRect(hwnd, &(contact->pos_icon), FALSE);
+ cliInvalidateRect(hwnd, &contact->pos_icon, FALSE);
else
- CLUI__cliInvalidateRect(hwnd, NULL, FALSE);
+ cliInvalidateRect(hwnd, NULL, FALSE);
//try only needed rectangle
}
@@ -1442,7 +1442,7 @@ static LRESULT clcOnIntmAvatarChanged(ClcData *dat, HWND hwnd, UINT, WPARAM hCon
else if (hContact == 0)
UpdateAllAvatars(dat);
- CLUI__cliInvalidateRect(hwnd, NULL, FALSE);
+ cliInvalidateRect(hwnd, NULL, FALSE);
return 0;
}
@@ -1518,7 +1518,7 @@ static LRESULT clcOnIntmNotOnListChanged(ClcData *dat, HWND hwnd, UINT msg, WPAR
else
contact->flags |= CONTACTF_NOTONLIST;
- CLUI__cliInvalidateRect(hwnd, NULL, FALSE);
+ cliInvalidateRect(hwnd, NULL, FALSE);
return corecli.pfnContactListControlWndProc(hwnd, msg, wParam, lParam);
}