MainFrame

The main frame of the application. Inherits from wxFrame

public:

MainFrame( const std::string& Title, const wxPoint& Pos, const wxSize& Size)

~MainFrame( )

void CreateGroup( const wxPoint& Position)

void CreateClass( const wxPoint& Position)

void CreateFromHeader( const wxPoint& Position)

void Open( const std::string& FileName)

MainView* GetMainView( ) const

std::string GetCurrentPath( ) const


protected:


private:

enum ChildIDs


enum MainMenuIDs


static const std::string XML_INHERITENCE_NAME

void Save( std::string FileName)

void ResetMainView( )

sets the zoom back to 100%

void OnClose( wxCloseEvent& Event)

void OnFileNew( wxCommandEvent& Event)

void OnFileOpen( wxCommandEvent& Event)

void OnFileSave( wxCommandEvent& Event)

void OnFileSaveAs( wxCommandEvent& Event)

void OnFilePrint( wxCommandEvent& Event)

void OnFileExit( wxCommandEvent& Event)

void OnViewDocColour( wxCommandEvent& Event)

void OnCreateGroup( wxCommandEvent& Event)

void OnCreateClass( wxCommandEvent& Event)

void OnCreateFromHeader( wxCommandEvent& Event)

void OnCustomGenerateHTML( wxCommandEvent& Event)

void OnGenerateHeaders( wxCommandEvent& Event)

void OnGenerateHTML( wxCommandEvent& Event)

void OnSettingsColour( wxCommandEvent& Event)

void OnSettingsUpdateCheck( wxCommandEvent& Event)

void OnHelpAbout( wxCommandEvent& Event)

void OnComboZoomSelected( wxCommandEvent& Event)

void OnComboZoomEntered( wxCommandEvent& Event)

MainView* m_pMainView

wxComboBox* m_pZoomCombo

std::string m_FileName

boost::posix_time::ptime m_LastSaveTime

DECLARE_EVENT_TABLE()