15 #define GETTEXT_DOMAIN "wesnoth-lib"
32 , server_information_(
info)
33 , announcements_(announcements)
45 listbox& tab_bar = find_widget<listbox>(&
window,
"tab_bar",
false);
Abstract base class for all modal dialogs.
window * get_window()
Returns a pointer to the dialog's window.
const std::string & server_information_
void tab_switch_callback()
const std::string & announcements_
virtual void pre_show(window &window) override
Actions to be taken before showing the window.
int get_selected_row() const
Returns the first selected row.
unsigned get_item_count() const
Returns the number of items in the listbox.
base class of top level items, the only item which needs to store the final canvases to draw on.
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.
#define VALIDATE(cond, message)
The macro to use for the validation of WML.