14 #define GETTEXT_DOMAIN "wesnoth-lib"
52 tbutton&
reset = find_widget<tbutton>(&window,
"orb_defaults",
false);
79 ttoggle_button& toggle = find_widget<ttoggle_button>(&window, prefix +
"show",
false);
89 tgrid& selection = find_widget<tgrid>(&window, prefix +
"selection",
false);
94 while(!iter->at_end(twalker_::child)) {
98 group.add_member(button,
id.substr(prefix.size()));
100 iter->next(twalker_::child);
102 group.set_member_states(initial);
void set_show_enemy_orb(bool show_orb)
std::string unmoved_color()
void set_moved_color(const std::string &color_id)
void set_allied_color(const std::string &color_id)
void set_unmoved_color(const std::string &color_id)
void post_show(twindow &window)
Inherited from tdialog.
std::map< std::string, tgroup< std::string > > groups_
void set_show_unmoved_orb(bool show_orb)
void setup_orb_group(const std::string &base_id, bool &shown, const std::string &initial, twindow &window, bool connect=true)
REGISTER_DIALOG(label_settings)
void connect_signal_mouse_left_click(tdispatcher &dispatcher, const tsignal_function &signal)
Connects a signal handler for a left mouse button click.
std::string enemy_orb_color
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.
virtual iterator::twalker_ * create_walker() override
See twidget::create_walker.
std::string ally_orb_color
void set_enemy_color(const std::string &color_id)
Dialog is closed with ok button.
void handle_reset_click(twindow &window)
void pre_show(twindow &window)
Inherited from tdialog.
void set_partial_color(const std::string &color_id)
void set_show_partial_orb(bool show_orb)
Modify, read and display user preferences.
std::string moved_orb_color
void set_show_moved_orb(bool show_orb)
std::string allied_color()
std::string unmoved_orb_color
std::string moved_color()
std::string partial_color()
connection connect(const std::string &host, int port)
Function to attempt to connect to a remote host.
std::string partial_orb_color
The walker abstract base class.
void set_value_bool(const bool value)
GLsizei const GLcharARB ** string
void set_show_allied_orb(bool show_orb)
std::string enemy_color()
void handle_toggle_click(bool &storage)