15 #ifndef GUI_DIALOGS_ADDON_LIST_HPP_INCLUDED
16 #define GUI_DIALOGS_ADDON_LIST_HPP_INCLUDED
69 std::vector<std::string>
ids_;
void register_sort_button_alphabetical(twindow &window, const std::string &id, const std::string &prop_id)
void options_button_callback(twindow &window)
void register_sort_button(twindow &window, const std::string &id, const tgenerator_::torder_func &up, const tgenerator_::torder_func &down)
virtual const std::string & window_id() const
Inherited from tdialog, implemented by REGISTER_DIALOG.
Class for a single line text area.
void on_addon_select(twindow &window)
void browse_url_callback(ttext_box &url_box)
taddon_list(const config &cfg)
Definitions for the interface to Wesnoth Markup Language (WML).
std::function< bool(unsigned, unsigned)> torder_func
std::pair< const_child_iterator, const_child_iterator > const_child_itors
void register_sort_button_numeric(twindow &window, const std::string &id, const std::string &prop_id)
base class of top level items, the only item which needs to store the final canvases to draw on ...
void show_help(twindow &window)
A class inherited from ttext_box that displays its input as stars.
config::const_child_itors cfg_iterators_
Debug iterators for testing with –new-widgets.
void on_order_button_click(twindow &window, const tgenerator_::torder_func &up, const tgenerator_::torder_func &down, twidget &w)
Abstract base class for all dialogs.
void pre_show(twindow &window)
Inherited from tdialog.
std::map< std::string, addon_info > addons_list
GLubyte GLubyte GLubyte GLubyte w
void copy_url_callback(ttext_box &url_box)
const config & cfg_
Config which contains the list with the campaigns.
std::vector< tselectable_ * > orders_
addons_tracking_list tracking_info_
void on_filtertext_changed(ttext_ *textbox, const std::string &text)
std::vector< std::string > ids_
std::map< std::string, addon_tracking_info > addons_tracking_list
Shows the list of addons on the server.
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string
Abstract base class for text items.