mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-03 18:06:04 -05:00
Add hyperlinks to the about page
This commit is contained in:
parent
ee68d3905a
commit
6428e2f531
@ -22,6 +22,13 @@
|
|||||||
|
|
||||||
LRESULT CAboutPage::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
|
LRESULT CAboutPage::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
|
||||||
{
|
{
|
||||||
|
m_firefly_link.SubclassWindow(GetDlgItem(IDC_FIREFLYLINK));
|
||||||
|
m_firefly_link.SetHyperLink(_T("http://www.fireflymediaserver.org"));
|
||||||
|
|
||||||
|
m_roku_link.SetHyperLink(_T("http://www.rokulabs.com"));
|
||||||
|
m_roku_link.SubclassWindow(GetDlgItem(IDC_ROKULINK));
|
||||||
|
|
||||||
|
|
||||||
// Do this before we try and use the controls.
|
// Do this before we try and use the controls.
|
||||||
DoDataExchange(false);
|
DoDataExchange(false);
|
||||||
|
|
||||||
|
@ -35,6 +35,9 @@ class CAboutPage :
|
|||||||
|
|
||||||
int m_column_widths[SUBITEM_COUNT];
|
int m_column_widths[SUBITEM_COUNT];
|
||||||
|
|
||||||
|
CHyperLink m_roku_link;
|
||||||
|
CHyperLink m_firefly_link;
|
||||||
|
|
||||||
// String version of information ready to write to the clipboard
|
// String version of information ready to write to the clipboard
|
||||||
CString m_versions;
|
CString m_versions;
|
||||||
|
|
||||||
|
@ -68,16 +68,24 @@ STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|||||||
CAPTION "About"
|
CAPTION "About"
|
||||||
FONT 8, "MS Sans Serif", 0, 0, 0x0
|
FONT 8, "MS Sans Serif", 0, 0, 0x0
|
||||||
BEGIN
|
BEGIN
|
||||||
LTEXT "For help, tips and troubleshooting advice visit the Firefly Media Server website.",IDC_STATIC,12,92,197,23
|
LTEXT "For help, tips and troubleshooting advice visit the ",
|
||||||
PUSHBUTTON "Visit &Website...",IDC_WEBSITE,218,95,70,14
|
IDC_STATIC,12,92,156,9,NOT WS_GROUP
|
||||||
GROUPBOX "Version information",IDC_STATIC,6,125,288,96
|
GROUPBOX "Version information",IDC_STATIC,6,121,288,100
|
||||||
CONTROL "",IDC_VERSIONLIST,"SysListView32",LVS_REPORT | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,12,137,276,63
|
CONTROL "",IDC_VERSIONLIST,"SysListView32",LVS_REPORT |
|
||||||
|
LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,12,132,276,68
|
||||||
PUSHBUTTON "&Copy to Clipboard",IDC_COPY,218,203,70,14
|
PUSHBUTTON "&Copy to Clipboard",IDC_COPY,218,203,70,14
|
||||||
CONTROL 208,IDC_LOGO,"Static",SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN | WS_BORDER,6,7,288,73
|
CONTROL 208,IDC_LOGO,"Static",SS_BITMAP | SS_CENTERIMAGE |
|
||||||
|
SS_SUNKEN | WS_BORDER,6,7,288,73
|
||||||
|
LTEXT "Firefly Media Server website",IDC_FIREFLYLINK,167,92,90,
|
||||||
|
9,NOT WS_GROUP
|
||||||
|
LTEXT "For information on Firefly compatible music players, visit",
|
||||||
|
IDC_STATIC,12,106,172,9,NOT WS_GROUP
|
||||||
|
LTEXT "Roku's website",IDC_ROKULINK,186,106,52,9,NOT WS_GROUP
|
||||||
END
|
END
|
||||||
|
|
||||||
IDD_PAGE_BASIC DIALOGEX 0, 0, 300, 230
|
IDD_PAGE_BASIC DIALOGEX 0, 0, 300, 230
|
||||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
|
||||||
|
WS_SYSMENU
|
||||||
CAPTION "Library"
|
CAPTION "Library"
|
||||||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||||||
BEGIN
|
BEGIN
|
||||||
@ -87,28 +95,34 @@ BEGIN
|
|||||||
EDITTEXT IDC_PATH,66,57,222,14,ES_AUTOHSCROLL
|
EDITTEXT IDC_PATH,66,57,222,14,ES_AUTOHSCROLL
|
||||||
PUSHBUTTON "&Browse...",IDC_BROWSE,238,76,50,14
|
PUSHBUTTON "&Browse...",IDC_BROWSE,238,76,50,14
|
||||||
GROUPBOX "Security",IDC_STATIC,7,113,287,103
|
GROUPBOX "Security",IDC_STATIC,7,113,287,103
|
||||||
CONTROL "&Protect Firefly media library with a password",IDC_PROTECT,
|
CONTROL "&Protect Firefly media library with a password",
|
||||||
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,135,154,10
|
IDC_PROTECT,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,135,
|
||||||
|
154,10
|
||||||
EDITTEXT IDC_PASSWORD,174,132,114,14,ES_PASSWORD | ES_AUTOHSCROLL
|
EDITTEXT IDC_PASSWORD,174,132,114,14,ES_PASSWORD | ES_AUTOHSCROLL
|
||||||
LTEXT "Explanatory text about passwords go here. Why you'd want a password and what are the implications 'n' stuff.",IDC_STATIC,18,180,270,26,SS_NOPREFIX
|
LTEXT "Explanatory text about passwords go here. Why you'd want a password and what are the implications 'n' stuff.",
|
||||||
|
IDC_STATIC,18,180,270,26,SS_NOPREFIX
|
||||||
END
|
END
|
||||||
|
|
||||||
IDD_PAGE_LOG DIALOGEX 0, 0, 300, 220
|
IDD_PAGE_LOG DIALOGEX 0, 0, 300, 220
|
||||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
|
||||||
|
WS_SYSMENU
|
||||||
CAPTION "Log"
|
CAPTION "Log"
|
||||||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||||||
BEGIN
|
BEGIN
|
||||||
EDITTEXT IDC_LOG,6,6,288,189,ES_MULTILINE | ES_AUTOHSCROLL | ES_READONLY | WS_VSCROLL | WS_HSCROLL
|
EDITTEXT IDC_LOG,6,6,288,189,ES_MULTILINE | ES_AUTOHSCROLL |
|
||||||
|
ES_READONLY | WS_VSCROLL | WS_HSCROLL
|
||||||
PUSHBUTTON "&Refresh",IDC_REFRESH,244,200,50,14
|
PUSHBUTTON "&Refresh",IDC_REFRESH,244,200,50,14
|
||||||
END
|
END
|
||||||
|
|
||||||
IDD_PAGE_ADVANCED DIALOGEX 0, 0, 300, 220
|
IDD_PAGE_ADVANCED DIALOGEX 0, 0, 300, 220
|
||||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
|
||||||
|
WS_SYSMENU
|
||||||
CAPTION "Server"
|
CAPTION "Server"
|
||||||
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
||||||
BEGIN
|
BEGIN
|
||||||
GROUPBOX "Server Status",IDC_STATIC,6,7,288,82
|
GROUPBOX "Server Status",IDC_STATIC,6,7,288,82
|
||||||
LTEXT "Current state of the server goes here",IDC_SERVERSTATE,12,28,206,25
|
LTEXT "Current state of the server goes here",IDC_SERVERSTATE,
|
||||||
|
12,28,206,25
|
||||||
PUSHBUTTON "&Stop Server",IDC_STOPSERVICE,238,28,50,14
|
PUSHBUTTON "&Stop Server",IDC_STOPSERVICE,238,28,50,14
|
||||||
PUSHBUTTON "&Start Server",IDC_STARTSERVICE,238,28,50,14
|
PUSHBUTTON "&Start Server",IDC_STARTSERVICE,238,28,50,14
|
||||||
CONTROL "&Start Firefly when Windows starts",IDC_AUTOSTART,
|
CONTROL "&Start Firefly when Windows starts",IDC_AUTOSTART,
|
||||||
@ -116,10 +130,14 @@ BEGIN
|
|||||||
GROUPBOX "Advanced",IDC_STATIC,6,93,288,61
|
GROUPBOX "Advanced",IDC_STATIC,6,93,288,61
|
||||||
LTEXT "Server port number",IDC_STATIC,12,108,99,11
|
LTEXT "Server port number",IDC_STATIC,12,108,99,11
|
||||||
EDITTEXT IDC_SERVERPORT,105,105,42,14,ES_AUTOHSCROLL | ES_NUMBER
|
EDITTEXT IDC_SERVERPORT,105,105,42,14,ES_AUTOHSCROLL | ES_NUMBER
|
||||||
CONTROL "",IDC_PORTSPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS | UDS_HOTTRACK,146,105,11,14
|
CONTROL "",IDC_PORTSPIN,"msctls_updown32",UDS_SETBUDDYINT |
|
||||||
LTEXT "You may need to change this if another program is already using this port.",IDC_STATIC,12,129,276,23
|
UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS |
|
||||||
|
UDS_NOTHOUSANDS | UDS_HOTTRACK,146,105,11,14
|
||||||
|
LTEXT "You may need to change this if another program is already using this port.",
|
||||||
|
IDC_STATIC,12,129,276,23
|
||||||
GROUPBOX "Web administration",IDC_STATIC,6,159,288,54
|
GROUPBOX "Web administration",IDC_STATIC,6,159,288,54
|
||||||
LTEXT "Firefly Media Server also provides a web administration interface.",IDC_STATIC,12,177,206,20
|
LTEXT "Firefly Media Server also provides a web administration interface.",
|
||||||
|
IDC_STATIC,12,177,206,20
|
||||||
PUSHBUTTON "&Open",IDC_WEBADMIN,238,177,50,14
|
PUSHBUTTON "&Open",IDC_WEBADMIN,238,177,50,14
|
||||||
END
|
END
|
||||||
|
|
||||||
|
@ -205,14 +205,29 @@
|
|||||||
Name="Resource Files"
|
Name="Resource Files"
|
||||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
|
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
|
||||||
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
|
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}">
|
||||||
|
<File
|
||||||
|
RelativePath=".\res\FireflyShell.ico">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\FireflyShell.rc">
|
RelativePath=".\FireflyShell.rc">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\res\logo.bmp">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\res\ShellRunning.ico">
|
||||||
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\res\ShellStopped.ico">
|
||||||
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\README.txt">
|
RelativePath=".\README.txt">
|
||||||
</File>
|
</File>
|
||||||
</Files>
|
</Files>
|
||||||
<Globals>
|
<Globals>
|
||||||
|
<Global
|
||||||
|
Name="RESOURCE_FILE"
|
||||||
|
Value="FireflyShell.rc"/>
|
||||||
</Globals>
|
</Globals>
|
||||||
</VisualStudioProject>
|
</VisualStudioProject>
|
||||||
|
@ -50,6 +50,9 @@
|
|||||||
#define IDC_COPY 1016
|
#define IDC_COPY 1016
|
||||||
#define IDC_REFRESH 1018
|
#define IDC_REFRESH 1018
|
||||||
#define IDC_LOGO 1019
|
#define IDC_LOGO 1019
|
||||||
|
#define IDC_FIREFLYLINK 1020
|
||||||
|
#define IDC_FIREFLYLINK2 1021
|
||||||
|
#define IDC_ROKULINK 1021
|
||||||
#define ID_SHELLNOTIFY 4242
|
#define ID_SHELLNOTIFY 4242
|
||||||
|
|
||||||
// Next default values for new objects
|
// Next default values for new objects
|
||||||
@ -58,7 +61,7 @@
|
|||||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||||
#define _APS_NEXT_RESOURCE_VALUE 209
|
#define _APS_NEXT_RESOURCE_VALUE 209
|
||||||
#define _APS_NEXT_COMMAND_VALUE 32773
|
#define _APS_NEXT_COMMAND_VALUE 32773
|
||||||
#define _APS_NEXT_CONTROL_VALUE 1020
|
#define _APS_NEXT_CONTROL_VALUE 1022
|
||||||
#define _APS_NEXT_SYMED_VALUE 101
|
#define _APS_NEXT_SYMED_VALUE 101
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user