Button and Modifier state.
More...
#include <cbuttonstate.h>
Button and Modifier state.
◆ CButtonState() [1/2]
◆ CButtonState() [2/2]
◆ getButtonState()
int32_t getButtonState |
( |
| ) |
const |
|
inline |
◆ getModifierState()
int32_t getModifierState |
( |
| ) |
const |
|
inline |
◆ isAltSet()
returns true if the alt modifier is set.
◆ isAppleSet()
bool isAppleSet |
( |
| ) |
const |
|
inline |
returns true if the apple modifier is set.
◆ isButton4()
returns true if only the 4th button is set.
Ignores modifier state
◆ isButton5()
returns true if only the 5th button is set.
Ignores modifier state
◆ isControlSet()
bool isControlSet |
( |
| ) |
const |
|
inline |
returns true if the control modifier is set.
◆ isDoubleClick()
bool isDoubleClick |
( |
| ) |
const |
|
inline |
returns true if the double click flag is set.
◆ isLeftButton()
bool isLeftButton |
( |
| ) |
const |
|
inline |
returns true if only the left button is set.
Ignores modifier state
◆ isMiddleButton()
bool isMiddleButton |
( |
| ) |
const |
|
inline |
returns true if only the middle button is set.
Ignores modifier state
◆ isMouseWheelInverted()
bool isMouseWheelInverted |
( |
| ) |
const |
|
inline |
◆ isRightButton()
bool isRightButton |
( |
| ) |
const |
|
inline |
returns true if only the right button is set.
Ignores modifier state
◆ isShiftSet()
bool isShiftSet |
( |
| ) |
const |
|
inline |
returns true if the shift modifier is set.
◆ operator!=()
◆ operator&()
◆ operator&=()
◆ operator()()
int32_t operator() |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ operator==()
◆ operator|()
◆ operator|=()
◆ operator~()
int32_t operator~ |
( |
| ) |
const |
|
inline |
◆ state
The documentation for this struct was generated from the following file: