summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-20 23:36:07 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-20 23:36:07 +0300
commit41ee395da7530c17656bd06f84638ab8d9d3776d (patch)
tree4f28423e3acb809b9be60f467d7fbca262a612d5 /plugins/Clist_nicer/src
parente79355b2127afe4cdfe4676e76a165fefe6e6c2a (diff)
options API unbound from hLangpack and switched to CMPlugin
Diffstat (limited to 'plugins/Clist_nicer/src')
-rw-r--r--plugins/Clist_nicer/src/clcopts.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/Clist_nicer/src/clcopts.cpp b/plugins/Clist_nicer/src/clcopts.cpp
index 78cba2f7cf..01a94b2df5 100644
--- a/plugins/Clist_nicer/src/clcopts.cpp
+++ b/plugins/Clist_nicer/src/clcopts.cpp
@@ -525,27 +525,27 @@ int ClcOptInit(WPARAM wParam, LPARAM)
odp.szTab.a = LPGEN("General");
odp.pfnDlgProc = DlgProcGenOpts;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_CLIST);
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.szTab.a = LPGEN("List layout");
odp.pfnDlgProc = DlgProcClcMainOpts;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_CLC);
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.szTab.a = LPGEN("Window");
odp.pfnDlgProc = DlgProcCluiOpts;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_CLUI);
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.szTab.a = LPGEN("Background");
odp.pfnDlgProc = DlgProcClcBkgOpts;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_CLCBKG);
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.szTab.a = LPGEN("Status bar");
odp.pfnDlgProc = DlgProcSBarOpts;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SBAR);
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
////////////////////////////////////////////////////////////////////////////
// Contact rows tabs
@@ -557,22 +557,22 @@ int ClcOptInit(WPARAM wParam, LPARAM)
odp.pfnDlgProc = DlgProcDspItems;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_DSPITEMS);
odp.flags = ODPF_BOLDGROUPS;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.szTab.a = LPGEN("Groups and layout");
odp.pfnDlgProc = DlgProcDspGroups;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_DSPGROUPS);
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.szTab.a = LPGEN("Advanced");
odp.pfnDlgProc = DlgProcDspAdvanced;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_DSPADVANCED);
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.szTab.a = LPGEN("Icons");
odp.pfnDlgProc = DlgProcIcons;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_ICONS);
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
////////////////////////////////////////////////////////////////////////////
// Other options
@@ -582,7 +582,7 @@ int ClcOptInit(WPARAM wParam, LPARAM)
odp.szTitle.a = LPGEN("Contact list");
odp.flags = ODPF_BOLDGROUPS;
odp.pfnDlgProc = OptionsDlgProc;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
return 0;
}