The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
lobby_preferences.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 - 2016 by Tomasz Sniatowski <[email protected]>
3  Part of the Battle for Wesnoth Project http://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 #ifndef LOBBY_PREFERENCES_HPP_INCLUDED
16 #define LOBBY_PREFERENCES_HPP_INCLUDED
17 
18 #include <string>
19 
20 namespace preferences {
21 
22  bool sort_list();
23  void _set_sort_list(bool show);
24 
25  bool iconize_list();
26  void _set_iconize_list(bool show);
27 
28  bool whisper_friends_only();
29  void set_whisper_friends_only(bool v);
30 
33 
36 
37  bool playerlist_sort_name();
38  void set_playerlist_sort_name(bool v);
39 
41 
42  bool filter_lobby();
43  void set_filter_lobby(bool value);
44 
45  bool fi_invert();
46  void set_fi_invert(bool value);
47 
48  bool fi_vacant_slots();
49  void set_fi_vacant_slots(bool value);
50 
51  bool fi_friends_in_game();
52  void set_fi_friends_in_game(bool value);
53 
55  void set_fi_text(const std::string& search_string);
56 } //end namespace preferences
57 
58 
59 #endif
void set_filter_lobby(bool value)
void _set_sort_list(bool sort)
void set_fi_vacant_slots(bool value)
void set_playerlist_sort_name(bool v)
void set_fi_friends_in_game(bool value)
void set_fi_text(const std::string &search_string)
bool whisper_friends_only()
void set_playerlist_sort_relation(bool v)
bool auto_open_whisper_windows()
const GLdouble * v
Definition: glew.h:1359
GLsizei const GLfloat * value
Definition: glew.h:1817
void set_fi_invert(bool value)
Modify, read and display user preferences.
void set_auto_open_whisper_windows(bool v)
void show(CVideo &video, const std::string &window_id, const t_string &message, const tpoint &mouse)
Shows a tip.
Definition: tip.cpp:133
bool playerlist_sort_relation()
void set_whisper_friends_only(bool v)
GLsizei const GLcharARB ** string
Definition: glew.h:4503
bool playerlist_sort_name()
bool playerlist_group_players()
std::string fi_text()
void _set_iconize_list(bool sort)