27#include <guichan/actionlistener.hpp>
36 public gcn::ActionListener
44 void action(
const gcn::ActionEvent &event)
override;
49 void handleLink(
const std::string &link)
override;
54 void loadHelp(
const std::string &helpFile);
57 void loadFile(
const std::string &file);
A simple browser box able to handle links and forward events to the parent conteiner.
gcn::ScrollArea * mScrollArea
void loadFile(const std::string &file)
void action(const gcn::ActionEvent &event) override
Called when receiving actions from the widgets.
void handleLink(const std::string &link) override
Handles link action.
void loadHelp(const std::string &helpFile)
Loads help in the dialog.
A simple interface to windows that need to handle links from BrowserBox widget.