16 #define GETTEXT_DOMAIN "wesnoth-lib"
42 if(allow_interaction) {
modeless_dialog(const std::string &window_id)
void show(const bool allow_interaction=false, const unsigned auto_close_time=0)
Shows the window.
virtual const std::string & window_id() const
The ID of the window to build.
virtual ~modeless_dialog()
base class of top level items, the only item which needs to store the final canvases to draw on.
void show_tooltip()
Shows the window as a tooltip.
void show_non_modal()
Shows the window non modal.
void remove_from_window_stack(window *window)
Removes a entry from the open_window_stack list.
const builder_window::window_resolution & get_window_builder(const std::string &type)
Returns an reference to the requested builder.
std::vector< window * > open_window_stack
Keeps track of any open windows of any type (modal, non-modal, or tooltip) in the order in which they...
bool headless()
The game is running headless.