Thread for Mouse event handling in Unix.
More...
#include <GUIInputUnixMouse.h>
|
| CGUIThread (const eC_UInt &uiStackSize) |
|
virtual | ~CGUIThread () |
|
virtual void | Cleanup () |
|
virtual void | Execute (void *pArg)=0 |
|
ThreadPriority_t | MapPriority (const eC_Int &iPriority) |
|
eC_Int | MapPriority (const ThreadPriority_t &ePriority) |
|
virtual void | Setup () |
|
volatile eC_Bool | m_bRunning |
| Whether this thread is currently running.
|
|
void * | m_pArg |
| Pointer to arguments to be passed to the thread.
|
|
void * | m_pThreadId |
| This thread's unique ID.
|
|
eC_UInt | m_uiStackSize |
| Size for this thread's stack.
|
|
Thread for Mouse event handling in Unix.
◆ CGUIInputThreadDeviceUnix_Mouse()
CGUIInputThreadDeviceUnix_Mouse::CGUIInputThreadDeviceUnix_Mouse |
( |
CGUIInputUnixMouse * |
pkInputDevice, |
|
|
const char * |
cpcMDevice |
|
) |
| |
◆ Execute()
void CGUIInputThreadDeviceUnix_Mouse::Execute |
( |
void * |
pArg | ) |
|
|
virtual |
Execute thread
- Parameters
-
pArg | void pointer to the thread's working data |
Implements CGUIThread.
◆ GetMouseData()
eC_Bool CGUIInputThreadDeviceUnix_Mouse::GetMouseData |
( |
eC_Int & |
iDeltaX, |
|
|
eC_Int & |
iDeltaY, |
|
|
eC_Bool & |
bLeftButtonPressed |
|
) |
| |
Helper for get mouse data
- Parameters
-
iDeltaX | Is used to get mouse movement in X direction |
iDeltaY | Is used to get mouse movement in Y derection |
bLeftButtonPressed | Is used to get state of left mouse button (pressed = true; not pressed = false) |
- Returns
- true if event was correct
◆ SetInvertYAxis()
void CGUIInputThreadDeviceUnix_Mouse::SetInvertYAxis |
( |
const eC_Bool & |
bInvertYAxis | ) |
|
Invert the y-axis
- Parameters
-
◆ SetSize()
void CGUIInputThreadDeviceUnix_Mouse::SetSize |
( |
const eC_Int & |
iSizeX, |
|
|
const eC_Int & |
iSizeY |
|
) |
| |
The documentation for this class was generated from the following file: