From 72a8c7e76a3048f733df1bf101ec6547606fdfbe Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 20 Aug 2017 21:40:02 +0300 Subject: minus ModernOpt --- plugins/NewAwaySysMod/src/AwayOpt.cpp | 32 -------------------------------- plugins/NewAwaySysMod/src/AwaySys.cpp | 3 --- plugins/NewAwaySysMod/src/stdafx.h | 1 - 3 files changed, 36 deletions(-) (limited to 'plugins/NewAwaySysMod/src') diff --git a/plugins/NewAwaySysMod/src/AwayOpt.cpp b/plugins/NewAwaySysMod/src/AwayOpt.cpp index e0cefb3629..abb0e0516a 100644 --- a/plugins/NewAwaySysMod/src/AwayOpt.cpp +++ b/plugins/NewAwaySysMod/src/AwayOpt.cpp @@ -25,9 +25,6 @@ #include "m_clc.h" #include "GroupCheckbox.h" -//NightFox -#include - int g_Messages_RecentRootID, g_Messages_PredefinedRootID; CIconList g_IconList; @@ -1360,32 +1357,3 @@ void InitOptions() g_AutoreplyOptPage.Items.AddElem(new COptItem_Generic(IDC_REPLYDLG_VARS, IDC_REPLYDLG_ENABLEREPLY)); g_AutoreplyOptPage.Items.AddElem(new COptItem_Generic(IDC_REPLYDLG_STATIC_EXTRATEXT, IDC_REPLYDLG_ENABLEREPLY)); } - -// NightFox -int ModernOptInitialise(WPARAM wParam, LPARAM) -{ - static int iBoldControls[] = - { - IDC_TXT_TITLE1, - IDC_TXT_TITLE2, - IDC_TXT_TITLE3, - MODERNOPT_CTRL_LAST - }; - - MODERNOPTOBJECT obj = { 0 }; - obj.cbSize = sizeof(obj); - obj.dwFlags = MODEROPT_FLG_TCHAR | MODEROPT_FLG_NORESIZE; - obj.hInstance = g_hInstance; - obj.iSection = MODERNOPT_PAGE_STATUS; - obj.iType = MODERNOPT_TYPE_SECTIONPAGE; - obj.iBoldControls = iBoldControls; - // obj.lpzClassicGroup = NULL; - obj.lpzClassicPage = "Status"; - obj.lpzClassicTab = "Main options"; - // obj.lpzHelpUrl = "https://wiki.miranda-ng.org/"; - - obj.lpzTemplate = MAKEINTRESOURCEA(IDD_MODERNOPT_MESSAGES); - obj.pfnDlgProc = MessagesModernOptDlg; - CallService(MS_MODERNOPT_ADDOBJECT, wParam, (LPARAM)&obj); - return 0; -} diff --git a/plugins/NewAwaySysMod/src/AwaySys.cpp b/plugins/NewAwaySysMod/src/AwaySys.cpp index 217b55e729..f1e0e4794c 100644 --- a/plugins/NewAwaySysMod/src/AwaySys.cpp +++ b/plugins/NewAwaySysMod/src/AwaySys.cpp @@ -41,8 +41,6 @@ #include "Services.h" #include "version.h" -#include - HINSTANCE g_hInstance; CLIST_INTERFACE *pcli; @@ -707,7 +705,6 @@ int MirandaLoaded(WPARAM, LPARAM) } } - HookEvent(ME_MODERNOPT_INITIALIZE, ModernOptInitialise); return 0; } diff --git a/plugins/NewAwaySysMod/src/stdafx.h b/plugins/NewAwaySysMod/src/stdafx.h index b8136f95c8..b64cb3a13f 100644 --- a/plugins/NewAwaySysMod/src/stdafx.h +++ b/plugins/NewAwaySysMod/src/stdafx.h @@ -294,7 +294,6 @@ extern MWindowList g_hReadWndList; INT_PTR GetContactStatMsg(WPARAM wParam, LPARAM lParam); // AwayOpt.cpp -int ModernOptInitialise(WPARAM wParam, LPARAM lParam); int OptsDlgInit(WPARAM wParam, LPARAM); // called on opening of the options dialog void InitOptions(); // called once when plugin is loaded -- cgit v1.2.3