diff OrthancStone/Sources/Viewport/DefaultViewportInteractor.h @ 1811:fdc6a8089eb9

hovering of annotations in Stone Web viewer
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 May 2021 11:29:53 +0200
parents 9ac2a65d4172
children 3889ae96d2e9
line wrap: on
line diff
--- a/OrthancStone/Sources/Viewport/DefaultViewportInteractor.h	Thu May 20 19:11:44 2021 +0200
+++ b/OrthancStone/Sources/Viewport/DefaultViewportInteractor.h	Tue May 25 11:29:53 2021 +0200
@@ -95,5 +95,13 @@
                                                    const PointerEvent& event,
                                                    unsigned int viewportWidth,
                                                    unsigned int viewportHeight) ORTHANC_OVERRIDE;
+
+    virtual bool HasMouseHover() const ORTHANC_OVERRIDE
+    {
+      return false;
+    }
+
+    virtual void HandleMouseHover(IViewport& viewport,
+                                  const PointerEvent& event) ORTHANC_OVERRIDE;
   };
 }