The Battle for Wesnoth  1.17.0-dev
display.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2003 - 2021
3  by David White <dave@whitevine.net>
4  Part of the Battle for Wesnoth Project https://www.wesnoth.org/
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY.
12 
13  See the COPYING file for more details.
14 */
15 
16 #pragma once
17 
18 #include <string>
19 
20 namespace preferences {
22 
23  void set_turbo(bool ison);
24  void set_grid(bool ison);
25  void set_turbo_speed(double speed);
26  void set_color_cursors(bool value);
27 
28  // Control unit idle animations
29  void set_idle_anim(bool ison);
30  void set_idle_anim_rate(int rate);
31 
33  void set_show_standing_animations(bool value);
34 
36  bool show_theme_dialog();
37 } // end namespace preferences
bool show_theme_dialog()
Definition: display.cpp:117
void set_turbo(bool ison)
Definition: display.cpp:53
void set_grid(bool ison)
Definition: display.cpp:71
void set_preference_display_settings()
Definition: display.cpp:45
void set_show_standing_animations(bool value)
Definition: display.cpp:108
void show_wesnothd_server_search()
Definition: display.cpp:151
void set_idle_anim_rate(int rate)
Definition: display.cpp:95
void set_turbo_speed(double speed)
Definition: display.cpp:62
void set_idle_anim(bool ison)
Definition: display.cpp:87
Modify, read and display user preferences.
bool show_standing_animations()
Definition: display.cpp:103
void set_color_cursors(bool value)
Definition: display.cpp:80