15 #define GETTEXT_DOMAIN "wesnoth-lib"
21 #include <SDL_video.h>
57 std::
string& category)
73 register_text(
"label",
true, text,
true);
74 register_text(
"category",
true, category,
false);
75 register_bool(
"immutable_toggle",
true, immutable);
76 register_bool(
"visible_fog_toggle",
true, visible_fog);
77 register_bool(
"visible_shroud_toggle",
true, visible_shroud);
void register_color_component(std::string widget_id, Uint8 SDL_Color::*component)
REGISTER_DIALOG(label_settings)
A class inherited from ttext_box that displays its input as stars.
GLdouble GLdouble GLdouble b
tfield_integer * register_integer(const std::string &id, const bool mandatory, const std::function< int()> &callback_load_value=std::function< int()>(), const std::function< void(const int)> &callback_save_value=std::function< void(const int)>())
Creates a new integer field.
GLsizei const GLfloat * value
void save_color_component(Uint8 SDL_Color::*component, const int value)
GLdouble GLdouble GLdouble r
int load_color_component(Uint8 SDL_Color::*component)
GLsizei const GLcharARB ** string