16 #define GETTEXT_DOMAIN "wesnoth-lib"
84 : message_(), reason_(), time_()
86 register_text(
"message",
false, message_,
true);
87 register_text(
"reason",
false, reason_);
88 register_text(
"time",
false, time_);
89 register_label(
"user_label",
false, user);
91 set_always_save_fields(
true);
96 #if defined(_WIN32) || defined(__APPLE__)
98 = find_widget<ttext_box>(&window,
"message",
false,
false);
112 if(
tgrid*
g = find_widget<tgrid>(&window,
"mod_options",
false,
false)) {
113 g->set_active(authenticated);
122 if(
tbutton*
b = find_widget<tbutton>(&window,
"add_friend",
false,
false)) {
126 if(
tbutton*
b = find_widget<tbutton>(&window,
"add_ignore",
false,
false)) {
130 if(
tbutton*
b = find_widget<tbutton>(&window,
"remove",
false,
false)) {
134 if(
tbutton*
b = find_widget<tbutton>(&window,
"status",
false,
false)) {
138 if(
tbutton*
b = find_widget<tbutton>(&window,
"kick",
false,
false)) {
142 if(
tbutton*
b = find_widget<tbutton>(&window,
"ban",
false,
false)) {
REGISTER_DIALOG(label_settings)
Class for a single line text area.
Implements some helper classes to ease adding fields to a dialog and hide the synchronization needed...
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.
GLdouble GLdouble GLdouble b
void pre_show(twindow &window)
Inherited from tdialog.
GLsizei GLenum GLuint GLuint GLsizei char * message
void set_maximum_length(const size_t maximum_length)