summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-06 21:37:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-06 21:37:45 +0300
commitd5558b6f67918ea8f951fd0408eff18532a63d4e (patch)
treeac73e7988e1d6a06f588717d6b93cea90bec16e3 /plugins/Clist_nicer
parent4f5b5ef8c908156bd30d5bb391c1e238cbcc2f0c (diff)
CLIST_INTERFACE::pfnClcOptionsChanged => Clist_ClcOptionsChanged
CLIST_INTERFACE::pfnRegisterFileDropping & CLIST_INTERFACE::pfnUnregisterFileDropping => suspended
Diffstat (limited to 'plugins/Clist_nicer')
-rw-r--r--plugins/Clist_nicer/src/clcopts.cpp4
-rw-r--r--plugins/Clist_nicer/src/clui.cpp2
-rw-r--r--plugins/Clist_nicer/src/cluiopts.cpp2
-rw-r--r--plugins/Clist_nicer/src/extBackg.cpp6
4 files changed, 7 insertions, 7 deletions
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);
}