File: AboutFrame.h

package info (click to toggle)
opencpn 5.2.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 101,540 kB
  • sloc: ansic: 414,598; cpp: 253,008; xml: 83,748; sh: 409; python: 353; makefile: 110; javascript: 87; perl: 83
file content (94 lines) | stat: -rw-r--r-- 3,333 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Oct 26 2018)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#pragma once

#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
#include <wx/statbmp.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/string.h>
#include <wx/button.h>
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/hyperlink.h>
#include <wx/scrolwin.h>
#include <wx/html/htmlwin.h>
#if wxUSE_WEBVIEW && defined(HAVE_WEBVIEW)
#include <wx/webview.h>
#endif
#include <wx/panel.h>
#include <wx/frame.h>

///////////////////////////////////////////////////////////////////////////


///////////////////////////////////////////////////////////////////////////////
/// Class AboutFrame
///////////////////////////////////////////////////////////////////////////////
class AboutFrame : public wxFrame
{
	private:

	protected:
		wxStaticBitmap* m_bitmapLogo;
		wxButton* m_btnBack;
		wxScrolledWindow* m_scrolledWindowAbout;
		wxStaticText* m_staticTextOCPN;
		wxStaticText* m_staticTextVersion;
		wxStaticText* m_staticTextCopyYears;
		wxHyperlinkCtrl* m_hyperlinkAuthors;
		wxStaticText* m_staticTextDescription;
		wxStaticText* m_staticTextHelp;
		wxHyperlinkCtrl* m_hyperlinkDonate;
		wxStaticText* m_staticTextOr;
		wxHyperlinkCtrl* m_hyperlinkGetInvolved;
		wxStaticText* m_staticTextLogfile;
		wxHyperlinkCtrl* m_hyperlinkLogFile;
		wxStaticText* m_staticTextIniFile;
		wxHyperlinkCtrl* m_hyperlinkIniFile;
		wxHtmlWindow* m_htmlWinAuthors;
		wxHtmlWindow* m_htmlWinLicense;
#if wxUSE_WEBVIEW && defined(HAVE_WEBVIEW)
		wxWebView* m_htmlWinHelp;
#else
                wxHtmlWindow* m_htmlWinHelp;
#endif
		wxPanel* m_panelMainLinks;
		wxHyperlinkCtrl* m_hyperlinkWebsite;
		wxHyperlinkCtrl* m_hyperlinkHelp;
		wxHyperlinkCtrl* m_hyperlinkLicense;

		// Virtual event handlers, overide them in your derived class
		virtual void AboutFrameOnActivate( wxActivateEvent& event ) { event.Skip(); }
		virtual void AboutFrameOnClose( wxCloseEvent& event ) { event.Skip(); }
		virtual void m_btnBackOnButtonClick( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnLinkAuthors( wxHyperlinkEvent& event ) { event.Skip(); }
		virtual void OnLinkDonate( wxHyperlinkEvent& event ) { event.Skip(); }
		virtual void OnLinkGetInvolved( wxHyperlinkEvent& event ) { event.Skip(); }
		virtual void OnLinkLogfile( wxHyperlinkEvent& event ) { event.Skip(); }
		virtual void OnLinkConfigfile( wxHyperlinkEvent& event ) { event.Skip(); }
		virtual void m_htmlWinHelpOnHtmlLinkClicked( wxHtmlLinkEvent& event ) { event.Skip(); }
		virtual void OnLinkHelp( wxHyperlinkEvent& event ) { event.Skip(); }
		virtual void OnLinkLicense( wxHyperlinkEvent& event ) { event.Skip(); }


	public:

		AboutFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About OpenCPN"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxCAPTION|wxCLOSE_BOX|wxFRAME_FLOAT_ON_PARENT|wxFRAME_NO_TASKBAR|wxRESIZE_BORDER|wxTAB_TRAVERSAL );

		~AboutFrame();

};