summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-20 21:40:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-20 21:40:02 +0300
commit72a8c7e76a3048f733df1bf101ec6547606fdfbe (patch)
treed11c946edc04c5b0ea7c8aebcbdf1a366a9d5f6c /plugins/NewAwaySysMod/src
parent2f816ea233c40d020d1b63ef2a11ec3b724a710d (diff)
minus ModernOpt
Diffstat (limited to 'plugins/NewAwaySysMod/src')
-rw-r--r--plugins/NewAwaySysMod/src/AwayOpt.cpp32
-rw-r--r--plugins/NewAwaySysMod/src/AwaySys.cpp3
-rw-r--r--plugins/NewAwaySysMod/src/stdafx.h1
3 files changed, 0 insertions, 36 deletions
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 <m_modernopt.h>
-
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 <m_modernopt.h>
-
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