From 368dc53b83d7ef5f02ff98b3a2572401285cee12 Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Sat, 14 May 2011 21:41:24 +0000 Subject: not used files moved to Deprecated git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@86 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- popup/Deprecated/opt_old.cpp | 87 ++++++++++++++ popup/Deprecated/opt_old.h | 39 ++++++ popup/PopUp_10.vcxproj | 276 +++---------------------------------------- popup/PopUp_8.vcproj | 40 ------- popup/PopUp_9.vcproj | 72 ----------- popup/resource.h | 1 - popup/resource.rc | 1 - popup/src/config.cpp | 1 - popup/src/headers.h | 2 +- popup/src/opt_old.cpp | 87 -------------- popup/src/opt_old.h | 39 ------ 11 files changed, 146 insertions(+), 499 deletions(-) create mode 100644 popup/Deprecated/opt_old.cpp create mode 100644 popup/Deprecated/opt_old.h delete mode 100644 popup/src/opt_old.cpp delete mode 100644 popup/src/opt_old.h (limited to 'popup') diff --git a/popup/Deprecated/opt_old.cpp b/popup/Deprecated/opt_old.cpp new file mode 100644 index 0000000..909cddb --- /dev/null +++ b/popup/Deprecated/opt_old.cpp @@ -0,0 +1,87 @@ +/* +Popup Plus plugin for Miranda IM + +Copyright © 2002 Luca Santarelli, + © 2004-2007 Victor Pavlychko + © 2010 MPK + © 2010 Merlin_de + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +=============================================================================== + +File name : $HeadURL: http://svn.miranda.im/mainrepo/popup/trunk/src/opt_old.cpp $ +Revision : $Revision: 1610 $ +Last change on : $Date: 2010-06-23 00:55:13 +0300 (Ср, 23 июн 2010) $ +Last change by : $Author: Merlin_de $ + +=============================================================================== +*/ + +#include "headers.h" + + +void RestartNeeded_adv(HWND hwndDlg){ + ShowWindow(GetDlgItem(hwndDlg, IDC_ICO_RESTART), SW_SHOW); + ShowWindow(GetDlgItem(hwndDlg, IDC_TXT_RESTART), SW_SHOW); +} + +void LoadOption_OldOpts() { +} + +INT_PTR CALLBACK DlgProcPopUpOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { + switch (msg) { + case WM_INITDIALOG: + { + TranslateDialogDefault(hwndDlg); + + return TRUE; + } + //End WM_INITDIALOG + case WM_COMMAND: { + WORD idCtrl = LOWORD(wParam), wNotifyCode = HIWORD(wParam); + if (wNotifyCode == BN_KILLFOCUS || wNotifyCode == BN_SETFOCUS) return TRUE; + //These are simple clicks: we don't save, but we tell the Options Page to enable the "Apply" button. + switch(idCtrl) { + case IDC_PREVIEW: + PopUpPreview(); + break; + } //End switch(WM_COMMAND) + break; + //End WM_COMMAND + } + case WM_NOTIFY: { //Here we have pressed either the OK or the APPLY button. + switch(((LPNMHDR)lParam)->idFrom) { + case 0: + switch (((LPNMHDR)lParam)->code) { + case PSN_RESET: + //Restore the options stored in memory. + LoadOption_OldOpts(); + return TRUE; + case PSN_APPLY: { + return TRUE; + } //case PSN_APPLY + } // switch code + break; + } //switch idFrom + break; //End WM_NOTIFY + } + case UM_SETDLGITEMINT: + SetDlgItemInt(hwndDlg, (int)wParam, (int)lParam, FALSE); + break; + } //switch message + return FALSE; +} + diff --git a/popup/Deprecated/opt_old.h b/popup/Deprecated/opt_old.h new file mode 100644 index 0000000..5572558 --- /dev/null +++ b/popup/Deprecated/opt_old.h @@ -0,0 +1,39 @@ +/* +Popup Plus plugin for Miranda IM + +Copyright © 2002 Luca Santarelli, + © 2004-2007 Victor Pavlychko + © 2010 MPK + © 2010 Merlin_de + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +=============================================================================== + +File name : $HeadURL: http://svn.miranda.im/mainrepo/popup/trunk/src/opt_old.h $ +Revision : $Revision: 1610 $ +Last change on : $Date: 2010-06-23 00:55:13 +0300 (Ср, 23 июн 2010) $ +Last change by : $Author: Merlin_de $ + +=============================================================================== +*/ + +#ifndef __opt_old_h__ +#define __opt_old_h__ + +void LoadOption_OldOpts(); +INT_PTR CALLBACK DlgProcPopUpOpts(HWND, UINT, WPARAM, LPARAM); + +#endif // __opt_old_h__ diff --git a/popup/PopUp_10.vcxproj b/popup/PopUp_10.vcxproj index f8f6909..0c50bb7 100644 --- a/popup/PopUp_10.vcxproj +++ b/popup/PopUp_10.vcxproj @@ -460,224 +460,41 @@ - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - + + + + + + - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - - - Create - Create - Create - Create - Create - Create - Create - Create - - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - + + + + - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) %(PreprocessorDefinitions) %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - - - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) %(PreprocessorDefinitions) %(PreprocessorDefinitions) - - %(PreprocessorDefinitions) %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) %(PreprocessorDefinitions) %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) + + + + + + - - true - true - true - true - true - true - true - true - - - true - true - true - true - true - true - true - true - - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - + + @@ -703,56 +520,10 @@ - - - - - - - - - - - - - - - - - true - true - true - true - true - true - true - true - - - true - true - true - true - true - true - true - true - - - true - true - true - true - true - true - true - true - - @@ -796,16 +567,7 @@ - - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - %(PreprocessorDefinitions) - + diff --git a/popup/PopUp_8.vcproj b/popup/PopUp_8.vcproj index fbbdf2d..efe3af5 100644 --- a/popup/PopUp_8.vcproj +++ b/popup/PopUp_8.vcproj @@ -1564,46 +1564,6 @@ RelativePath=".\src\opt_gen.h" > - - - - - - - - - - - - - - - - diff --git a/popup/PopUp_9.vcproj b/popup/PopUp_9.vcproj index dd64290..e78bd6b 100644 --- a/popup/PopUp_9.vcproj +++ b/popup/PopUp_9.vcproj @@ -2629,78 +2629,6 @@ RelativePath=".\src\opt_gen.h" > - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/popup/resource.h b/popup/resource.h index f6124bb..570490b 100644 --- a/popup/resource.h +++ b/popup/resource.h @@ -136,7 +136,6 @@ #define IDC_TXT_CUSTOMACTIONS 1189 #define IDC_TXT_POSITION 1190 #define IDC_ICO_RESTART 1191 -#define IDC_TXT_RESTART 1192 #define IDC_MORE 1193 #define IDC_TXT_TITLE1 1194 #define IDC_TXT_POSITION2 1195 diff --git a/popup/resource.rc b/popup/resource.rc index 50303c7..4546bfe 100644 --- a/popup/resource.rc +++ b/popup/resource.rc @@ -125,7 +125,6 @@ BEGIN LTEXT "Limit window amount to:",IDC_STATIC,154,159,96,12,SS_CENTERIMAGE EDITTEXT IDC_MAXPOPUPS,255,159,26,12,ES_CENTER | ES_AUTOHSCROLL | ES_NUMBER ICON IDI_MB_WARN,IDC_ICO_RESTART,8,201,20,20,SS_CENTERIMAGE | SS_REALSIZEIMAGE | NOT WS_VISIBLE - LTEXT "*need restart",IDC_TXT_RESTART,36,203,83,14,SS_CENTERIMAGE | NOT WS_VISIBLE PUSHBUTTON "Live Preview",IDC_PREVIEW,219,203,73,14 END diff --git a/popup/src/config.cpp b/popup/src/config.cpp index 8649676..5831de5 100644 --- a/popup/src/config.cpp +++ b/popup/src/config.cpp @@ -117,7 +117,6 @@ void LoadOptions() { LoadOption_Skins(); LoadOption_Actions(); LoadOption_AdvOpts(); - LoadOption_OldOpts(); } Check_ReorderPopUps(); OptionLoaded = true; diff --git a/popup/src/headers.h b/popup/src/headers.h index 0e3f7bc..2174245 100644 --- a/popup/src/headers.h +++ b/popup/src/headers.h @@ -154,7 +154,7 @@ Last change by : $Author: Merlin_de $ #include "def_settings.h" // #include "notify_imp.h" //deprecatet #include "opttree.h" - #include "opt_old.h" +// #include "opt_old.h" //deprecatet #include "opt_gen.h" // #include "opt_notify.h" //deprecatet #include "opt_skins.h" diff --git a/popup/src/opt_old.cpp b/popup/src/opt_old.cpp deleted file mode 100644 index 909cddb..0000000 --- a/popup/src/opt_old.cpp +++ /dev/null @@ -1,87 +0,0 @@ -/* -Popup Plus plugin for Miranda IM - -Copyright © 2002 Luca Santarelli, - © 2004-2007 Victor Pavlychko - © 2010 MPK - © 2010 Merlin_de - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -=============================================================================== - -File name : $HeadURL: http://svn.miranda.im/mainrepo/popup/trunk/src/opt_old.cpp $ -Revision : $Revision: 1610 $ -Last change on : $Date: 2010-06-23 00:55:13 +0300 (Ср, 23 июн 2010) $ -Last change by : $Author: Merlin_de $ - -=============================================================================== -*/ - -#include "headers.h" - - -void RestartNeeded_adv(HWND hwndDlg){ - ShowWindow(GetDlgItem(hwndDlg, IDC_ICO_RESTART), SW_SHOW); - ShowWindow(GetDlgItem(hwndDlg, IDC_TXT_RESTART), SW_SHOW); -} - -void LoadOption_OldOpts() { -} - -INT_PTR CALLBACK DlgProcPopUpOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { - switch (msg) { - case WM_INITDIALOG: - { - TranslateDialogDefault(hwndDlg); - - return TRUE; - } - //End WM_INITDIALOG - case WM_COMMAND: { - WORD idCtrl = LOWORD(wParam), wNotifyCode = HIWORD(wParam); - if (wNotifyCode == BN_KILLFOCUS || wNotifyCode == BN_SETFOCUS) return TRUE; - //These are simple clicks: we don't save, but we tell the Options Page to enable the "Apply" button. - switch(idCtrl) { - case IDC_PREVIEW: - PopUpPreview(); - break; - } //End switch(WM_COMMAND) - break; - //End WM_COMMAND - } - case WM_NOTIFY: { //Here we have pressed either the OK or the APPLY button. - switch(((LPNMHDR)lParam)->idFrom) { - case 0: - switch (((LPNMHDR)lParam)->code) { - case PSN_RESET: - //Restore the options stored in memory. - LoadOption_OldOpts(); - return TRUE; - case PSN_APPLY: { - return TRUE; - } //case PSN_APPLY - } // switch code - break; - } //switch idFrom - break; //End WM_NOTIFY - } - case UM_SETDLGITEMINT: - SetDlgItemInt(hwndDlg, (int)wParam, (int)lParam, FALSE); - break; - } //switch message - return FALSE; -} - diff --git a/popup/src/opt_old.h b/popup/src/opt_old.h deleted file mode 100644 index 5572558..0000000 --- a/popup/src/opt_old.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Popup Plus plugin for Miranda IM - -Copyright © 2002 Luca Santarelli, - © 2004-2007 Victor Pavlychko - © 2010 MPK - © 2010 Merlin_de - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -=============================================================================== - -File name : $HeadURL: http://svn.miranda.im/mainrepo/popup/trunk/src/opt_old.h $ -Revision : $Revision: 1610 $ -Last change on : $Date: 2010-06-23 00:55:13 +0300 (Ср, 23 июн 2010) $ -Last change by : $Author: Merlin_de $ - -=============================================================================== -*/ - -#ifndef __opt_old_h__ -#define __opt_old_h__ - -void LoadOption_OldOpts(); -INT_PTR CALLBACK DlgProcPopUpOpts(HWND, UINT, WPARAM, LPARAM); - -#endif // __opt_old_h__ -- cgit v1.2.3