#include "wx/listbox.h"
#include "wx/choice.h"
#include "wx/combobox.h"
+#include "wx/checkbox.h"
#include "wx/stattext.h"
#include "wx/html/htmlwin.h"
// (+ : page must contain the word ; - : page can't contain the word)
// * if there is no + or - before the word, + is default
- void RefreshLists(bool show_progress = FALSE);
- // Refreshes Contents and Index tabs
-
- void CreateContents(bool show_progress = FALSE);
- // Adds items to m_Contents tree control
-
- void CreateIndex(bool show_progress = FALSE);
- // Adds items to m_IndexList
-
- void CreateSearch();
- // Add books to search choice panel
-
void UseConfig(wxConfigBase *config, const wxString& rootpath = wxEmptyString)
{
m_Config = config;
void WriteCustomization(wxConfigBase *cfg, const wxString& path = wxEmptyString);
// ...
+ protected:
+ void Init(wxHtmlHelpData* data = NULL);
+
+ void RefreshLists();
+ // Refreshes Contents and Index tabs
+
+ void CreateContents();
+ // Adds items to m_Contents tree control
+
+ void CreateIndex();
+ // Adds items to m_IndexList
+
+ void CreateSearch();
+ // Add books to search choice panel
+
+ virtual void AddToolbarButtons(wxToolBar *toolBar, int style);
+ // Add custom buttons to toolbar
+
virtual void OptionsDialog();
// Displays options dialog (fonts etc.)
wxListBox *m_SearchList;
wxChoice *m_SearchChoice;
wxStaticText *m_IndexCountInfo;
+ wxCheckBox *m_SearchCaseSensitive;
+ wxCheckBox *m_SearchWholeWords;
wxComboBox *m_Bookmarks;
wxArrayString m_BookmarksNames, m_BookmarksPages;
int m_FontSize; // 0,1,2 = small,medium,big
wxString m_NormalFace, m_FixedFace;
- protected:
- void Init(wxHtmlHelpData* data = NULL);
-
DECLARE_EVENT_TABLE()
};
-#endif
+#endif // wxUSE_HTML
#endif