The Battle for Wesnoth  1.19.7+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/math.hpp"
#include "wml_exception.hpp"
#include <functional>
#include <numeric>
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 16 of file slider.cpp.

◆ LOG_HEADER

#define LOG_HEADER   LOG_SCOPE_HEADER + ':'

Definition at line 36 of file slider.cpp.

◆ LOG_SCOPE_HEADER

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

Definition at line 35 of file slider.cpp.