neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::key_sequence Class Reference

#include <i_keyboard.hpp>

Public Types

enum class  match { No , Partial , Full }
 

Public Member Functions

 key_sequence (std::string const &aSequence)
 
bool operator== (const key_sequence &aRhs) const
 
bool operator!= (const key_sequence &aRhs) const
 
template<typename Iter >
match matches (Iter aFirst, Iter aLast) const
 
match matches (key_code_e aKeyCode, key_modifiers_e aKeyModifiers) const
 
const i_stringas_text () const
 

Detailed Description

Definition at line 696 of file i_keyboard.hpp.

Member Enumeration Documentation

◆ match

enum class neogfx::key_sequence::match
strong
Enumerator
No 
Partial 
Full 

Definition at line 699 of file i_keyboard.hpp.

Constructor & Destructor Documentation

◆ key_sequence()

neogfx::key_sequence::key_sequence ( std::string const &  aSequence)
inlineexplicit

Definition at line 709 of file i_keyboard.hpp.

Member Function Documentation

◆ as_text()

const i_string & neogfx::key_sequence::as_text ( ) const
inline

Definition at line 822 of file i_keyboard.hpp.

◆ matches() [1/2]

template<typename Iter >
match neogfx::key_sequence::matches ( Iter  aFirst,
Iter  aLast 
) const
inline

Definition at line 810 of file i_keyboard.hpp.

◆ matches() [2/2]

match neogfx::key_sequence::matches ( key_code_e  aKeyCode,
key_modifiers_e  aKeyModifiers 
) const
inline

Definition at line 818 of file i_keyboard.hpp.

◆ operator!=()

bool neogfx::key_sequence::operator!= ( const key_sequence aRhs) const
inline

Definition at line 804 of file i_keyboard.hpp.

◆ operator==()

bool neogfx::key_sequence::operator== ( const key_sequence aRhs) const
inline

Definition at line 800 of file i_keyboard.hpp.


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