Helper predicate functor which you can use to search within a touch point container using the state of a touch point.
More...
#include <kanzi/core.ui/input/input_manipulator.hpp>
Helper predicate functor which you can use to search within a touch point container using the state of a touch point.
◆ TouchPointStateEquals()
kanzi::TouchPointStateEquals::TouchPointStateEquals |
( |
TouchPointState |
state | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
state | Touch point state to search for. |
◆ operator()() [1/2]
bool kanzi::TouchPointStateEquals::operator() |
( |
const TouchPoint & |
touchPoint | ) |
const |
|
inline |
Compares the state of given touch point against the constructor argument.
- Parameters
-
touchPoint | Touch point to compare. |
- Returns
- If touch point states match, true, otherwise false.
◆ operator()() [2/2]
bool kanzi::TouchPointStateEquals::operator() |
( |
const TouchPoint * |
touchPoint | ) |
const |
|
inline |
Compares the state of given touch point against the constructor argument.
- Parameters
-
touchPoint | Pointer to a touch point to compare. |
- Returns
- If touch point states match, true, otherwise false.
The documentation for this struct was generated from the following file: