source: AE/Installer/trunk/source/about.h @ 512

Last change on this file since 512 was 512, checked in by gumby, 11 years ago

Made the URL...an actual URL. :)

File size: 2.4 KB
Line 
1/***************************************************************************\
2| Project: AE Installer                                                                                                         |
3| By: Gumby & Iritscen                                                                                                          |
4| File: About.h                                                                                                                         |
5| Function: Handles the About window!                                                                           |
6| Created: 08/05/2009 11:10:32                                                                                          |
7\***************************************************************************/
8
9#ifndef _ABOUT_H_
10#define _ABOUT_H_
11
12/*!
13 * Includes
14 */
15
16////@begin includes
17#include "wx/statline.h"
18#include "wx/hyperlink.h"
19////@end includes
20
21/*!
22 * Forward declarations
23 */
24
25////@begin forward declarations
26////@end forward declarations
27
28/*!
29 * Control identifiers
30 */
31
32////@begin control identifiers
33#define ID_ABOUT 10020
34#define ID_PANEL2 10021
35#define SYMBOL_ABOUT_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
36#define SYMBOL_ABOUT_TITLE _("About AE")
37#define SYMBOL_ABOUT_IDNAME ID_ABOUT
38#define SYMBOL_ABOUT_SIZE wxSize(400, 300)
39#define SYMBOL_ABOUT_POSITION wxDefaultPosition
40////@end control identifiers
41
42
43/*!
44 * About class declaration
45 */
46
47class About: public wxDialog
48{   
49    DECLARE_DYNAMIC_CLASS( About )
50    DECLARE_EVENT_TABLE()
51
52public:
53    /// Constructors
54    About();
55    About( wxWindow* parent, wxWindowID id = SYMBOL_ABOUT_IDNAME, const wxString& caption = SYMBOL_ABOUT_TITLE, const wxPoint& pos = SYMBOL_ABOUT_POSITION, const wxSize& size = SYMBOL_ABOUT_SIZE, long style = SYMBOL_ABOUT_STYLE );
56
57    /// Creation
58    bool Create( wxWindow* parent, wxWindowID id = SYMBOL_ABOUT_IDNAME, const wxString& caption = SYMBOL_ABOUT_TITLE, const wxPoint& pos = SYMBOL_ABOUT_POSITION, const wxSize& size = SYMBOL_ABOUT_SIZE, long style = SYMBOL_ABOUT_STYLE );
59
60    /// Destructor
61    ~About();
62
63    /// Initialises member variables
64    void Init();
65
66    /// Creates the controls and sizers
67    void CreateControls();
68
69////@begin About event handler declarations
70
71////@end About event handler declarations
72
73////@begin About member function declarations
74
75    /// Retrieves bitmap resources
76    wxBitmap GetBitmapResource( const wxString& name );
77
78    /// Retrieves icon resources
79    wxIcon GetIconResource( const wxString& name );
80////@end About member function declarations
81
82    /// Should we show tooltips?
83    static bool ShowToolTips();
84
85////@begin About member variables
86////@end About member variables
87};
88
89#endif
90    // _ABOUT_H_
Note: See TracBrowser for help on using the repository browser.