20 #include <SDL2/SDL_events.h>
23 #include "widgets/button.hpp"
24 #include "widgets/widget.hpp"
61 void move_in_history(std::deque<const topic *> &from, std::deque<const topic *> &to);
void move_in_history(std::deque< const topic * > &from, std::deque< const topic * > &to)
Move in the topic history.
const section & toplevel_
topic const * shown_topic_
void show_topic(const std::string &topic_id)
Display the topic with the specified identifier.
virtual void handle_event(const SDL_Event &event)
help_text_area text_area_
gui::button forward_button_
help_browser(const section &toplevel)
virtual void process_event()
virtual void update_location(const SDL_Rect &rect)
std::deque< const topic * > back_topics_
void update_cursor()
Update the current cursor, set it to the reference cursor if mousex, mousey is over a cross-reference...
std::deque< const topic * > forward_topics_
The area where the content is shown in the help browser.
A section contains topics and sections along with title and ID.
A topic contains a title, an id and some text.
An abstract description of a rectangle with integer coordinates.