Go to the source code of this file.
Namespaces | |
| namespace | gui2 |
| Generic file dialog. | |
| namespace | gui2::settings |
| This namespace contains the 'global' settings. | |
Functions | |
| void | gui2::settings::update_screen_size_variables () |
| Update the size of the screen variables in settings. | |
Variables | |
| bool | gui2::new_widgets = false |
| Do we wish to use the new library or not. | |
| unsigned | gui2::settings::screen_width = 0 |
| The screen resolution and pixel pitch should be available for all widgets since their drawing method might depend on it. | |
| unsigned | gui2::settings::screen_height = 0 |
| unsigned | gui2::settings::gamemap_x_offset = 0 |
| The offset between the left edge of the screen and the gamemap. | |
| unsigned | gui2::settings::gamemap_width = 0 |
| The size of the map area, if not available equal to the screen size. | |
| unsigned | gui2::settings::gamemap_height = 0 |
| std::chrono::milliseconds | gui2::settings::popup_show_delay {0} |
| Delay before a popup shows. | |
| std::chrono::milliseconds | gui2::settings::popup_show_time {0} |
| std::chrono::milliseconds | gui2::settings::help_show_time {0} |
| std::chrono::milliseconds | gui2::settings::double_click_time {0} |
| The interval between two clicks to be detected as double click. | |
| std::chrono::milliseconds | gui2::settings::repeat_button_repeat_time {0} |
| How much a repeating button need to be held before the action repeats. | |
| std::string | gui2::settings::sound_button_click = "" |
| std::string | gui2::settings::sound_toggle_button_click = "" |
| std::string | gui2::settings::sound_toggle_panel_click = "" |
| std::string | gui2::settings::sound_slider_adjust = "" |
| t_string | gui2::settings::has_helptip_message |
| std::vector< game_tip > | gui2::settings::tips |