stunnel4/src/resources.rc
2017-11-15 15:03:25 +01:00

143 lines
4.8 KiB
Plaintext

#include <windows.h>
#include "resources.h"
#include "version.h"
VS_VERSION_INFO VERSIONINFO
FILEVERSION STUNNEL_VERSION_FIELDS
PRODUCTVERSION STUNNEL_VERSION_FIELDS
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEFLAGS 0
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "Michal Trojnara"
VALUE "FileDescription", "stunnel - TLS offloading and load-balancing proxy"
VALUE "FileVersion", STUNNEL_VERSION
VALUE "InternalName", "stunnel"
VALUE "LegalCopyright", "© by Michal Trojnara, 1998-2017"
VALUE "OriginalFilename", "stunnel.exe"
VALUE "ProductName", STUNNEL_PRODUCTNAME
VALUE "ProductVersion", STUNNEL_VERSION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
IDI_STUNNEL_MAIN ICON "stunnel.ico"
IDI_STUNNEL_ACTIVE ICON "active.ico"
IDI_STUNNEL_ERROR ICON "error.ico"
IDI_STUNNEL_IDLE ICON "idle.ico"
IDM_MAINMENU MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Save Log As", IDM_SAVE_LOG
MENUITEM "Reopen &Log File", IDM_REOPEN_LOG, GRAYED
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
MENUITEM SEPARATOR
MENUITEM "&Close", IDM_CLOSE
END
#ifdef _WIN32_WCE
POPUP "&Config"
#else
POPUP "&Configuration"
#endif
BEGIN
MENUITEM "&Edit Configuration", IDM_EDIT_CONFIG
MENUITEM "&Reload Configuration", IDM_RELOAD_CONFIG
END
#ifdef _WIN32_WCE
POPUP "&Save Peer Certs"
#else
POPUP "&Save Peer Certificate"
#endif
BEGIN
MENUITEM "dummy", 0, GRAYED
END
POPUP "&Help"
BEGIN
MENUITEM "&About", IDM_ABOUT
MENUITEM SEPARATOR
MENUITEM "&Manual", IDM_MANPAGE
MENUITEM "&Homepage", IDM_HOMEPAGE
END
END
IDM_TRAYMENU MENU
BEGIN
POPUP "Ooops?"
BEGIN
MENUITEM "Show Log &Window", IDM_SHOW_LOG
MENUITEM SEPARATOR
POPUP "&Save Peer Certificate"
BEGIN
MENUITEM "dummy", 0, GRAYED
END
MENUITEM SEPARATOR
MENUITEM "&Edit Configuration", IDM_EDIT_CONFIG
MENUITEM "&Reload Configuration", IDM_RELOAD_CONFIG
MENUITEM "Reopen &Log File", IDM_REOPEN_LOG, GRAYED
MENUITEM SEPARATOR
MENUITEM "&Homepage", IDM_HOMEPAGE
MENUITEM "&Manual", IDM_MANPAGE
MENUITEM "&About", IDM_ABOUT
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
END
END
ABOUTBOX DIALOG DISCARDABLE 0, 0, 140, 68
STYLE DS_MODALFRAME|DS_CENTER|WS_POPUP|WS_CAPTION|WS_SYSMENU
CAPTION "About stunnel"
FONT 8, "MS Sans Serif"
BEGIN
ICON IDI_STUNNEL_MAIN, -1, 6, 6, 20, 20
LTEXT "stunnel version", -1, 30, 4, 49, 8
LTEXT STUNNEL_VERSION, -1, 79, 4, 57, 8
LTEXT "© by Michal Trojnara, 1998-2017", -1, 30, 12, 106, 8
LTEXT "All Rights Reserved", -1, 30, 20, 106, 8
LTEXT "Licensed under the GNU GPL version 2", -1, 4, 28, 132, 8
LTEXT "with a special exception for OpenSSL", -1, 4, 36, 132, 8
DEFPUSHBUTTON "OK",IDOK, 54, 48, 32, 14, WS_GROUP
END
PASSBOX DIALOG DISCARDABLE 0, 0, 156, 51
STYLE DS_MODALFRAME|DS_CENTER|WS_POPUP|WS_CAPTION|WS_SYSMENU
CAPTION ""
FONT 8, "MS Sans Serif"
BEGIN
ICON IDI_STUNNEL_MAIN, -1, 6, 6, 20, 20
LTEXT "Key passphrase:", -1, 30, 13, 56, 8
EDITTEXT IDE_PASSEDIT, 86, 11, 64, 12, ES_PASSWORD|ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK, 6, 30, 50, 14
PUSHBUTTON "Cancel",IDCANCEL, 100, 30, 50, 14
END
PINBOX DIALOG DISCARDABLE 0, 0, 156, 51
STYLE DS_MODALFRAME|DS_CENTER|WS_POPUP|WS_CAPTION|WS_SYSMENU
CAPTION ""
FONT 8, "MS Sans Serif"
BEGIN
ICON IDI_STUNNEL_MAIN, -1, 6, 6, 20, 20
LTEXT "SmartCard PIN:", -1, 30, 13, 56, 8
EDITTEXT IDE_PINEDIT, 86, 11, 64, 12, ES_PASSWORD|ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK, 6, 30, 50, 14
PUSHBUTTON "Cancel",IDCANCEL, 100, 30, 50, 14
END
STRINGTABLE
BEGIN
IDS_SERVICE_DESC "TLS offloading and load-balancing proxy"
END