32 #include <wx/notebook.h>
36 #define ID_DIALOG 10001
38 #define SYMBOL_ABOUT_TITLE _("About OpenCPN")
40 #define ID_DONATE 10010
41 #define ID_COPYINI 10011
42 #define ID_COPYLOG 10012
44 #define ID_NOTEBOOK_HELP 10002
49 DECLARE_DYNAMIC_CLASS(
about)
54 explicit about(wxWindow* parent, wxString License_Data_Locn,
55 wxWindowID
id = ID_DIALOG,
56 const wxString& caption = SYMBOL_ABOUT_TITLE,
57 const wxPoint& pos = wxDefaultPosition,
58 const wxSize& size = wxSize(500, 500),
59 long style = wxCAPTION | wxRESIZE_BORDER | wxSYSTEM_MENU |
61 bool Create(wxWindow* parent, wxWindowID
id = ID_DIALOG,
62 const wxString& caption = SYMBOL_ABOUT_TITLE,
63 const wxPoint& pos = wxDefaultPosition,
64 const wxSize& size = wxSize(500, 500),
65 long style = wxCAPTION | wxRESIZE_BORDER | wxSYSTEM_MENU |
68 void RecalculateSize(
void);
71 void CreateControls(
void);
73 void OnXidOkClick(wxCommandEvent& event);
74 void OnNBPageChange(wxNotebookEvent& event);
75 void OnDonateClick(wxCommandEvent& event);
76 void OnCopyClick(wxCommandEvent& event);
77 void OnClose(wxCloseEvent& event);
78 void SetColorScheme(
void);
83 bool m_blicensePageSet;
85 wxPanel* itemPanelAbout;
86 wxPanel* itemPanelAuthors;
87 wxPanel* itemPanelLicense;
88 wxPanel* itemPanelTips;
90 wxTextCtrl* pAuthorTextCtl;
91 wxTextCtrl* pLicenseTextCtl;
92 wxNotebook* pNotebook;
93 wxHtmlWindow* pAboutHTMLCtl;
94 wxHtmlWindow* pLicenseHTMLCtl;
95 wxHtmlWindow* pAuthorHTMLCtl;