diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-20 21:40:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-20 21:40:02 +0300 |
commit | 72a8c7e76a3048f733df1bf101ec6547606fdfbe (patch) | |
tree | d11c946edc04c5b0ea7c8aebcbdf1a366a9d5f6c /src/core/stdidle | |
parent | 2f816ea233c40d020d1b63ef2a11ec3b724a710d (diff) |
minus ModernOpt
Diffstat (limited to 'src/core/stdidle')
-rw-r--r-- | src/core/stdidle/src/idle.cpp | 25 | ||||
-rw-r--r-- | src/core/stdidle/src/stdafx.h | 1 |
2 files changed, 0 insertions, 26 deletions
diff --git a/src/core/stdidle/src/idle.cpp b/src/core/stdidle/src/idle.cpp index 8a04285c2b..6176f7baa2 100644 --- a/src/core/stdidle/src/idle.cpp +++ b/src/core/stdidle/src/idle.cpp @@ -369,30 +369,6 @@ static INT_PTR IdleGetInfo(WPARAM, LPARAM lParam) return 0;
}
-static int IdleModernOptInit(WPARAM wParam, LPARAM)
-{
- static const int iBoldControls[] =
- {
- IDC_TXT_TITLE1, IDC_TXT_TITLE2, IDC_TXT_TITLE3,
- MODERNOPT_CTRL_LAST
- };
-
- MODERNOPTOBJECT obj = {0};
- obj.cbSize = sizeof(obj);
- obj.hInstance = hInst;
- obj.dwFlags = MODEROPT_FLG_TCHAR | MODEROPT_FLG_NORESIZE;
- obj.iSection = MODERNOPT_PAGE_STATUS;
- obj.iType = MODERNOPT_TYPE_SECTIONPAGE;
- obj.iBoldControls = (int*)iBoldControls;
- obj.lpzTemplate = MAKEINTRESOURCEA(IDD_MODERNOPT_IDLE);
- obj.pfnDlgProc = IdleOptsDlgProc;
-// obj.lpzClassicGroup = "Status";
-// obj.lpzClassicPage = "Messages";
- obj.lpzHelpUrl = "https://wiki.miranda-ng.org/";
- CallService(MS_MODERNOPT_ADDOBJECT, wParam, (LPARAM)&obj);
- return 0;
-}
-
int LoadIdleModule(void)
{
bModuleInitialized = TRUE;
@@ -401,7 +377,6 @@ int LoadIdleModule(void) IdleObject_Create(&gIdleObject);
CreateServiceFunction(MS_IDLE_GETIDLEINFO, IdleGetInfo);
HookEvent(ME_OPT_INITIALISE, IdleOptInit);
- HookEvent(ME_MODERNOPT_INITIALIZE, IdleModernOptInit);
return 0;
}
diff --git a/src/core/stdidle/src/stdafx.h b/src/core/stdidle/src/stdafx.h index ce1877ea9f..920188e6dc 100644 --- a/src/core/stdidle/src/stdafx.h +++ b/src/core/stdidle/src/stdafx.h @@ -58,7 +58,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <m_findadd.h>
#include <m_idle.h>
#include <m_icolib.h>
-#include <m_modernopt.h>
#include <m_timezones.h>
#include "version.h"
|