class stmUiEventEngine::MUiEvent : public stmUiEventEngine::MUiEventSpeed |
The UI event interface, UI events are touch, hold, move and release. Note that currently the interface is not OS agnostic enough. It is using TPoint , TTimeIntervalMicroSeconds etc. types which should be replaced with some standard types/classes.
Public Member Functions | |
---|---|
TUiEventCode | Code () |
const TPoint & | CurrentXY () |
int | Index () |
const TPoint & | PreviousXY () |
const TPoint & | StartPos () |
TTimeIntervalMicroSeconds | StateTransition () |
void * | Target () |
bool | TimerExpired () |
int | countOfEvents () |
MUiEvent * | previousEvent () |
float | speedX () |
float | speedY () |
TInt64 | timestamp () |
const TPoint & | CurrentXY | ( | ) | const [pure virtual] |
Current position in _screen_ coordinates
int | Index | ( | ) | const [pure virtual] |
The index of the UI event. In single touch this is always 0
const TPoint & | PreviousXY | ( | ) | const [pure virtual] |
Previous position in _screen_ coordinates
const TPoint & | StartPos | ( | ) | const [pure virtual] |
The starting position of the gesture in _screen_ coordinates
TTimeIntervalMicroSeconds | StateTransition | ( | ) | const [pure virtual] |
Time difference between this and previous UI event
void * | Target | ( | ) | const [pure virtual] |
Target identifier (in practice the CCoeControl* of the window)
bool | TimerExpired | ( | ) | const [pure virtual] |
true, if the UI event was generated because of timer expiration
MUiEvent * | previousEvent | ( | ) | const [pure virtual] |
Next event in the gesture (with the same index)
float | speedX | ( | ) | const [pure virtual] |
Speed. Speed is calculated based on the previous event.
float | speedY | ( | ) | const [pure virtual] |
Speed. Speed is calculated based on the previous event.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.