From d6b147c2ee5ec58921d447a7fbccdf7965a3aeb9 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 3 Dec 2017 20:29:13 +0300 Subject: IEView: added link to addons site --- plugins/IEView/res/ieview.rc | 22 ++++++++++++++++++---- plugins/IEView/src/Options.cpp | 3 +++ plugins/IEView/src/resource.h | 3 ++- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/plugins/IEView/res/ieview.rc b/plugins/IEView/res/ieview.rc index 1f602697e2..a92ce0bee4 100644 --- a/plugins/IEView/res/ieview.rc +++ b/plugins/IEView/res/ieview.rc @@ -7,8 +7,7 @@ // // Generated from the TEXTINCLUDE 2 resource. // -#include "afxres.h" - +#include "afxres.h" ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS @@ -50,10 +49,14 @@ END // Icon with lowest ID value placed first to ensure application icon // remains consistent on all systems. IDI_RTL_ON ICON "rtl_on.ico" + IDI_RTL_OFF ICON "rtl_off.ico" + IDI_GROUP_ON ICON "group_on.ico" + IDI_GROUP_OFF ICON "group_off.ico" + ///////////////////////////////////////////////////////////////////////////// // // Dialog @@ -105,6 +108,7 @@ BEGIN CONTROL "Show date",IDC_LOG_SHOW_DATE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,145,173,143,10 CONTROL "Use long date format",IDC_LOG_LONG_DATE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,157,183,131,10 CONTROL "Use relative timestamp",IDC_LOG_RELATIVE_DATE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,157,193,131,10 + CONTROL "Download more templates",IDC_GETTEMPLATES,"Hyperlink",WS_TABSTOP,119,145,100,12 END @@ -156,6 +160,17 @@ BEGIN END #endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// AFX_DIALOG_LAYOUT +// + +IDD_SRMM_OPTIONS AFX_DIALOG_LAYOUT +BEGIN + 0 +END + #endif // English (United States) resources ///////////////////////////////////////////////////////////////////////////// @@ -166,8 +181,7 @@ END // // Generated from the TEXTINCLUDE 3 resource. // - - + ///////////////////////////////////////////////////////////////////////////// #endif // not APSTUDIO_INVOKED diff --git a/plugins/IEView/src/Options.cpp b/plugins/IEView/src/Options.cpp index 36b9726dd4..bad5e10bba 100644 --- a/plugins/IEView/src/Options.cpp +++ b/plugins/IEView/src/Options.cpp @@ -639,6 +639,9 @@ static INT_PTR CALLBACK IEViewSRMMOptDlgProc(HWND hwndDlg, UINT msg, WPARAM wPar UpdateControlsState(hwndDlg); MarkChanges(2, hwndDlg); break; + case IDC_GETTEMPLATES: + Utils_OpenUrl("https://miranda-ng.org/addons/category/16"); + break; } } break; diff --git a/plugins/IEView/src/resource.h b/plugins/IEView/src/resource.h index f4c7095b47..f3c6a430b6 100644 --- a/plugins/IEView/src/resource.h +++ b/plugins/IEView/src/resource.h @@ -51,6 +51,7 @@ #define IDC_PROTOLIST 1063 #define IDC_RTLSUPPORT 1070 #define IDC_GROUPSUPPORT 1071 +#define IDC_GETTEMPLATES 1072 #define IDC_TABS 2000 #define ID_MENU_SHOWSOURCE 2139 #define ID_MENU_COPYLINK 2262 @@ -62,7 +63,7 @@ // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 101 +#define _APS_NEXT_RESOURCE_VALUE 102 #define _APS_NEXT_COMMAND_VALUE 40001 #define _APS_NEXT_CONTROL_VALUE 1000 #define _APS_NEXT_SYMED_VALUE 101 -- cgit v1.2.3