diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2017-12-03 20:43:53 +0300 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2017-12-03 20:43:53 +0300 |
commit | 0ec22ff6659d9c64f4fbfdd6ead6dcd9f67215c3 (patch) | |
tree | f1637ea011527b3f4a49ee9eb6cb7b06fc2511b6 /plugins | |
parent | d6b147c2ee5ec58921d447a7fbccdf7965a3aeb9 (diff) |
SplashScreen: added link to addons site
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/SplashScreen/res/splash.rc | 61 | ||||
-rw-r--r-- | plugins/SplashScreen/src/options.cpp | 4 | ||||
-rw-r--r-- | plugins/SplashScreen/src/resource.h | 5 |
3 files changed, 38 insertions, 32 deletions
diff --git a/plugins/SplashScreen/res/splash.rc b/plugins/SplashScreen/res/splash.rc index ed6226ff89..b97c854df1 100644 --- a/plugins/SplashScreen/res/splash.rc +++ b/plugins/SplashScreen/res/splash.rc @@ -1,4 +1,4 @@ -//Microsoft Developer Studio generated resource script.
+// Microsoft Visual C++ generated resource script.
//
#include "..\src\resource.h"
@@ -13,6 +13,13 @@ #undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
+// Russian (Russia) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS)
+LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
+#pragma code_page(1251)
+
+/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
@@ -47,78 +54,72 @@ EXSTYLE WS_EX_CONTROLPARENT FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
GROUPBOX "Splash Options",IDC_STATIC,20,7,275,81
- CONTROL "Show splash",IDC_ACTIVE,"Button",BS_AUTOCHECKBOX |
- WS_TABSTOP,58,26,64,10
- CONTROL "Show random splash",IDC_RANDOM,"Button",BS_AUTOCHECKBOX |
- WS_TABSTOP,130,26,163,10
+ CONTROL "Show splash",IDC_ACTIVE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,58,26,64,10
+ CONTROL "Show random splash",IDC_RANDOM,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,130,26,163,10
EDITTEXT IDC_SPLASHPATH,69,39,145,13,ES_AUTOHSCROLL
PUSHBUTTON "...",IDC_CHOOSESPLASH,222,40,22,11
- CONTROL "Play sound",IDC_PLAYSND,"Button",BS_AUTO3STATE |
- WS_TABSTOP,58,55,64,10
+ CONTROL "Play sound",IDC_PLAYSND,"Button",BS_AUTO3STATE | WS_TABSTOP,58,55,64,10
EDITTEXT IDC_SNDPATH,69,67,145,13,ES_AUTOHSCROLL
PUSHBUTTON "...",IDC_CHOOSESND,222,68,22,11
GROUPBOX "Show Miranda Version",IDC_STATIC,20,90,275,42
- CONTROL "Enable",IDC_SHOWVERSION,"Button",BS_AUTOCHECKBOX |
- WS_TABSTOP,39,109,63,8
+ CONTROL "Enable",IDC_SHOWVERSION,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,39,109,63,8
LTEXT "Prefix:",IDC_STATIC,130,108,42,10
EDITTEXT IDC_VERSIONPREFIX,180,106,85,13,ES_AUTOHSCROLL
GROUPBOX "Appearance",IDC_STATIC,20,135,275,72
LTEXT "Display time:",IDC_STATIC,40,150,77,8
EDITTEXT IDC_SHOWTIME,130,149,39,12,ES_AUTOHSCROLL | ES_NUMBER
- CONTROL "",IDC_ST_SPIN,"msctls_updown32",UDS_SETBUDDYINT |
- UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS |
- UDS_NOTHOUSANDS,171,149,10,10
+ CONTROL "",IDC_ST_SPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,171,149,10,10
LTEXT "ms",IDC_STATIC,175,150,95,9
- CONTROL "Fade in:",IDC_FADEIN,"Button",BS_AUTOCHECKBOX |
- WS_TABSTOP,39,169,80,8
+ CONTROL "Fade in:",IDC_FADEIN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,39,169,80,8
EDITTEXT IDC_FISTEP,130,168,39,12,ES_AUTOHSCROLL
- CONTROL "",IDC_FI_SPIN,"msctls_updown32",UDS_SETBUDDYINT |
- UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,170,167,
- 10,10
+ CONTROL "",IDC_FI_SPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,170,167,10,10
LTEXT "steps",IDC_STATIC,176,169,95,9
- CONTROL "Fade out:",IDC_FADEOUT,"Button",BS_AUTOCHECKBOX |
- WS_TABSTOP,39,188,82,8
+ CONTROL "Fade out:",IDC_FADEOUT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,39,188,82,8
EDITTEXT IDC_FOSTEP,130,186,39,12,ES_AUTOHSCROLL
- CONTROL "",IDC_FO_SPIN,"msctls_updown32",UDS_SETBUDDYINT |
- UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,173,186,
- 10,10
+ CONTROL "",IDC_FO_SPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,173,186,10,10
LTEXT "steps",IDC_STATIC,176,187,95,9
- LTEXT "AdvaImg plugin not found. Please get it from https://miranda-ng.org/p/AdvaImg/ to be able to use images.",
- IDC_PNG2DIBWARN,24,210,185,17,NOT WS_VISIBLE
+ LTEXT "AdvaImg plugin not found. Please get it from https://miranda-ng.org/p/AdvaImg/ to be able to use images.",IDC_PNG2DIBWARN,24,210,185,17,NOT WS_VISIBLE
PUSHBUTTON "Preview...",IDC_PREVIEW,218,211,75,19
+ CONTROL "Download more splash screens",IDC_GETSPLASHES,"Hyperlink",WS_TABSTOP,23,228,100,12
END
+
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
-1 TEXTINCLUDE
+1 TEXTINCLUDE
BEGIN
"..\\src\\resource.h\0"
END
-2 TEXTINCLUDE
+2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
-3 TEXTINCLUDE
+3 TEXTINCLUDE
BEGIN
"\0"
END
#endif // APSTUDIO_INVOKED
-#ifndef APSTUDIO_INVOKED
+
/////////////////////////////////////////////////////////////////////////////
//
-// Generated from the TEXTINCLUDE 3 resource.
+// AFX_DIALOG_LAYOUT
//
+IDD_SPLASH_OPT AFX_DIALOG_LAYOUT
+BEGIN
+ 0
+END
+#endif // Russian (Russia) resources
/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
+
diff --git a/plugins/SplashScreen/src/options.cpp b/plugins/SplashScreen/src/options.cpp index 52ee655d78..000556cbbc 100644 --- a/plugins/SplashScreen/src/options.cpp +++ b/plugins/SplashScreen/src/options.cpp @@ -220,6 +220,10 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP break;
}
+ case IDC_GETSPLASHES:
+ Utils_OpenUrl("https://miranda-ng.org/addons/category/15");
+ break;
+
case IDC_CHOOSESND:
{
wchar_t szTempPath[MAX_PATH], initDir[MAX_PATH];
diff --git a/plugins/SplashScreen/src/resource.h b/plugins/SplashScreen/src/resource.h index 94480d0ce5..5920dc5806 100644 --- a/plugins/SplashScreen/src/resource.h +++ b/plugins/SplashScreen/src/resource.h @@ -1,5 +1,5 @@ //{{NO_DEPENDENCIES}}
-// Microsoft Developer Studio generated include file.
+// Microsoft Visual C++ generated include file.
// Used by splash.rc
//
#define IDD_SPLASH_OPT 102
@@ -19,6 +19,7 @@ #define IDC_FOSTEP 1017
#define IDC_FO_SPIN 1018
#define IDC_RANDOM 1019
+#define IDC_GETSPLASHES 1020
#define IDC_LOOPSOUND 1022
#define IDC_SHOWVERSION 1023
#define IDC_VERSIONPREFIX 1024
@@ -28,7 +29,7 @@ //
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 104
+#define _APS_NEXT_RESOURCE_VALUE 105
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1026
#define _APS_NEXT_SYMED_VALUE 101
|