OpenCPN Partial API docs
AboutFrame.h
1 // C++ code generated with wxFormBuilder (version Oct 26 2018)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
8 #pragma once
9 
10 #include <wx/artprov.h>
11 #include <wx/xrc/xmlres.h>
12 #include <wx/intl.h>
13 #include <wx/bitmap.h>
14 #include <wx/image.h>
15 #include <wx/icon.h>
16 #include <wx/statbmp.h>
17 #include <wx/gdicmn.h>
18 #include <wx/font.h>
19 #include <wx/colour.h>
20 #include <wx/settings.h>
21 #include <wx/string.h>
22 #include <wx/button.h>
23 #include <wx/sizer.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>
30 #endif
31 #include <wx/panel.h>
32 #include <wx/frame.h>
33 
35 
39 class AboutFrame : public wxFrame {
40 private:
41 protected:
42  wxStaticBitmap* m_bitmapLogo;
43  wxButton* m_btnBack;
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;
62 #else
63  wxHtmlWindow* m_htmlWinHelp;
64 #endif
65  wxPanel* m_panelMainLinks;
66  wxHyperlinkCtrl* m_hyperlinkWebsite;
67  wxHyperlinkCtrl* m_hyperlinkHelp;
68  wxHyperlinkCtrl* m_hyperlinkLicense;
69 
70  // Virtual event handlers, overide them in your derived class
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) {
80  event.Skip();
81  }
82  virtual void OnLinkHelp(wxHyperlinkEvent& event) { event.Skip(); }
83  virtual void OnLinkLicense(wxHyperlinkEvent& event) { event.Skip(); }
84 
85 public:
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 |
92  wxTAB_TRAVERSAL);
93 
94  ~AboutFrame();
95 };
Class AboutFrame.
Definition: AboutFrame.h:39