54 virtual const std::string&
window_id()
const override;
64 void show_topic(std::string topic_id,
bool add_to_history =
true);
A config object defines a single node in a WML file, with access to child nodes.
A class grating read only view to a vector of config objects, viewed as one config with all children ...
const help::section & toplevel_
std::string initial_topic_
void show_topic(std::string topic_id, bool add_to_history=true)
std::map< std::string, int > parsed_pages_
virtual void pre_show() override
Actions to be taken before showing the window.
void on_history_navigate(bool backwards)
tree_view_node & add_topic(const std::string &topic_id, const std::string &topic_title, bool expands, tree_view_node &parent)
virtual const std::string & window_id() const override
The ID of the window to build.
help_browser(const help::section &toplevel, const std::string &initial="")
std::vector< std::string > history_
void add_topics_for_section(const help::section &parent_section, tree_view_node &parent_node)
Abstract base class for all modal dialogs.
#define DEFINE_SIMPLE_DISPLAY_WRAPPER(dialog)
Adds a bare-bones static display function to a dialog class that immediately invokes the dialogs's mo...
Various uncategorised dialogs.
A section contains topics and sections along with title and ID.