Mercurial > hg > orthanc-stone
diff Applications/Samples/SingleFrameEditorApplication.h @ 1224:37bc7f115f81 broker
integration mainline->broker
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 07 Dec 2019 18:45:37 +0100 |
parents | 54cbffabdc45 04fd875b91f4 |
children | 0ca50d275b9a |
line wrap: on
line diff
--- a/Applications/Samples/SingleFrameEditorApplication.h Sat Dec 07 18:18:07 2019 +0100 +++ b/Applications/Samples/SingleFrameEditorApplication.h Sat Dec 07 18:45:37 2019 +0100 @@ -508,8 +508,8 @@ } { - RadiographyTextLayer::SetFont(Orthanc::EmbeddedResources::UBUNTU_FONT); - RadiographyLayer& layer = scene_->LoadText("Hello\nworld", 20, 128, NULL); + RadiographyTextLayer::RegisterFont("ubuntu", Orthanc::EmbeddedResources::UBUNTU_FONT); + RadiographyLayer& layer = scene_->LoadText("Hello\nworld", "ubuntu", 20, 128, NULL, false); layer.SetResizeable(true); }