63 mgr_.changed_event_.attach_handler(
this);
74 message_ = find_widget<tlabel>(&window,
"lblMessage",
false,
true);
77 tbutton& quit_button = find_widget<tbutton>(
78 &window,
"btn_quit_game",
false);
91 assert(event_name ==
"user_choice_update");
static void quit_to_title()
user_choice_manager & mgr_
REGISTER_DIALOG(label_settings)
virtual void set_label(const t_string &label)
void connect_signal_mouse_left_click(tdispatcher &dispatcher, const tsignal_function &signal)
Connects a signal handler for a left mouse button click.
Contains the exception interfaces used to signal completion of a scenario, campaign or turn...
base class of top level items, the only item which needs to store the final canvases to draw on ...
A class inherited from ttext_box that displays its input as stars.
bool waiting()
Note: currently finished() does not imply !waiting() so you may need to check both.
events::generic_event changed_event_
const std::string & wait_message()
void close()
Requests to close the window.
virtual bool detach_handler(observer *obs)
void pre_show(twindow &window)
Inherited from tdialog.
virtual void handle_generic_event(const std::string &event_name)
GLsizei const GLcharARB ** string