10#include <wx/artprov.h>
11#include <wx/xrc/xmlres.h>
16#include <wx/statbmp.h>
20#include <wx/settings.h>
24#include <wx/stattext.h>
25#include <wx/hyperlink.h>
26#include <wx/scrolwin.h>
27#include <wx/html/htmlwin.h>
28#if wxUSE_WEBVIEW && defined(HAVE_WEBVIEW)
29#include <wx/webview.h>
42 wxStaticBitmap* m_bitmapLogo;
44 wxScrolledWindow* m_scrolledWindowAbout;
45 wxStaticText* m_staticTextOCPN;
46 wxStaticText* m_staticTextVersion;
47 wxStaticText* m_staticTextCopyYears;
48 wxHyperlinkCtrl* m_hyperlinkAuthors;
49 wxStaticText* m_staticTextDescription;
50 wxStaticText* m_staticTextHelp;
51 wxHyperlinkCtrl* m_hyperlinkDonate;
52 wxStaticText* m_staticTextOr;
53 wxHyperlinkCtrl* m_hyperlinkGetInvolved;
54 wxStaticText* m_staticTextLogfile;
55 wxHyperlinkCtrl* m_hyperlinkLogFile;
56 wxStaticText* m_staticTextIniFile;
57 wxHyperlinkCtrl* m_hyperlinkIniFile;
58 wxHtmlWindow* m_htmlWinAuthors;
59 wxHtmlWindow* m_htmlWinLicense;
60#if wxUSE_WEBVIEW && defined(HAVE_WEBVIEW)
61 wxWebView* m_htmlWinHelp;
63 wxHtmlWindow* m_htmlWinHelp;
65 wxPanel* m_panelMainLinks;
66 wxHyperlinkCtrl* m_hyperlinkWebsite;
67 wxHyperlinkCtrl* m_hyperlinkHelp;
68 wxHyperlinkCtrl* m_hyperlinkLicense;
71 virtual void AboutFrameOnActivate(wxActivateEvent& event) {
event.Skip(); }
72 virtual void AboutFrameOnClose(wxCloseEvent& event) {
event.Skip(); }
73 virtual void m_btnBackOnButtonClick(wxCommandEvent& event) {
event.Skip(); }
74 virtual void OnLinkAuthors(wxHyperlinkEvent& event) {
event.Skip(); }
75 virtual void OnLinkDonate(wxHyperlinkEvent& event) {
event.Skip(); }
76 virtual void OnLinkGetInvolved(wxHyperlinkEvent& event) {
event.Skip(); }
77 virtual void OnLinkLogfile(wxHyperlinkEvent& event) {
event.Skip(); }
78 virtual void OnLinkConfigfile(wxHyperlinkEvent& event) {
event.Skip(); }
79 virtual void m_htmlWinHelpOnHtmlLinkClicked(wxHtmlLinkEvent& event) {
82 virtual void OnLinkHelp(wxHyperlinkEvent& event) {
event.Skip(); }
83 virtual void OnLinkLicense(wxHyperlinkEvent& event) {
event.Skip(); }
86 AboutFrame(wxWindow* parent, wxWindowID
id = wxID_ANY,
87 const wxString& title = _(
"About OpenCPN"),
88 const wxPoint& pos = wxDefaultPosition,
89 const wxSize& size = wxSize(500, 300),
90 long style = wxCAPTION | wxCLOSE_BOX | wxFRAME_FLOAT_ON_PARENT |
91 wxFRAME_NO_TASKBAR | wxRESIZE_BORDER |