XLE  v0.02.0
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
RenderOverlays::DebuggingDisplay::InputSnapshot Class Reference

Classes

struct  ActiveButton
 

Public Member Functions

 InputSnapshot (unsigned buttonsDown, unsigned buttonsTransition, signed wheelDelta, Coord2 mousePosition, Coord2 mouseDelta, Utility::ucs2 pressedChar=0)
 
bool IsHeld_LButton () const
 
bool IsPress_LButton () const
 
bool IsRelease_LButton () const
 
bool IsUp_LButton () const
 
bool IsDblClk_LButton () const
 
bool IsHeld_RButton () const
 
bool IsPress_RButton () const
 
bool IsRelease_RButton () const
 
bool IsUp_RButton () const
 
bool IsDblClk_RButton () const
 
bool IsHeld_MButton () const
 
bool IsPress_MButton () const
 
bool IsRelease_MButton () const
 
bool IsUp_MButton () const
 
bool IsDblClk_MButton () const
 
bool IsHeld (KeyId key) const
 
bool IsPress (KeyId key) const
 
bool IsRelease (KeyId key) const
 
bool IsUp (KeyId key) const
 
void Accumulate (const InputSnapshot &newEvnts, const InputSnapshot &lastFrameState)
 
void Reset ()
 

Static Public Member Functions

template<typename Iterator >
static bool IsHeld (KeyId key, Iterator begin, Iterator end)
 
template<typename Iterator >
static bool IsPress (KeyId key, Iterator begin, Iterator end)
 
template<typename Iterator >
static bool IsRelease (KeyId key, Iterator begin, Iterator end)
 
template<typename Iterator >
static bool IsUp (KeyId key, Iterator begin, Iterator end)
 

Public Attributes

unsigned _mouseButtonsTransition
 
unsigned _mouseButtonsDown
 
unsigned _mouseButtonsDblClk
 
Coord2 _mousePosition
 
Coord2 _mouseDelta
 
signed _wheelDelta
 
Utility::ucs2 _pressedChar
 
std::vector< ActiveButton_activeButtons
 

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