From f5ad1966486e27a3497f463a687b48e8b064eae4 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Tue, 7 Nov 2023 23:18:13 +0300 Subject: ProxySwitch: resource cosmetic --- plugins/ProxySwitch/res/resource.rc | 280 ++++++++++++++++++------------------ 1 file changed, 140 insertions(+), 140 deletions(-) (limited to 'plugins/ProxySwitch') diff --git a/plugins/ProxySwitch/res/resource.rc b/plugins/ProxySwitch/res/resource.rc index 8d9dd4e1d6..2ac38f6305 100644 --- a/plugins/ProxySwitch/res/resource.rc +++ b/plugins/ProxySwitch/res/resource.rc @@ -1,140 +1,140 @@ -// Microsoft Visual C++ generated resource script. -// -#include "..\src\resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Neutral resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU) -#ifdef _WIN32 -LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL -#pragma code_page(1250) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_LOGO ICON "logo.ico" -IDI_PROXY ICON "proxy.ico" -IDI_NOTIF_1 ICON "notif-yes.ico" -IDI_NOTIF_0 ICON "notif-no.ico" - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_OPTIONS, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 295 - TOPMARGIN, 7 - BOTTOMMARGIN, 184 - END - - IDD_HELP, DIALOG - BEGIN - BOTTOMMARGIN, 163 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_OPTIONS DIALOGEX 0, 0, 302, 191 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_CHILD -EXSTYLE WS_EX_CONTROLPARENT -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - GROUPBOX "Network addresses",IDC_STATIC,7,5,287,56,WS_GROUP - CONTROL "Direct connection",IDC_STATIC,"Static",SS_SIMPLE,15,20,84,8 - EDITTEXT IDC_EDIT_NOPROXY,101,17,183,14,ES_AUTOHSCROLL - CONTROL "Use proxy",IDC_STATIC,"Static",SS_SIMPLE,40,40,61,8 - EDITTEXT IDC_EDIT_USEPROXY,101,37,183,14,ES_AUTOHSCROLL - PUSHBUTTON "?",IDC_BTN_HELP,15,39,14,12,BS_FLAT | NOT WS_TABSTOP - GROUPBOX "General",IDC_STATIC,7,65,144,118,WS_GROUP - CONTROL "Manage Miranda NG proxy",IDC_CHECK_MIRANDA,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,78,131,10 - CONTROL "Manage Internet Explorer proxy",IDC_CHECK_IE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,92,132,10 - CONTROL "Manage Firefox proxy",IDC_CHECK_FIREFOX,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,106,132,10 - CONTROL "Reconnect if IP address changes",IDC_CHECK_ALWAY_RECONNECT, - "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,120,132,10 - LTEXT "Hide interfaces",IDC_STATIC,15,165,62,8 - EDITTEXT IDC_EDIT_HIDEINTF,80,161,62,14,ES_AUTOHSCROLL - GROUPBOX "Popup options",IDC_STATIC,160,65,134,118,WS_GROUP - CONTROL "Enable popups",IDC_CHECK_POPUPS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,168,78,122,10 - CONTROL "",IDC_TEXTCOLOR,"ColourPicker",WS_TABSTOP,168,94,39,11 - CONTROL "Text color",IDC_STATIC,"Static",SS_SIMPLE,215,94,75,8 - CONTROL "",IDC_BGCOLOR,"ColourPicker",WS_TABSTOP,168,111,39,11 - CONTROL "Background color",IDC_STATIC,"Static",SS_SIMPLE,215,111,75,8 - CONTROL "Use default colors",IDC_CHECK_DEFAULTCOLORS, - "Button",BS_AUTOCHECKBOX | WS_TABSTOP,168,129,122,10 - CONTROL "Show proxy status on change",IDC_CHECK_SHOWPROXYSTATUS, - "Button",BS_AUTOCHECKBOX | WS_TABSTOP,168,143,123,10 - CTEXT "Restart of Miranda NG is required.",IDC_RESTARTREQUIRED,164,164,127,8,NOT WS_VISIBLE -END - -IDD_HELP DIALOGEX 0, 0, 302, 167 -STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_PALETTEWINDOW | WS_EX_APPWINDOW -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - LTEXT "Enter semicolon (;) separated list of IP network addresses in any of the formats below:\n\tIP/bits\t(10.0.0.1/24)\t\tIP/mask\t(10.0.0.1/255.255.255.0)\n\tIP1-2\t(10.0.0.1-50)\t\tIP1-IP2\t(10.0.0.1-10.0.2.255)",IDC_HELP_1,8,4,287,32 - LTEXT "Any entry in the 'Use proxy' list can be prefixed by an exclamation mark (!) to increase its priority. Entries with wrong syntax will be ignored. The plugin checks the IP addresses in the following way:",IDC_HELP_2,8,36,287,27 - LTEXT "\t1) Use proxy if any interface has prioritized 'Use proxy' address\n\t2) Don't use proxy if any interface has 'Direct connection' address\n\t3) Use proxy if any interface has 'Use proxy' address\n\t4) Do nothing if unknown or no address found",IDC_HELP_3,8,70,287,59 - PUSHBUTTON "OK",IDOK,195,149,50,14 - PUSHBUTTON "Cancel",IDCANCEL,250,149,50,14 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// AFX_DIALOG_LAYOUT -// - -IDD_HELP AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -IDD_OPTIONS AFX_DIALOG_LAYOUT -BEGIN - 0 -END - -#endif // Neutral resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - +// Microsoft Visual C++ generated resource script. +// +#include "..\src\resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// Neutral resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU) +#ifdef _WIN32 +LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL +#pragma code_page(1250) +#endif //_WIN32 + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDI_LOGO ICON "logo.ico" +IDI_PROXY ICON "proxy.ico" +IDI_NOTIF_1 ICON "notif-yes.ico" +IDI_NOTIF_0 ICON "notif-no.ico" + + +///////////////////////////////////////////////////////////////////////////// +// +// DESIGNINFO +// + +#ifdef APSTUDIO_INVOKED +GUIDELINES DESIGNINFO +BEGIN + IDD_OPTIONS, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 295 + TOPMARGIN, 7 + BOTTOMMARGIN, 184 + END + + IDD_HELP, DIALOG + BEGIN + BOTTOMMARGIN, 163 + END +END +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog +// + +IDD_OPTIONS DIALOGEX 0, 0, 302, 191 +STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_CHILD +EXSTYLE WS_EX_CONTROLPARENT +FONT 8, "MS Shell Dlg", 0, 0, 0x1 +BEGIN + GROUPBOX "Network addresses",IDC_STATIC,7,5,287,56,WS_GROUP + CONTROL "Direct connection",IDC_STATIC,"Static",SS_SIMPLE,15,20,84,8 + EDITTEXT IDC_EDIT_NOPROXY,101,17,183,14,ES_AUTOHSCROLL + CONTROL "Use proxy",IDC_STATIC,"Static",SS_SIMPLE,40,40,61,8 + EDITTEXT IDC_EDIT_USEPROXY,101,37,183,14,ES_AUTOHSCROLL + PUSHBUTTON "?",IDC_BTN_HELP,15,39,14,12,BS_FLAT | NOT WS_TABSTOP + GROUPBOX "General",IDC_STATIC,7,65,144,118,WS_GROUP + CONTROL "Manage Miranda NG proxy",IDC_CHECK_MIRANDA,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,78,131,10 + CONTROL "Manage Internet Explorer proxy",IDC_CHECK_IE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,92,132,10 + CONTROL "Manage Firefox proxy",IDC_CHECK_FIREFOX,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,106,132,10 + CONTROL "Reconnect if IP address changes",IDC_CHECK_ALWAY_RECONNECT, + "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,120,132,10 + LTEXT "Hide interfaces",IDC_STATIC,15,165,62,8 + EDITTEXT IDC_EDIT_HIDEINTF,80,161,62,14,ES_AUTOHSCROLL + GROUPBOX "Popup options",IDC_STATIC,160,65,134,118,WS_GROUP + CONTROL "Enable popups",IDC_CHECK_POPUPS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,168,78,122,10 + CONTROL "",IDC_TEXTCOLOR,"ColourPicker",WS_TABSTOP,168,94,39,11 + CONTROL "Text color",IDC_STATIC,"Static",SS_SIMPLE,215,94,75,8 + CONTROL "",IDC_BGCOLOR,"ColourPicker",WS_TABSTOP,168,111,39,11 + CONTROL "Background color",IDC_STATIC,"Static",SS_SIMPLE,215,111,75,8 + CONTROL "Use default colors",IDC_CHECK_DEFAULTCOLORS, + "Button",BS_AUTOCHECKBOX | WS_TABSTOP,168,129,122,10 + CONTROL "Show proxy status on change",IDC_CHECK_SHOWPROXYSTATUS, + "Button",BS_AUTOCHECKBOX | WS_TABSTOP,168,143,123,10 + CTEXT "Restart of Miranda NG is required.",IDC_RESTARTREQUIRED,164,164,127,8,NOT WS_VISIBLE +END + +IDD_HELP DIALOGEX 0, 0, 302, 167 +STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +EXSTYLE WS_EX_PALETTEWINDOW | WS_EX_APPWINDOW +FONT 8, "MS Shell Dlg", 0, 0, 0x1 +BEGIN + LTEXT "Enter semicolon (;) separated list of IP network addresses in any of the formats below:\n\tIP/bits\t(10.0.0.1/24)\t\tIP/mask\t(10.0.0.1/255.255.255.0)\n\tIP1-2\t(10.0.0.1-50)\t\tIP1-IP2\t(10.0.0.1-10.0.2.255)",IDC_HELP_1,8,4,287,32 + LTEXT "Any entry in the 'Use proxy' list can be prefixed by an exclamation mark (!) to increase its priority. Entries with wrong syntax will be ignored. The plugin checks the IP addresses in the following way:",IDC_HELP_2,8,36,287,32 + LTEXT "\t1) Use proxy if any interface has prioritized 'Use proxy' address\n\t2) Don't use proxy if any interface has 'Direct connection' address\n\t3) Use proxy if any interface has 'Use proxy' address\n\t4) Do nothing if unknown or no address found",IDC_HELP_3,8,70,287,59 + PUSHBUTTON "OK",IDOK,195,149,50,14 + PUSHBUTTON "Cancel",IDCANCEL,250,149,50,14 +END + + +///////////////////////////////////////////////////////////////////////////// +// +// AFX_DIALOG_LAYOUT +// + +IDD_HELP AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +IDD_OPTIONS AFX_DIALOG_LAYOUT +BEGIN + 0 +END + +#endif // Neutral resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + -- cgit v1.2.3