19#ifndef DOCUMENTATIONBROWSER_HPP
20#define DOCUMENTATIONBROWSER_HPP
22#include <wx/treectrl.h>
23#include <wx/splitter.h>
24#include <wx/notebook.h>
This represents the main frame of the documentation browser, which contains the tabbed layout,...
void onPageClose(wxAuiNotebookEvent &event)
Event handler called, when the user closes the tab in some way.
void onPageChange(wxAuiNotebookEvent &event)
Event handler function called, when the user switches the tabs.
void OnToolbarEvent(wxCommandEvent &event)
Event handler function for clicks on the toolbar of the current window. Redirects all clicks to the H...
bool createNewPage(const wxString &docId)
Create a new viewer in a new page.
bool findAndSelectPage(const wxString &title)
Finds and selects the page with the passed title or returns false.
void prepareToolbar()
Private member function to prepare the toolbar of the main frame.
~DocumentationBrowser()
Documentation browser destructor. Removes the created IconManager object.
bool SetStartPage(const wxString &docId)
Public interface to set the start page.
void OnTreeClick(wxTreeEvent &event)
Event handler function to load the documentation article describing the clicked item.
void fillDocTree(NumeReWindow *mainwindow)
This private member function prepares the index tree of the documentation browser.
DocumentationBrowser(wxWindow *parent, const wxString &titletemplate, NumeReWindow *mainwindow)
Documentation browser constructor.
void setCurrentTabText(const wxString &text)
Change the text displayed on the current tab.
This class is the actual NumeRe main frame. The application's logic is implemented here.
This class generalizes a set of basic floating window functionalities like being closable by pressing...