The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Functions
filter.hpp File Reference

Define the common filters for the gui2::tpane class. More...

#include "global.hpp"
#include "gui/widgets/text_box.hpp"
#include "util.hpp"
#include "serialization/string_utils.hpp"
#include "serialization/unicode.hpp"
Include dependency graph for filter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 gui2
 A class inherited from ttext_box that displays its input as stars.
 

Functions

template<class T >
bool gui2::sort (const tpane::titem &lhs, const tpane::titem &rhs, const std::string &tag, const bool ascending)
 
bool gui2::contains (const tpane::titem &item, const std::string &tag, const ttext_box &text_box)
 A filter testing whether a search string is used in a text. More...
 

Detailed Description

Define the common filters for the gui2::tpane class.

Definition in file filter.hpp.