This namespace contains the 'global' settings. More...
Functions | |
std::vector< ttip > | get_tips () |
Variables | |
unsigned | screen_width = 0 |
The screen resolution should be available for all widgets since their drawing method will depend on it. More... | |
unsigned | screen_height = 0 |
unsigned | gamemap_x_offset = 0 |
The offset between the left edge of the screen and the gamemap. More... | |
unsigned | gamemap_width = 0 |
The size of the map area, if not available equal to the screen size. More... | |
unsigned | gamemap_height = 0 |
unsigned | popup_show_delay = 0 |
These are copied from the active gui. More... | |
unsigned | popup_show_time = 0 |
unsigned | help_show_time = 0 |
unsigned | double_click_time = 0 |
unsigned | repeat_button_repeat_time = 0 |
std::string | sound_button_click = "" |
std::string | sound_toggle_button_click = "" |
std::string | sound_toggle_panel_click = "" |
std::string | sound_slider_adjust = "" |
t_string | has_helptip_message |
static std::vector< ttip > | tips |
This namespace contains the 'global' settings.
std::vector< ttip > gui2::settings::get_tips | ( | ) |
Definition at line 67 of file settings.cpp.
References gui2::tips::shuffle().
Referenced by gui2::ttitle_screen::pre_show().
unsigned gui2::settings::double_click_time = 0 |
Definition at line 55 of file settings.cpp.
Referenced by gui2::tgui_definition::activate(), and gui2::event::tmouse_button< sdl_button_down, sdl_button_up, button_down, button_up, button_click, button_double_click >::mouse_button_click().
unsigned gui2::settings::gamemap_height = 0 |
Definition at line 50 of file settings.cpp.
Referenced by do_preferences_dialog(), gui2::get_screen_size_variables(), gui2::twindow::signal_handler_sdl_video_resize(), and gui2::twindow::update_screen_size().
unsigned gui2::settings::gamemap_width = 0 |
The size of the map area, if not available equal to the screen size.
Definition at line 49 of file settings.cpp.
Referenced by do_preferences_dialog(), gui2::get_screen_size_variables(), gui2::twindow::signal_handler_sdl_video_resize(), and gui2::twindow::update_screen_size().
unsigned gui2::settings::gamemap_x_offset = 0 |
The offset between the left edge of the screen and the gamemap.
Definition at line 47 of file settings.cpp.
Referenced by gui2::get_screen_size_variables(), and gui2::twindow::update_screen_size().
t_string gui2::settings::has_helptip_message |
Definition at line 63 of file settings.cpp.
Referenced by gui2::tgui_definition::activate(), and gui2::tcontrol::signal_handler_show_tooltip().
unsigned gui2::settings::help_show_time = 0 |
Definition at line 54 of file settings.cpp.
Referenced by gui2::tgui_definition::activate().
unsigned gui2::settings::popup_show_delay = 0 |
These are copied from the active gui.
Definition at line 52 of file settings.cpp.
Referenced by gui2::tgui_definition::activate().
unsigned gui2::settings::popup_show_time = 0 |
Definition at line 53 of file settings.cpp.
Referenced by gui2::tgui_definition::activate().
unsigned gui2::settings::repeat_button_repeat_time = 0 |
Definition at line 56 of file settings.cpp.
Referenced by gui2::tgui_definition::activate(), and gui2::trepeating_button::signal_handler_left_button_down().
unsigned gui2::settings::screen_height = 0 |
Definition at line 45 of file settings.cpp.
Referenced by do_preferences_dialog(), gui2::get_control(), gui2::get_screen_size_variables(), gui2::twindow::layout(), gui2::twindow::signal_handler_sdl_video_resize(), and gui2::twindow::update_screen_size().
unsigned gui2::settings::screen_width = 0 |
The screen resolution should be available for all widgets since their drawing method will depend on it.
Definition at line 44 of file settings.cpp.
Referenced by do_preferences_dialog(), gui2::get_control(), gui2::get_screen_size_variables(), gui2::twindow::layout(), help::unit_topic_generator::operator()(), gui2::twindow::signal_handler_sdl_video_resize(), and gui2::twindow::update_screen_size().
std::string gui2::settings::sound_button_click = "" |
Definition at line 58 of file settings.cpp.
Referenced by gui2::tgui_definition::activate(), gui2::tbutton::signal_handler_left_button_click(), gui2::tcombobox::signal_handler_left_button_click(), and gui2::trepeating_button::signal_handler_left_button_down().
std::string gui2::settings::sound_slider_adjust = "" |
Definition at line 61 of file settings.cpp.
Referenced by gui2::tgui_definition::activate(), and gui2::tslider::child_callback_positioner_moved().
std::string gui2::settings::sound_toggle_button_click = "" |
Definition at line 59 of file settings.cpp.
Referenced by gui2::tgui_definition::activate(), and gui2::ttoggle_button::signal_handler_left_button_click().
std::string gui2::settings::sound_toggle_panel_click = "" |
Definition at line 60 of file settings.cpp.
Referenced by gui2::tgui_definition::activate(), and gui2::ttoggle_panel::signal_handler_left_button_click().
|
static |
Definition at line 65 of file settings.cpp.
Referenced by gui2::tgui_definition::activate(), gui2::ttitle_screen::pre_show(), and gui2::ttitle_screen::update_tip().