Mercurial > hg > orthanc-stone
diff Framework/Scene2DViewport/LayerHolder.h @ 906:52b1c6ff10c5
Disabled OpenGL in GuiAdapter to allow for Cairo-only workflows (THIS IS A TEMP CHANGE!!!) + disabled outlined text by default (build macro)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 17 Jul 2019 17:17:34 +0200 |
parents | 0aff28f15ea2 |
children | 32eaf4929b08 |
line wrap: on
line diff
--- a/Framework/Scene2DViewport/LayerHolder.h Wed Jul 17 16:56:53 2019 +0200 +++ b/Framework/Scene2DViewport/LayerHolder.h Wed Jul 17 17:17:34 2019 +0200 @@ -44,7 +44,7 @@ */ LayerHolder( boost::weak_ptr<ViewportController> controllerW, - int polylineLayerCount, int textLayerCount); + int polylineLayerCount, int textLayerCount, int infoTextCount = 0); /** This actually creates the layers @@ -86,13 +86,17 @@ */ TextSceneLayer* GetTextLayer(int index = 0); + //TextSceneLayer* GetTextLayer(int index = 0); + private: int GetPolylineLayerIndex(int index = 0); int GetTextLayerIndex(int index = 0); + int GetInfoTextLayerIndex(int index = 0); Scene2D& GetScene(); int textLayerCount_; int polylineLayerCount_; + int infoTextCount_; boost::weak_ptr<ViewportController> controllerW_; int baseLayerIndex_; };