The Battle for Wesnoth  1.15.1+dev
Namespaces | Macros | Functions
slider.cpp File Reference
#include "gui/widgets/slider.hpp"
#include "formatter.hpp"
#include "gettext.hpp"
#include "gui/core/log.hpp"
#include "gui/core/register_widget.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/widgets/window.hpp"
#include "sdl/rect.hpp"
#include "sound.hpp"
#include "utils/general.hpp"
#include "wml_exception.hpp"
#include "utils/functional.hpp"
#include <boost/math/common_factor_rt.hpp>
Include dependency graph for slider.cpp:

Go to the source code of this file.

Namespaces

 gui2
 Generic file dialog.
 
 gui2::implementation
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define LOG_SCOPE_HEADER   get_control_type() + " [" + id() + "] " + __func__
 
#define LOG_HEADER   LOG_SCOPE_HEADER + ':'
 

Functions

static t_string gui2::default_value_label_generator (const std::vector< t_string > &value_labels, int item_position, int max)
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file slider.cpp.

◆ LOG_HEADER

#define LOG_HEADER   LOG_SCOPE_HEADER + ':'

◆ LOG_SCOPE_HEADER

#define LOG_SCOPE_HEADER   get_control_type() + " [" + id() + "] " + __func__

Definition at line 40 of file slider.cpp.

Referenced by gui2::slider::calculate_best_size().