|
| CDirectMouse (HWND hDlg=0) |
|
virtual HRESULT | ReadBufferedData () |
|
virtual HRESULT | ReadImmediateData () |
|
virtual void | Update () |
|
virtual void | ResetLastMouseState () |
| reset mouse to make the mouse delta correct in the next frame. More...
|
|
virtual void | Reset () |
|
virtual bool | IsButtonDown (MOUSE_KEY_STD nMouseButton) |
|
virtual int | GetMouseWheelDeltaSteps () |
| the current mouse wheel delta in steps, such as -2,-1,0,1,2
|
|
virtual int | GetMouseXDeltaSteps () |
| the current mouse X delta in steps, such as -2,-1,0,1,2
|
|
virtual int | GetMouseYDeltaSteps () |
| the current mouse Y delta in steps, such as -2,-1,0,1,2
|
|
virtual bool | IsLocked () |
|
virtual void | SetLock (bool bLock) |
| true to lock the mouse at its current location
|
|
virtual void | UpdateX (int delta) |
|
virtual void | UpdateY (int delta) |
|
virtual void | PushMouseEvent (UINT uMsg, WPARAM wParam, LPARAM lParam) |
| push a standard windows mouse event to the buffer for processing in the next frame move. More...
|
|
virtual void | PushMouseEvent (const MSG &msg) |
| push a standard windows mouse event to the buffer for processing in the next frame move. More...
|
|
virtual void | SetCapture (CGUIBase *obj) |
|
virtual void | ReleaseCapture (CGUIBase *obj) |
|
virtual CGUIBase * | GetCapture () |
|
virtual void | ReleaseCapture () |
|
virtual bool | IsUseWindowsMessage () |
| whether to use window message for buffered mouse event. More...
|
|
virtual void | SetUseWindowsMessage (bool bUseWinMsg) |
| whether to use window message for buffered mouse event. More...
|
|
virtual void | ShowCursor (bool bShowCursor) |
| true to show the cursor. More...
|
|
virtual void | ForceShowCursor (bool bShow) |
| Force the device to show its cursor. More...
|
|
virtual int | GetCursorSize () |
| get the cursor size in pixels
|
|
virtual bool | IsMouseButtonSwapped () |
| swap left/right button. More...
|
|
virtual void | SetMouseButtonSwapped (bool bSwapped) |
|
virtual void | GetDeviceCursorPos (int &x, int &y) |
| get current cursor position. More...
|
|
virtual void | SetDeviceCursorPos (int x, int y) |
|
virtual void | SetMousePosition (int x, int y) |
| only change m_x, m_y, which is pretty fast. More...
|
|
virtual int | GetBufferedMessageCount () |
| check if there is any unprocessed buffered window mouse message. More...
|
|