EventFilter class.
More...
#include <kanzi/core.ui/input/event_filter.hpp>
|
void | processDiscardFilter (const struct KzsEventQueue &queueIn, struct KzsEventQueue &queueOut) |
| Discards events as specified by the constructor arguments. More...
|
|
EventFilter class.
Translates, orients, transforms and coalesces events.
kanzi::EventFilter::~EventFilter |
( |
| ) |
|
void kanzi::EventFilter::process |
( |
struct KzsEventQueue & |
queue | ) |
|
Filters events.
The events in the given event queue are filtered based on the settings of the filter.
- Note
- The length of the event queue may be different after filtering.
void kanzi::EventFilter::setTransformation |
( |
const Matrix3x3 & |
transformation | ) |
|
Sets the transformation property.
void kanzi::EventFilter::processDiscardFilter |
( |
const struct KzsEventQueue & |
queueIn, |
|
|
struct KzsEventQueue & |
queueOut |
|
) |
| |
|
protected |
Discards events as specified by the constructor arguments.
Translation of input event coordinates.
Orientation of input event coordinates.
unsigned int kanzi::EventFilter::m_eventAreaWidth |
|
protected |
unsigned int kanzi::EventFilter::m_eventAreaHeight |
|
protected |
Matrix3x3 kanzi::EventFilter::m_eventTransformation |
|
protected |
struct KzsEventQueue* kanzi::EventFilter::m_eventQueueBuffer |
|
protected |
Buffer used during calculations.
bool kanzi::EventFilter::m_discardPointerEvents |
|
protected |
Whether pointer events are discarded.
bool kanzi::EventFilter::m_discardTouchEvents |
|
protected |
Whether touch events are discarded.
The documentation for this class was generated from the following file: