Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CMouseStat Class Reference

#include <MouseStat.h>

Public Member Functions

 CMouseStat ()
 
virtual ~CMouseStat ()
 
void Initialize ()
 
void HandleEvent (const XBMC_Event &newEvent)
 
void SetResolution (int maxX, int maxY, float speedX, float speedY)
 
bool IsActive ()
 
bool IsEnabled () const
 
void SetActive (bool active=true)
 
void SetState (MOUSE_STATE state)
 
void SetEnabled (bool enabled=true)
 
MOUSE_STATE GetState () const
 
uint32_t GetKey () const
 
HoldAction GetHold (int ButtonID) const
 
int GetX (void) const
 
int GetY (void) const
 
int GetDX (void) const
 
int GetDY (void) const
 
MousePosition GetPosition ()
 

Constructor & Destructor Documentation

◆ CMouseStat()

CMouseStat::CMouseStat ( )

◆ ~CMouseStat()

CMouseStat::~CMouseStat ( )
virtualdefault

Member Function Documentation

◆ GetDX()

int CMouseStat::GetDX ( void ) const
inline

◆ GetDY()

int CMouseStat::GetDY ( void ) const
inline

◆ GetHold()

HoldAction CMouseStat::GetHold ( int ButtonID) const

◆ GetKey()

uint32_t CMouseStat::GetKey ( ) const

◆ GetPosition()

MousePosition CMouseStat::GetPosition ( )
inline

◆ GetState()

MOUSE_STATE CMouseStat::GetState ( ) const
inline

◆ GetX()

int CMouseStat::GetX ( void ) const
inline

◆ GetY()

int CMouseStat::GetY ( void ) const
inline

◆ HandleEvent()

void CMouseStat::HandleEvent ( const XBMC_Event & newEvent)

◆ Initialize()

void CMouseStat::Initialize ( )

◆ IsActive()

bool CMouseStat::IsActive ( )

◆ IsEnabled()

bool CMouseStat::IsEnabled ( ) const

◆ SetActive()

void CMouseStat::SetActive ( bool active = true)

◆ SetEnabled()

void CMouseStat::SetEnabled ( bool enabled = true)

◆ SetResolution()

void CMouseStat::SetResolution ( int maxX,
int maxY,
float speedX,
float speedY )

◆ SetState()

void CMouseStat::SetState ( MOUSE_STATE state)
inline

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