From d5558b6f67918ea8f951fd0408eff18532a63d4e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 6 Apr 2018 21:37:45 +0300 Subject: CLIST_INTERFACE::pfnClcOptionsChanged => Clist_ClcOptionsChanged CLIST_INTERFACE::pfnRegisterFileDropping & CLIST_INTERFACE::pfnUnregisterFileDropping => suspended --- plugins/Clist_blind/src/clcopts.cpp | 2 +- plugins/Clist_modern/src/modern_clc.cpp | 2 +- plugins/Clist_nicer/src/clcopts.cpp | 4 ++-- plugins/Clist_nicer/src/clui.cpp | 2 +- plugins/Clist_nicer/src/cluiopts.cpp | 2 +- plugins/Clist_nicer/src/extBackg.cpp | 6 +++--- 6 files changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins') diff --git a/plugins/Clist_blind/src/clcopts.cpp b/plugins/Clist_blind/src/clcopts.cpp index 8abc59289a..bab6a296b1 100644 --- a/plugins/Clist_blind/src/clcopts.cpp +++ b/plugins/Clist_blind/src/clcopts.cpp @@ -234,7 +234,7 @@ static INT_PTR CALLBACK DlgProcClcMainOpts(HWND hwndDlg, UINT msg, WPARAM wParam GetDlgItemText(hwndDlg, IDC_T_INFO, tmp, _countof(tmp)); db_set_ws(NULL, "CLC", "TemplateInfo", tmp); - pcli->pfnClcOptionsChanged(); + Clist_ClcOptionsChanged(); return TRUE; } break; diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp index dd2c1c367c..1230408ffb 100644 --- a/plugins/Clist_modern/src/modern_clc.cpp +++ b/plugins/Clist_modern/src/modern_clc.cpp @@ -171,7 +171,7 @@ static int clcHookDbEventAdded(WPARAM hContact, LPARAM lParam) static int clcHookBkgndConfigChanged(WPARAM, LPARAM) { - pcli->pfnClcOptionsChanged(); + Clist_ClcOptionsChanged(); return 0; } diff --git a/plugins/Clist_nicer/src/clcopts.cpp b/plugins/Clist_nicer/src/clcopts.cpp index 0895b0d146..d2114efd77 100644 --- a/plugins/Clist_nicer/src/clcopts.cpp +++ b/plugins/Clist_nicer/src/clcopts.cpp @@ -683,7 +683,7 @@ static INT_PTR CALLBACK DlgProcClcMainOpts(HWND hwndDlg, UINT msg, WPARAM wParam cfg::dat.bDblClkAvatars = IsDlgButtonChecked(hwndDlg, IDC_DBLCLKAVATARS) ? TRUE : FALSE; db_set_b(NULL, "CLC", "dblclkav", (BYTE)cfg::dat.bDblClkAvatars); - pcli->pfnClcOptionsChanged(); + Clist_ClcOptionsChanged(); CoolSB_SetupScrollBar(); PostMessage(pcli->hwndContactList, CLUIINTM_REDRAW, 0, 0); opt_clc_main_changed = 0; @@ -809,7 +809,7 @@ static INT_PTR CALLBACK DlgProcClcBkgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, cfg::dat.bWallpaperMode = IsDlgButtonChecked(hwndDlg, IDC_SKINMODE) ? 1 : 0; db_set_b(NULL, "CLUI", "UseBkSkin", (BYTE)cfg::dat.bWallpaperMode); - pcli->pfnClcOptionsChanged(); + Clist_ClcOptionsChanged(); PostMessage(pcli->hwndContactList, CLUIINTM_REDRAW, 0, 0); opt_clc_bkg_changed = 0; return TRUE; diff --git a/plugins/Clist_nicer/src/clui.cpp b/plugins/Clist_nicer/src/clui.cpp index a0663c1270..9df0da77e5 100644 --- a/plugins/Clist_nicer/src/clui.cpp +++ b/plugins/Clist_nicer/src/clui.cpp @@ -151,7 +151,7 @@ static int FS_FontsChanged(WPARAM, LPARAM) DeleteObject(g_hPenCLUIFrames); g_hPenCLUIFrames = CreatePen(PS_SOLID, 1, clr_cluiframes); - pcli->pfnClcOptionsChanged(); + Clist_ClcOptionsChanged(); RedrawWindow(pcli->hwndContactList, nullptr, nullptr, RDW_INVALIDATE | RDW_ERASE | RDW_FRAME | RDW_UPDATENOW | RDW_ALLCHILDREN); return 0; } diff --git a/plugins/Clist_nicer/src/cluiopts.cpp b/plugins/Clist_nicer/src/cluiopts.cpp index 432d497781..ad87500749 100644 --- a/plugins/Clist_nicer/src/cluiopts.cpp +++ b/plugins/Clist_nicer/src/cluiopts.cpp @@ -297,7 +297,7 @@ INT_PTR CALLBACK DlgProcCluiOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l cfg::dat.fadeinout = oldFading; opt_clui_changed = 0; - pcli->pfnClcOptionsChanged(); + Clist_ClcOptionsChanged(); Clist_Broadcast(CLM_AUTOREBUILD, 0, 0); return TRUE; } diff --git a/plugins/Clist_nicer/src/extBackg.cpp b/plugins/Clist_nicer/src/extBackg.cpp index fb674e4b5e..f9b5b457d1 100644 --- a/plugins/Clist_nicer/src/extBackg.cpp +++ b/plugins/Clist_nicer/src/extBackg.cpp @@ -1449,7 +1449,7 @@ void extbk_import(char *file, HWND hwndDlg) // refresh if (hwndDlg && ServiceExists(MS_CLNSE_FILLBYCURRENTSEL)) CallService(MS_CLNSE_FILLBYCURRENTSEL, (WPARAM)hwndDlg, 0); - pcli->pfnClcOptionsChanged(); + Clist_ClcOptionsChanged(); ConfigureCLUIGeometry(1); SendMessage(pcli->hwndContactList, WM_SIZE, 0, 0); RedrawWindow(pcli->hwndContactList, nullptr, nullptr, RDW_INVALIDATE | RDW_ERASE | RDW_FRAME | RDW_UPDATENOW | RDW_ALLCHILDREN); @@ -1608,7 +1608,7 @@ static INT_PTR CALLBACK DlgProcSkinOpts(HWND hwndDlg, UINT msg, WPARAM wParam, L switch (((LPNMHDR)lParam)->code) { case PSN_APPLY: SaveNonStatusItemsSettings(hwndDlg); - pcli->pfnClcOptionsChanged(); + Clist_ClcOptionsChanged(); PostMessage(pcli->hwndContactList, CLUIINTM_REDRAW, 0, 0); return TRUE; } @@ -1653,7 +1653,7 @@ INT_PTR CALLBACK OptionsDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara sd.pfnSaveCompleteStruct = SaveCompleteStructToDB; sd.lastItem = ID_STATUS_OFFLINE + arStatusItems.getCount(); sd.firstItem = ID_STATUS_OFFLINE; - sd.pfnClcOptionsChanged = pcli->pfnClcOptionsChanged; + sd.pfnClcOptionsChanged = Clist_ClcOptionsChanged; sd.hwndCLUI = pcli->hwndContactList; hwndSkinEdit = (HWND)CallService(MS_CLNSE_INVOKE, 0, (LPARAM)&sd); } -- cgit v1.2.3