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

Last change on this file since 492 was 487, checked in by iritscen, 15 years ago

Adding update feature; moving/neatening some code; adding globals.h

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////@end includes
19
20/*!
21 * Forward declarations
22 */
23
24////@begin forward declarations
25////@end forward declarations
26
27/*!
28 * Control identifiers
29 */
30
31////@begin control identifiers
32#define ID_ABOUT 10020
33#define ID_PANEL2 10021
34#define SYMBOL_ABOUT_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
35#define SYMBOL_ABOUT_TITLE _("About AE")
36#define SYMBOL_ABOUT_IDNAME ID_ABOUT
37#define SYMBOL_ABOUT_SIZE wxSize(400, 300)
38#define SYMBOL_ABOUT_POSITION wxDefaultPosition
39////@end control identifiers
40
41
42/*!
43 * About class declaration
44 */
45
46class About: public wxDialog
47{
48 DECLARE_DYNAMIC_CLASS( About )
49 DECLARE_EVENT_TABLE()
50
51public:
52 /// Constructors
53 About();
54 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 );
55
56 /// Creation
57 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 );
58
59 /// Destructor
60 ~About();
61
62 /// Initialises member variables
63 void Init();
64
65 /// Creates the controls and sizers
66 void CreateControls();
67
68////@begin About event handler declarations
69
70////@end About event handler declarations
71
72////@begin About member function declarations
73
74 /// Retrieves bitmap resources
75 wxBitmap GetBitmapResource( const wxString& name );
76
77 /// Retrieves icon resources
78 wxIcon GetIconResource( const wxString& name );
79////@end About member function declarations
80
81 /// Should we show tooltips?
82 static bool ShowToolTips();
83
84////@begin About member variables
85////@end About member variables
86};
87
88#endif
89 // _ABOUT_H_
Note: See TracBrowser for help on using the repository browser.