From 41ee395da7530c17656bd06f84638ab8d9d3776d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 20 May 2018 23:36:07 +0300 Subject: options API unbound from hLangpack and switched to CMPlugin --- plugins/BossKeyPlus/src/Options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/BossKeyPlus') diff --git a/plugins/BossKeyPlus/src/Options.cpp b/plugins/BossKeyPlus/src/Options.cpp index 2779438530..14c24b4eed 100644 --- a/plugins/BossKeyPlus/src/Options.cpp +++ b/plugins/BossKeyPlus/src/Options.cpp @@ -184,7 +184,7 @@ INT_PTR CALLBACK MainOptDlg(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam return true; case IDC_MAINOPT_LNK_HOTKEY: - Options_Open(L"Customize", L"Hotkeys"); + g_plugin.openOptions(L"Customize", L"Hotkeys"); return true; } return 0; @@ -323,11 +323,11 @@ int OptsDlgInit(WPARAM wParam, LPARAM) optDi.szGroup.a = LPGEN("Events"); optDi.szTab.a = LPGEN("Main"); optDi.flags = ODPF_BOLDGROUPS; - Options_AddPage(wParam, &optDi); + g_plugin.addOptions(wParam, &optDi); optDi.pfnDlgProc = AdvOptDlg; optDi.pszTemplate = MAKEINTRESOURCEA(IDD_OPTDIALOGADV); optDi.szTab.a = LPGEN("Advanced"); - Options_AddPage(wParam, &optDi); + g_plugin.addOptions(wParam, &optDi); return 0; } -- cgit v1.2.3