State of mouse.
More...
#include <MouseState.h>
sw::input::MouseState::MouseState |
( |
| ) |
|
|
inline |
sw::input::MouseState::~MouseState |
( |
| ) |
|
|
inline |
void sw::input::MouseState::ApplyEvent |
( |
const ButtonEvent & |
event | ) |
|
|
inline |
Updates state depending on event.
void sw::input::MouseState::ApplyEvent |
( |
const AxisEvent & |
event | ) |
|
|
inline |
Updates state depending on event.
void sw::input::MouseState::ApplyEvent |
( |
const CursorEvent & |
event | ) |
|
|
inline |
Updates state depending on event.
void sw::input::MouseState::ApplyEvent |
( |
const DeviceEvent & |
event | ) |
|
|
inline |
Updates state depending on event.
const float* sw::input::MouseState::GetAxesState |
( |
| ) |
const |
|
inline |
const KeyState* sw::input::MouseState::GetButtonsState |
( |
| ) |
const |
|
inline |
uint16 sw::input::MouseState::GetPositionX |
( |
| ) |
const |
|
inline |
uint16 sw::input::MouseState::GetPositionY |
( |
| ) |
const |
|
inline |
const KeyState * sw::input::MouseState::LeftButton |
( |
| ) |
const |
|
inline |
const KeyState * sw::input::MouseState::MiddleButton |
( |
| ) |
const |
|
inline |
void sw::input::MouseState::RemoveEvents |
( |
| ) |
|
|
inline |
Czyści tablicę z eventów o wciśnięciu klawiszy, ale podtrzymuje stan przycisków.
const KeyState * sw::input::MouseState::RightButton |
( |
| ) |
const |
|
inline |
void sw::input::MouseState::SetPosition |
( |
short |
X, |
|
|
short |
Y |
|
) |
| |
|
inline |
Ustawia pozycję myszy.
Powinno być używane jedynie przez moduł wejścia (IInput).
float sw::input::MouseState::WheelDelta |
( |
| ) |
const |
|
inline |
const KeyState * sw::input::MouseState::XButton1 |
( |
| ) |
const |
|
inline |
const KeyState * sw::input::MouseState::XButton2 |
( |
| ) |
const |
|
inline |
float sw::input::MouseState::m_axes[4] |
|
private |
uint16 sw::input::MouseState::m_position[2] |
|
private |
The documentation for this class was generated from the following file:
- D:/ProgramyVS/SWLibraries/swInputLibrary/InputCore/MouseState.h