Mercurial > hg > orthanc-stone
diff Framework/Scene2DViewport/AngleMeasureTool.h @ 774:66ac7a2d1e3a
A few renames and cleanups + moved GUI constants to controller + start work on
hit tests for measure tools and mouse hover.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 24 May 2019 15:59:51 +0200 |
parents | 92c400a09f1b |
children | e42b491f1fb2 |
line wrap: on
line diff
--- a/Framework/Scene2DViewport/AngleMeasureTool.h Thu May 23 10:25:48 2019 +0200 +++ b/Framework/Scene2DViewport/AngleMeasureTool.h Fri May 24 15:59:51 2019 +0200 @@ -20,7 +20,7 @@ #pragma once -#include "MeasureTools.h" +#include "MeasureTool.h" #include "../Scene2DViewport/LayerHolder.h" #include "../Scene2D/Scene2D.h" @@ -47,6 +47,9 @@ void SetCenter(ScenePoint2D start); void SetSide2End(ScenePoint2D start); + + virtual bool HitTest(ScenePoint2D p) const ORTHANC_OVERRIDE; + private: virtual void RefreshScene() ORTHANC_OVERRIDE; void RemoveFromScene();