#include "gui/widgets/minimap.hpp"#include "gui/auxiliary/log.hpp"#include "gui/auxiliary/widget_definition/minimap.hpp"#include "gui/auxiliary/window_builder/minimap.hpp"#include "gui/widgets/settings.hpp"#include "map.hpp"#include "map_exception.hpp"#include "../../minimap.hpp"#include <boost/bind.hpp>#include <algorithm>
Go to the source code of this file.
Classes | |
| struct | gui2::tkey |
| Key type for the cache. More... | |
| struct | gui2::tvalue |
| Value type for the cache. More... | |
Namespaces | |
| namespace | gui2 |
A class inherited from ttext_box that displays its input as stars. | |
Defines | |
| #define | GETTEXT_DOMAIN "wesnoth-lib" |
| #define | ERR_CF LOG_STREAM_INDENT(err, log_config) |
| #define | LOG_SCOPE_HEADER get_control_type() + " [" + id() + "] " + __func__ |
| #define | LOG_HEADER LOG_SCOPE_HEADER + ':' |
Typedefs | |
| typedef std::map< tkey, tvalue > | gui2::tcache |
| The cache. | |
Functions | |
| static bool | gui2::operator< (const tkey &lhs, const tkey &rhs) |
| static bool | gui2::compare (const std::pair< unsigned, tcache::iterator > &lhs, const std::pair< unsigned, tcache::iterator > &rhs) |
| static void | gui2::shrink_cache () |
Variables | |
| static lg::log_domain | log_config ("config") |
| static const size_t | gui2::cache_max_size = 100 |
| Maximum number of items in the cache (multiple of 4). | |
| static const ::config * | gui2::terrain = NULL |
| The terrain used to create the cache. | |
| static tcache | gui2::cache |
| #define ERR_CF LOG_STREAM_INDENT(err, log_config) |
Definition at line 33 of file minimap.cpp.
Referenced by gui2::tminimap::get_image().
| #define GETTEXT_DOMAIN "wesnoth-lib" |
Definition at line 16 of file minimap.cpp.
| #define LOG_HEADER LOG_SCOPE_HEADER + ':' |
Definition at line 36 of file minimap.cpp.
Referenced by gui2::tminimap::impl_draw_background().
| #define LOG_SCOPE_HEADER get_control_type() + " [" + id() + "] " + __func__ |
Definition at line 35 of file minimap.cpp.
lg::log_domain log_config("config") [static] |
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:04:45 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |