summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/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/TipperYM/src
parente79355b2127afe4cdfe4676e76a165fefe6e6c2a (diff)
options API unbound from hLangpack and switched to CMPlugin
Diffstat (limited to 'plugins/TipperYM/src')
-rw-r--r--plugins/TipperYM/src/options.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/TipperYM/src/options.cpp b/plugins/TipperYM/src/options.cpp
index 0f62a94f93..673b94426f 100644
--- a/plugins/TipperYM/src/options.cpp
+++ b/plugins/TipperYM/src/options.cpp
@@ -2090,34 +2090,34 @@ int OptInit(WPARAM wParam, LPARAM)
odp.szTitle.a = LPGEN("Tooltips");
odp.szGroup.a = LPGEN("Customize");
odp.pfnDlgProc = DlgProcOptsAppearance;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SKIN);
odp.szTab.a = LPGEN("Tooltips");
odp.szGroup.a = LPGEN("Skins");
odp.pfnDlgProc = DlgProcOptsSkin;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_CONTENT);
odp.szTab.a = LPGEN("Content");
odp.szTitle.a = LPGEN("Tooltips");
odp.szGroup.a = LPGEN("Customize");
odp.pfnDlgProc = DlgProcOptsContent;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_TRAYTIP);
odp.szTab.a = LPGEN("Tray tooltip");
odp.szTitle.a = LPGEN("Tooltips");
odp.szGroup.a = LPGEN("Customize");
odp.pfnDlgProc = DlgProcOptsTraytip;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_EXTRA);
odp.szTab.a = LPGEN("Extra");
odp.szTitle.a = LPGEN("Tooltips");
odp.szGroup.a = LPGEN("Customize");
odp.pfnDlgProc = DlgProcOptsExtra;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
return 0;
}