The Battle for Wesnoth  1.19.5+dev
Classes | Namespaces | Macros
distributor.cpp File Reference
#include "gui/core/event/distributor.hpp"
#include "gui/core/log.hpp"
#include "gui/core/timer.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/widgets/text_box_base.hpp"
#include "gui/widgets/widget.hpp"
#include "sdl/input.hpp"
#include <array>
#include <functional>
Include dependency graph for distributor.cpp:

Go to the source code of this file.

Classes

class  gui2::event::resource_locker
 Small helper to keep a resource (boolean) locked. More...
 

Namespaces

 gui2
 Generic file dialog.
 
 gui2::event
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define LOG_HEADER   "distributor mouse motion [" << owner_.id() << "]: "
 
#define LOG_HEADER   "distributor mouse button " << I << " [" << owner_.id() << "]: "
 
#define LOG_HEADER   "distributor mouse motion [" << owner_.id() << "]: "
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 16 of file distributor.cpp.

◆ LOG_HEADER [1/3]

#define LOG_HEADER   "distributor mouse motion [" << owner_.id() << "]: "

Definition at line 574 of file distributor.cpp.

◆ LOG_HEADER [2/3]

#define LOG_HEADER   "distributor mouse button " << I << " [" << owner_.id() << "]: "

Definition at line 574 of file distributor.cpp.

◆ LOG_HEADER [3/3]

#define LOG_HEADER   "distributor mouse motion [" << owner_.id() << "]: "

Definition at line 574 of file distributor.cpp.

Variable Documentation

◆ button_click_event

const ui_event button_click_event

Definition at line 373 of file distributor.cpp.

Referenced by gui2::event::mouse_button< I >::mouse_button_click().

◆ button_double_click_event

const ui_event button_double_click_event

Definition at line 374 of file distributor.cpp.

Referenced by gui2::event::mouse_button< I >::mouse_button_click().

◆ button_down_event

const ui_event button_down_event

◆ button_up_event

const ui_event button_up_event

◆ sdl_button_down_event

const ui_event sdl_button_down_event

Definition at line 369 of file distributor.cpp.

◆ sdl_button_up_event

const ui_event sdl_button_up_event

Definition at line 370 of file distributor.cpp.