5 #include <wx/aui/framemanager.h> 7 #include <wx/html/helpctrl.h> 8 #include <boost/make_shared.hpp> 25 MyFrame(
const wxString& title, wxString
const &installationDirectory);
36 void OnQuit(wxCommandEvent& event);
42 void OnAbout(wxCommandEvent& event);
48 void OnClose( wxCloseEvent &e );
66 void SetAuiManager(boost::shared_ptr<wxAuiManager> otherAuiManager);
78 void OnHelp(wxCommandEvent& event);
81 boost::shared_ptr<wxAuiManager> auiManager;
82 wxHtmlHelpController *cpHelp;
83 wxString installationDirectory;
85 wxDECLARE_EVENT_TABLE();
void OnQuit(wxCommandEvent &event)
Handle quit.
void OnFullscreen(wxCommandEvent &e)
Toggle fullscreen mode on/off.
The main frame for the application.
Definition: Mainframe.h:18
MyFrame(const wxString &title, wxString const &installationDirectory)
Constructor.
virtual ~MyFrame()
Destructor.
void OnHelp(wxCommandEvent &event)
Show help window.
void SetAuiManager(boost::shared_ptr< wxAuiManager > otherAuiManager)
Set Advanced User Interface (AUI) manager.
void OnAbout(wxCommandEvent &event)
Show about dialog.
boost::shared_ptr< wxAuiManager > GetAuiManager() const
Get Advanced User Interface (AUI) manager.
void OnClose(wxCloseEvent &e)
Handle close.
void OnUpdateFullscreen(wxUpdateUIEvent &e)
Toggle check/uncheck fullscreen depending on mode.