16 #define GETTEXT_DOMAIN "wesnoth-lib" 49 if(allow_interaction) {
virtual ~modeless_dialog()
virtual void post_build(window &window)
Actions to be taken directly after the window is build.
static CVideo & get_singleton()
virtual const std::string & window_id() const =0
The id of the window to build.
std::unique_ptr< window > build_window() const
Builds the window.
void remove_from_window_stack(window *window)
Removes a entry from the open_window_stack list.
void hide()
Hides the window.
virtual void pre_show(window &window)
Actions to be taken before showing the window.
std::unique_ptr< window > window_
The window, used in show.
void show(const bool allow_interaction=false, const unsigned auto_close_time=0)
Shows the window.
std::unique_ptr< window > build(const builder_window::window_resolution &definition)
Builds a window.
base class of top level items, the only item which needs to store the final canvases to draw on...
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...