Luanti 5.19.0-dev
Loading...
Searching...
No Matches
MyEventReceiver::Keybinding Struct Reference
Collaboration diagram for MyEventReceiver::Keybinding:

Classes

struct  [struct].scale

Public Member Functions

 Keybinding ()=default
 Keybinding (const std::vector< KeyPress > &in_keys)
float getScale (KeyPress::InputType input_type) const

Public Attributes

std::vector< KeyPress > keys
struct  scale

Constructor & Destructor Documentation

◆ Keybinding() [1/2]

MyEventReceiver::Keybinding::Keybinding ( )
default

◆ Keybinding() [2/2]

MyEventReceiver::Keybinding::Keybinding ( const std::vector< KeyPress > & in_keys)
inline

References keys.

Member Function Documentation

◆ getScale()

float MyEventReceiver::Keybinding::getScale ( KeyPress::InputType input_type) const
inline

Member Data Documentation

◆ keys

std::vector<KeyPress> MyEventReceiver::Keybinding::keys

Referenced by Keybinding().

◆ scale

struct MyEventReceiver::Keybinding::[struct].scale MyEventReceiver::Keybinding::scale

Referenced by getScale().


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