15 #define GETTEXT_DOMAIN "wesnoth-lib"
31 find_widget<text_box>(
get_window(),
"prompt_box",
false).set_value(value);
36 text_box* prompt_box = find_widget<text_box>(&win,
"prompt_box",
false,
true);
42 value_ = find_widget<text_box>(&win,
"prompt_box",
false).get_value();
Abstract base class for all modal dialogs.
virtual void post_show(window &window) override
Actions to be taken after the window has been shown.
virtual void pre_show(window &window) override
The execute function.
base class of top level items, the only item which needs to store the final canvases to draw on.
void keyboard_capture(widget *widget)
REGISTER_DIALOG(editor_edit_unit)
SDL_Window * get_window()