mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 23:46:26 +02:00
add position to HFActionEvent
This commit is contained in:
parent
b7ebc9e902
commit
d09c9233d8
2 changed files with 6 additions and 3 deletions
|
@ -11,8 +11,9 @@
|
||||||
|
|
||||||
#include "HFActionEvent.h"
|
#include "HFActionEvent.h"
|
||||||
|
|
||||||
HFActionEvent::HFActionEvent() :
|
HFActionEvent::HFActionEvent(const QPointF& localPosition) :
|
||||||
QEvent(HFActionEvent::type())
|
QEvent(HFActionEvent::type()),
|
||||||
|
_localPosition(localPosition)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,9 +16,11 @@
|
||||||
|
|
||||||
class HFActionEvent : public QEvent {
|
class HFActionEvent : public QEvent {
|
||||||
public:
|
public:
|
||||||
HFActionEvent();
|
HFActionEvent(const QPointF& localPosition);
|
||||||
|
|
||||||
static QEvent::Type type();
|
static QEvent::Type type();
|
||||||
|
private:
|
||||||
|
QPointF _localPosition;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // hifi_HFActionEvent_h
|
#endif // hifi_HFActionEvent_h
|
Loading…
Reference in a new issue