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