mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 08:37:19 +02:00
Move mouse and hover slots out of Overlays API
This commit is contained in:
parent
813c4fa38a
commit
fd38b89f35
1 changed files with 8 additions and 7 deletions
|
@ -305,13 +305,6 @@ public slots:
|
||||||
OverlayID getKeyboardFocusOverlay();
|
OverlayID getKeyboardFocusOverlay();
|
||||||
void setKeyboardFocusOverlay(const OverlayID& id);
|
void setKeyboardFocusOverlay(const OverlayID& id);
|
||||||
|
|
||||||
void mousePressPointerEvent(const OverlayID& overlayID, const PointerEvent& event);
|
|
||||||
void mouseMovePointerEvent(const OverlayID& overlayID, const PointerEvent& event);
|
|
||||||
void mouseReleasePointerEvent(const OverlayID& overlayID, const PointerEvent& event);
|
|
||||||
void hoverEnterPointerEvent(const OverlayID& overlayID, const PointerEvent& event);
|
|
||||||
void hoverOverPointerEvent(const OverlayID& overlayID, const PointerEvent& event);
|
|
||||||
void hoverLeavePointerEvent(const OverlayID& overlayID, const PointerEvent& event);
|
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Emitted when an overlay is deleted
|
* Emitted when an overlay is deleted
|
||||||
|
@ -358,6 +351,14 @@ private:
|
||||||
OverlayID _currentHoverOverOverlayID { UNKNOWN_OVERLAY_ID };
|
OverlayID _currentHoverOverOverlayID { UNKNOWN_OVERLAY_ID };
|
||||||
|
|
||||||
RayToOverlayIntersectionResult findRayIntersectionForMouseEvent(PickRay ray);
|
RayToOverlayIntersectionResult findRayIntersectionForMouseEvent(PickRay ray);
|
||||||
|
|
||||||
|
private slots:
|
||||||
|
void mousePressPointerEvent(const OverlayID& overlayID, const PointerEvent& event);
|
||||||
|
void mouseMovePointerEvent(const OverlayID& overlayID, const PointerEvent& event);
|
||||||
|
void mouseReleasePointerEvent(const OverlayID& overlayID, const PointerEvent& event);
|
||||||
|
void hoverEnterPointerEvent(const OverlayID& overlayID, const PointerEvent& event);
|
||||||
|
void hoverOverPointerEvent(const OverlayID& overlayID, const PointerEvent& event);
|
||||||
|
void hoverLeavePointerEvent(const OverlayID& overlayID, const PointerEvent& event);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // hifi_Overlays_h
|
#endif // hifi_Overlays_h
|
||||||
|
|
Loading…
Reference in a new issue