15 #define GETTEXT_DOMAIN "wesnoth-lib"
33 , server_information_(
info)
34 , announcements_(announcements)
43 stacked_widget& pager = find_widget<stacked_widget>(
"tabs_container");
46 listbox& tab_bar = find_widget<listbox>(
"tab_bar");
55 stacked_widget& pager = find_widget<stacked_widget>(
"tabs_container");
56 listbox& tab_bar = find_widget<listbox>(
"tab_bar");
Abstract base class for all modal dialogs.
const std::string & server_information_
void tab_switch_callback()
virtual void pre_show() override
Actions to be taken before showing the window.
const std::string & announcements_
int get_selected_row() const
Returns the first selected row.
unsigned get_item_count() const
Returns the number of items in the listbox.
REGISTER_DIALOG(editor_edit_unit)
void connect_signal_notify_modified(dispatcher &dispatcher, const signal_notification &signal)
Connects a signal handler for getting a notification upon modification.
Add a special kind of assert to validate whether the input from WML doesn't contain any problems that...
#define VALIDATE(cond, message)
The macro to use for the validation of WML.