summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-06 19:17:08 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-06 19:17:08 +0300
commit0637ba6920b7e7b3ef2b8fd8450d90262ac77649 (patch)
tree649e0e087aeaf61057ae4761bdada63ab27c2c33 /src
parentf405614ff4d91b0374759dc2cca5814c3d064a57 (diff)
CLIST_INTERFACE::pfnSetGroupChildCheckboxes => Clist_SetGroupChildCheckboxes
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/clc.cpp2
-rw-r--r--src/mir_app/src/clc.h1
-rw-r--r--src/mir_app/src/clcutils.cpp4
-rw-r--r--src/mir_app/src/clistcore.cpp1
-rw-r--r--src/mir_app/src/mir_app.def1
-rw-r--r--src/mir_app/src/mir_app64.def1
6 files changed, 5 insertions, 5 deletions
diff --git a/src/mir_app/src/clc.cpp b/src/mir_app/src/clc.cpp
index 4b786cda53..d6be92af35 100644
--- a/src/mir_app/src/clc.cpp
+++ b/src/mir_app/src/clc.cpp
@@ -931,7 +931,7 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT uMsg, WPARAM wParam
NMCLISTCONTROL nm;
contact->flags ^= CONTACTF_CHECKED;
if (contact->type == CLCIT_GROUP)
- cli.pfnSetGroupChildCheckboxes(contact->group, contact->flags & CONTACTF_CHECKED);
+ Clist_SetGroupChildCheckboxes(contact->group, contact->flags & CONTACTF_CHECKED);
cli.pfnRecalculateGroupCheckboxes(hwnd, dat);
cli.pfnInvalidateRect(hwnd, nullptr, FALSE);
nm.hdr.code = CLN_CHECKCHANGED;
diff --git a/src/mir_app/src/clc.h b/src/mir_app/src/clc.h
index 2925629a88..f1b7907630 100644
--- a/src/mir_app/src/clc.h
+++ b/src/mir_app/src/clc.h
@@ -96,7 +96,6 @@ void fnGetDefaultFontSetting(int i, LOGFONT *lf, COLORREF *colour);
void fnGetFontSetting(int i, LOGFONT *lf, COLORREF *colour);
void fnLoadClcOptions(HWND hwnd, struct ClcData *dat, BOOL bFirst);
void fnRecalculateGroupCheckboxes(HWND hwnd, struct ClcData *dat);
-void fnSetGroupChildCheckboxes(ClcGroup *group, int checked);
void fnSetContactCheckboxes(ClcContact *cc, int checked);
DWORD fnGetDefaultExStyle(void);
diff --git a/src/mir_app/src/clcutils.cpp b/src/mir_app/src/clcutils.cpp
index 0c04d08279..1fb3d86afa 100644
--- a/src/mir_app/src/clcutils.cpp
+++ b/src/mir_app/src/clcutils.cpp
@@ -835,11 +835,11 @@ void fnSetContactCheckboxes(ClcContact *cc, int checked)
cc->flags &= ~CONTACTF_CHECKED;
}
-void fnSetGroupChildCheckboxes(ClcGroup *group, int checked)
+MIR_APP_DLL(void) Clist_SetGroupChildCheckboxes(ClcGroup *group, int checked)
{
for (auto &cc : group->cl) {
if (cc->type == CLCIT_GROUP) {
- cli.pfnSetGroupChildCheckboxes(cc->group, checked);
+ Clist_SetGroupChildCheckboxes(cc->group, checked);
cli.pfnSetContactCheckboxes(cc, checked);
}
else if (cc->type == CLCIT_CONTACT)
diff --git a/src/mir_app/src/clistcore.cpp b/src/mir_app/src/clistcore.cpp
index ea02d17230..7d5c20a28b 100644
--- a/src/mir_app/src/clistcore.cpp
+++ b/src/mir_app/src/clistcore.cpp
@@ -115,7 +115,6 @@ void InitClistCore()
cli.pfnGetFontSetting = fnGetFontSetting;
cli.pfnLoadClcOptions = fnLoadClcOptions;
cli.pfnRecalculateGroupCheckboxes = fnRecalculateGroupCheckboxes;
- cli.pfnSetGroupChildCheckboxes = fnSetGroupChildCheckboxes;
cli.pfnGetRowBottomY = fnGetRowBottomY;
cli.pfnGetRowHeight = fnGetRowHeight;
cli.pfnGetRowTopY = fnGetRowTopY;
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def
index 674af31044..7379c365b3 100644
--- a/src/mir_app/src/mir_app.def
+++ b/src/mir_app/src/mir_app.def
@@ -558,3 +558,4 @@ Clist_GetContactDisplayName @577
Clist_GetCacheEntry @578
Clist_EventsProcessTrayDoubleClick @579
Clist_InvalidateItem @580
+Clist_SetGroupChildCheckboxes @581
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def
index 8671a4d445..35eea0a34a 100644
--- a/src/mir_app/src/mir_app64.def
+++ b/src/mir_app/src/mir_app64.def
@@ -558,3 +558,4 @@ Clist_GetContactDisplayName @577
Clist_GetCacheEntry @578
Clist_EventsProcessTrayDoubleClick @579
Clist_InvalidateItem @580
+Clist_SetGroupChildCheckboxes @581