mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-06 18:01:03 +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"
|
||||
|
||||
HFActionEvent::HFActionEvent() :
|
||||
QEvent(HFActionEvent::type())
|
||||
HFActionEvent::HFActionEvent(const QPointF& localPosition) :
|
||||
QEvent(HFActionEvent::type()),
|
||||
_localPosition(localPosition)
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
@ -16,9 +16,11 @@
|
|||
|
||||
class HFActionEvent : public QEvent {
|
||||
public:
|
||||
HFActionEvent();
|
||||
HFActionEvent(const QPointF& localPosition);
|
||||
|
||||
static QEvent::Type type();
|
||||
private:
|
||||
QPointF _localPosition;
|
||||
};
|
||||
|
||||
#endif // hifi_HFActionEvent_h
|
Loading…
Reference in a new issue