source: AE/Installer/trunk/source/about_window.h@ 368

Last change on this file since 368 was 324, checked in by iritscen, 15 years ago

Replacing old CLI source with new GUI source.

  • Property svn:executable set to *
File size: 2.3 KB
RevLine 
[324]1/////////////////////////////////////////////////////////////////////////////
2// Name: about_window.h
3// Purpose:
4// Author:
5// Modified by:
6// Created: 08/05/2009 11:10:32
7// RCS-ID:
8// Copyright:
9// Licence:
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _ABOUT_H_
13#define _ABOUT_H_
14
15
16/*!
17 * Includes
18 */
19
20////@begin includes
21#include "wx/statline.h"
22////@end includes
23
24/*!
25 * Forward declarations
26 */
27
28////@begin forward declarations
29////@end forward declarations
30
31/*!
32 * Control identifiers
33 */
34
35////@begin control identifiers
36#define ID_ABOUT 10020
37#define ID_PANEL2 10021
38#define SYMBOL_ABOUT_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
39#define SYMBOL_ABOUT_TITLE _("About AE")
40#define SYMBOL_ABOUT_IDNAME ID_ABOUT
41#define SYMBOL_ABOUT_SIZE wxSize(400, 300)
42#define SYMBOL_ABOUT_POSITION wxDefaultPosition
43////@end control identifiers
44
45
46/*!
47 * About class declaration
48 */
49
50class About: public wxDialog
51{
52 DECLARE_DYNAMIC_CLASS( About )
53 DECLARE_EVENT_TABLE()
54
55public:
56 /// Constructors
57 About();
58 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 );
59
60 /// Creation
61 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 );
62
63 /// Destructor
64 ~About();
65
66 /// Initialises member variables
67 void Init();
68
69 /// Creates the controls and sizers
70 void CreateControls();
71
72////@begin About event handler declarations
73
74////@end About event handler declarations
75
76////@begin About member function declarations
77
78 /// Retrieves bitmap resources
79 wxBitmap GetBitmapResource( const wxString& name );
80
81 /// Retrieves icon resources
82 wxIcon GetIconResource( const wxString& name );
83////@end About member function declarations
84
85 /// Should we show tooltips?
86 static bool ShowToolTips();
87
88////@begin About member variables
89////@end About member variables
90};
91
92#endif
93 // _ABOUT_H_
Note: See TracBrowser for help on using the repository browser.