The Battle for Wesnoth  1.15.1+dev
Static Public Attributes | List of all members
gui2::event::mouse_button_event_types_wrapper< sdl_button_down, sdl_button_up, button_down, button_up, button_click, button_double_click > Struct Template Reference

Small helper metastruct to specialize mouse_button with and provide ui_event type aliases without needing to make mouse_button take a million template types. More...

#include <distributor.hpp>

Static Public Attributes

static const ui_event sdl_button_down_event = sdl_button_down
 
static const ui_event sdl_button_up_event = sdl_button_up
 
static const ui_event button_down_event = button_down
 
static const ui_event button_up_event = button_up
 
static const ui_event button_click_event = button_click
 
static const ui_event button_double_click_event = button_double_click
 

Detailed Description

template<ui_event sdl_button_down, ui_event sdl_button_up, ui_event button_down, ui_event button_up, ui_event button_click, ui_event button_double_click>
struct gui2::event::mouse_button_event_types_wrapper< sdl_button_down, sdl_button_up, button_down, button_up, button_click, button_double_click >

Small helper metastruct to specialize mouse_button with and provide ui_event type aliases without needing to make mouse_button take a million template types.

Definition at line 168 of file distributor.hpp.

Member Data Documentation

◆ button_click_event

template<ui_event sdl_button_down, ui_event sdl_button_up, ui_event button_down, ui_event button_up, ui_event button_click, ui_event button_double_click>
const ui_event gui2::event::mouse_button_event_types_wrapper< sdl_button_down, sdl_button_up, button_down, button_up, button_click, button_double_click >::button_click_event = button_click
static

Definition at line 174 of file distributor.hpp.

◆ button_double_click_event

template<ui_event sdl_button_down, ui_event sdl_button_up, ui_event button_down, ui_event button_up, ui_event button_click, ui_event button_double_click>
const ui_event gui2::event::mouse_button_event_types_wrapper< sdl_button_down, sdl_button_up, button_down, button_up, button_click, button_double_click >::button_double_click_event = button_double_click
static

Definition at line 175 of file distributor.hpp.

◆ button_down_event

template<ui_event sdl_button_down, ui_event sdl_button_up, ui_event button_down, ui_event button_up, ui_event button_click, ui_event button_double_click>
const ui_event gui2::event::mouse_button_event_types_wrapper< sdl_button_down, sdl_button_up, button_down, button_up, button_click, button_double_click >::button_down_event = button_down
static

Definition at line 172 of file distributor.hpp.

◆ button_up_event

template<ui_event sdl_button_down, ui_event sdl_button_up, ui_event button_down, ui_event button_up, ui_event button_click, ui_event button_double_click>
const ui_event gui2::event::mouse_button_event_types_wrapper< sdl_button_down, sdl_button_up, button_down, button_up, button_click, button_double_click >::button_up_event = button_up
static

Definition at line 173 of file distributor.hpp.

◆ sdl_button_down_event

template<ui_event sdl_button_down, ui_event sdl_button_up, ui_event button_down, ui_event button_up, ui_event button_click, ui_event button_double_click>
const ui_event gui2::event::mouse_button_event_types_wrapper< sdl_button_down, sdl_button_up, button_down, button_up, button_click, button_double_click >::sdl_button_down_event = sdl_button_down
static

Definition at line 170 of file distributor.hpp.

◆ sdl_button_up_event

template<ui_event sdl_button_down, ui_event sdl_button_up, ui_event button_down, ui_event button_up, ui_event button_click, ui_event button_double_click>
const ui_event gui2::event::mouse_button_event_types_wrapper< sdl_button_down, sdl_button_up, button_down, button_up, button_click, button_double_click >::sdl_button_up_event = sdl_button_up
static

Definition at line 171 of file distributor.hpp.


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