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