/***************************************************************************\ | Project: AE Installer | | By: Gumby & Iritscen | | File: About.h | | Function: Handles the About window! | | Created: 08/05/2009 11:10:32 | \***************************************************************************/ #ifndef _ABOUT_H_ #define _ABOUT_H_ /*! * Includes */ ////@begin includes #include "wx/statline.h" #include "wx/hyperlink.h" ////@end includes /*! * Forward declarations */ ////@begin forward declarations ////@end forward declarations /*! * Control identifiers */ ////@begin control identifiers #define ID_ABOUT 10020 #define ID_PANEL2 10021 #define SYMBOL_ABOUT_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL #define SYMBOL_ABOUT_TITLE _("About AE") #define SYMBOL_ABOUT_IDNAME ID_ABOUT #define SYMBOL_ABOUT_SIZE wxSize(400, 300) #define SYMBOL_ABOUT_POSITION wxDefaultPosition ////@end control identifiers /*! * About class declaration */ class About: public wxDialog { DECLARE_DYNAMIC_CLASS( About ) DECLARE_EVENT_TABLE() public: /// Constructors About(); 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 ); /// Creation 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 ); /// Destructor ~About(); /// Initialises member variables void Init(); /// Creates the controls and sizers void CreateControls(); ////@begin About event handler declarations ////@end About event handler declarations ////@begin About member function declarations /// Retrieves bitmap resources wxBitmap GetBitmapResource( const wxString& name ); /// Retrieves icon resources wxIcon GetIconResource( const wxString& name ); ////@end About member function declarations /// Should we show tooltips? static bool ShowToolTips(); ////@begin About member variables ////@end About member variables }; #endif // _ABOUT_H_