ToolMap
Loading...
Searching...
No Matches
tmabout_dlg.h
1/***************************************************************************
2 tmabout_dlg.h
3 about dialog (inspired by firefox about)
4 -------------------
5 copyright : (C) 2007 CREALP Lucien Schreiber
6 ***************************************************************************/
7
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16
17// comment doxygen
18
19#ifndef _TM_ABOUT_DLG_H_
20#define _TM_ABOUT_DLG_H_
21
22// For compilers that support precompilation, includes "wx/wx.h".
23#include <wx/wxprec.h>
24
25// Include wxWidgets' headers
26#ifndef WX_PRECOMP
27#include <wx/wx.h>
28#endif
29
30#define ID_ABOUT_BTN 22420
31
32#include <wx/html/htmlwin.h>
33#include <wx/hyperlink.h>
34// TODO: Change this for using wxGenericStaticBitmap (2.9.0)
35// #include <wx/generic/statbmpg.h> // for big static bitmap
36
37const wxString g_CodeName = "NUGLAR";
38
39class tmAboutDLG : public wxDialog {
40 private:
41 wxStaticText* m_TextVersion;
42 wxPanel* m_PanelLicence;
43 wxPanel* m_PanelAuthor;
44 wxButton* m_Button;
45
46 void CreateControls(wxWindow* parent);
47
48 wxString GetVersionText();
49
50 wxString GetComponentsVersion();
51
52 wxString GetButtonText();
53
54 void OnButton(wxCommandEvent& event);
55
56 DECLARE_EVENT_TABLE();
57
58 protected:
59 public:
60 tmAboutDLG(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString,
61 const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
62 long style = wxDEFAULT_DIALOG_STYLE);
63
65};
66
67#endif
Definition tmabout_dlg.h:39