The Battle for Wesnoth  1.17.0-dev
Public Attributes | List of all members
gui2::event::mouse_button_event_types Struct Reference

Small helper metastruct to configure instances of mouse_button. More...

#include <distributor.hpp>

Public Attributes

ui_event sdl_button_down_event
 
ui_event sdl_button_up_event
 
ui_event button_down_event
 
ui_event button_up_event
 
ui_event button_click_event
 
ui_event button_double_click_event
 
int32_t mask
 Bitmask corresponding to this button's bit in SDL_GetMouseState's return value. More...
 
std::string name
 used for debug messages. More...
 

Detailed Description

Small helper metastruct to configure instances of mouse_button.

Definition at line 161 of file distributor.hpp.

Member Data Documentation

◆ button_click_event

ui_event gui2::event::mouse_button_event_types::button_click_event

Definition at line 167 of file distributor.hpp.

Referenced by gui2::event::mouse_button::mouse_button_click().

◆ button_double_click_event

ui_event gui2::event::mouse_button_event_types::button_double_click_event

Definition at line 168 of file distributor.hpp.

Referenced by gui2::event::mouse_button::mouse_button_click().

◆ button_down_event

ui_event gui2::event::mouse_button_event_types::button_down_event

◆ button_up_event

ui_event gui2::event::mouse_button_event_types::button_up_event

◆ mask

int32_t gui2::event::mouse_button_event_types::mask

Bitmask corresponding to this button's bit in SDL_GetMouseState's return value.

Definition at line 170 of file distributor.hpp.

Referenced by gui2::event::mouse_button::initialize_state().

◆ name

std::string gui2::event::mouse_button_event_types::name

used for debug messages.

Definition at line 172 of file distributor.hpp.

◆ sdl_button_down_event

ui_event gui2::event::mouse_button_event_types::sdl_button_down_event

◆ sdl_button_up_event

ui_event gui2::event::mouse_button_event_types::sdl_button_up_event

The documentation for this struct was generated from the following file: