Brenta Engine 1.2
Loading...
Searching...
No Matches
brenta::KeyMods Class Reference

Public Types

enum class  Mod : std::size_t {
  Shift , Control , Alt , Super ,
  CapsLock , NumLock
}
 

Public Member Functions

bool shift () const
 
bool control () const
 
bool alt () const
 
bool super () const
 
bool caps_lock () const
 
bool num_lock () const
 
KeyModsset_shift ()
 
KeyModsset_control ()
 
KeyModsset_alt ()
 
KeyModsset_super ()
 
KeyModsset_caps_lock ()
 
KeyModsset_num_lock ()
 

Detailed Description

Definition at line 157 of file key.hpp.

Member Enumeration Documentation

◆ Mod

enum class brenta::KeyMods::Mod : std::size_t
strong

Definition at line 161 of file key.hpp.

Member Function Documentation

◆ alt()

bool brenta::KeyMods::alt ( ) const
inline

Definition at line 177 of file key.hpp.

◆ caps_lock()

bool brenta::KeyMods::caps_lock ( ) const
inline

Definition at line 181 of file key.hpp.

◆ control()

bool brenta::KeyMods::control ( ) const
inline

Definition at line 175 of file key.hpp.

◆ num_lock()

bool brenta::KeyMods::num_lock ( ) const
inline

Definition at line 183 of file key.hpp.

◆ set_alt()

KeyMods & brenta::KeyMods::set_alt ( )
inline

Definition at line 190 of file key.hpp.

◆ set_caps_lock()

KeyMods & brenta::KeyMods::set_caps_lock ( )
inline

Definition at line 194 of file key.hpp.

◆ set_control()

KeyMods & brenta::KeyMods::set_control ( )
inline

Definition at line 188 of file key.hpp.

◆ set_num_lock()

KeyMods & brenta::KeyMods::set_num_lock ( )
inline

Definition at line 196 of file key.hpp.

◆ set_shift()

KeyMods & brenta::KeyMods::set_shift ( )
inline

Definition at line 186 of file key.hpp.

◆ set_super()

KeyMods & brenta::KeyMods::set_super ( )
inline

Definition at line 192 of file key.hpp.

◆ shift()

bool brenta::KeyMods::shift ( ) const
inline

Definition at line 173 of file key.hpp.

◆ super()

bool brenta::KeyMods::super ( ) const
inline

Definition at line 179 of file key.hpp.


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