The Battle for Wesnoth  1.17.4+dev
Classes | Namespaces | Macros
distributor.cpp File Reference
#include "gui/core/event/distributor.hpp"
#include "events.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 "gui/widgets/window.hpp"
#include "sdl/userevent.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::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() << "]: "

◆ LOG_HEADER [2/3]

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

Definition at line 576 of file distributor.cpp.

◆ LOG_HEADER [3/3]

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

Definition at line 576 of file distributor.cpp.

Variable Documentation

◆ button_click_event

const ui_event button_click_event

Definition at line 375 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 376 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 371 of file distributor.cpp.

◆ sdl_button_up_event

const ui_event sdl_button_up_event

Definition at line 372 of file distributor.cpp.