30 struct hotkey_command;
52 static std::map<PREFERENCE_VIEW, std::pair<int,int>>
pef_view_map {
78 virtual const std::string& window_id()
const override;
81 virtual void post_show(window& )
override;
84 void initialize_callbacks();
85 void initialize_tabs(
listbox& selector);
89 template<
bool(*toggle_getter)(),
bool(*toggle_setter)(
bool),
int(*vol_getter)(),
void(*vol_setter)(
int)>
90 void initialize_sound_option_group(
const std::string& id_suffix);
92 void apply_pixel_scale();
97 void remove_friend_list_entry(
listbox& friends_list,
text_box& textbox);
100 void update_friends_list_controls(
listbox& list);
102 void set_visible_page(
unsigned int page,
const std::string& pager_id);
105 void on_page_select();
106 void on_tab_select();
107 void on_advanced_prefs_list_select(
listbox& tree);
110 void handle_res_select();
111 void fullscreen_toggle_callback();
112 void add_hotkey_callback(
listbox& hotkeys);
113 void remove_hotkey_callback(
listbox& hotkeys);
114 void default_hotkey_callback();
115 void hotkey_filter_callback();
const preferences::advanced_pref_list & adv_preferences_
std::vector< double > accl_speeds_
std::vector< const hotkey::hotkey_command * > visible_hotkeys_
std::vector< advanced_manager::option > advanced_pref_list
Definitions for the interface to Wesnoth Markup Language (WML).
const std::pair< int, int > & initial_index_
Keyboard shortcuts for game actions.
Class for a single line text area.
bool is_friend(const std::string &nick)
Modify, read and display user preferences.
Various uncategorised dialogs.
std::set< hotkey::HOTKEY_CATEGORY > visible_categories_
static std::map< PREFERENCE_VIEW, std::pair< int, int > > pef_view_map
Map containing page mappings that can be used to set the initially displayed page of the dialog...
group< preferences::lobby_joins > lobby_joins_group
Abstract base class for all modal dialogs.
#define DEFINE_SIMPLE_DISPLAY_WRAPPER(dialog)
Adds a bare-bones static display function to a dialog class that immediately invokes the dialogs's mo...
std::map< std::string, widget_item > widget_data
std::vector< point > resolutions_
base class of top level items, the only item which needs to store the final canvases to draw on...