15 #define GETTEXT_DOMAIN "wesnoth-lib"
67 register_label(
"login_label",
false, label);
68 register_text(
"user_name",
74 register_text(
"password",
81 register_bool(
"remember_password",
90 = find_widget<tbutton>(&window,
"password_reminder",
false,
false)) {
92 button->set_retval(1);
96 = find_widget<tbutton>(&window,
"change_username",
false,
false)) {
98 button->set_retval(2);
106 find_widget<tpassword_box>(&window,
"password",
false)
void set_password(const std::string &password)
void pre_show(twindow &window)
Inherited from tdialog.
void set_remember_password(bool remember)
REGISTER_DIALOG(label_settings)
void set_login(const std::string &username)
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.
Dialog is closed with ok button.
void post_show(twindow &window)
Inherited from tdialog.