Mercurial > hg > orthanc-stone
diff Framework/Scene2DViewport/MeasureToolsToolbox.h @ 818:e42b491f1fb2
Removed typedefs to shared_ptr by making them explicit. Removed using namespace
directives to make usage more explicit, too.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 29 May 2019 10:51:28 +0200 |
parents | 92c400a09f1b |
children | a29c13497557 |
line wrap: on
line diff
--- a/Framework/Scene2DViewport/MeasureToolsToolbox.h Wed May 29 08:36:13 2019 +0200 +++ b/Framework/Scene2DViewport/MeasureToolsToolbox.h Wed May 29 10:51:28 2019 +0200 @@ -18,7 +18,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. **/ -#include "PointerTypes.h" +#include "PredeclaredTypes.h" #include "../Scene2D/PolylineSceneLayer.h" #include "../Scene2D/Scene2D.h" @@ -31,7 +31,7 @@ square sides are parallel to the canvas boundaries. */ void AddSquare(PolylineSceneLayer::Chain& chain, - Scene2DConstPtr scene, + boost::shared_ptr<const Scene2D> scene, const ScenePoint2D& centerS, const double& sideLengthS); @@ -180,6 +180,6 @@ from layerIndex, up to (and not including) layerIndex+5. */ void SetTextLayerOutlineProperties( - Scene2DPtr scene, LayerHolderPtr layerHolder, + boost::shared_ptr<Scene2D> scene, boost::shared_ptr<LayerHolder> layerHolder, const char* text, ScenePoint2D p); }