diff Framework/Viewport/IViewport.h @ 942:685c9a2d115f

Added missing ORTHANC_OVERRIDE + preparation for lost GL context handling + stubs for GL context event handlers
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 05 Aug 2019 12:27:27 +0200
parents 88bf49aebc13
children 1091b2adeb5a
line wrap: on
line diff
--- a/Framework/Viewport/IViewport.h	Wed Jul 31 11:29:08 2019 +0200
+++ b/Framework/Viewport/IViewport.h	Mon Aug 05 12:27:27 2019 +0200
@@ -50,6 +50,14 @@
 
     virtual ScenePoint2D GetPixelCenterCoordinates(int x, int y) const = 0;
 
+#if ORTHANC_ENABLE_LOCALE == 1
+    virtual void SetFont(size_t index,
+      Orthanc::EmbeddedResources::FileResourceId resource,
+      unsigned int fontSize,
+      Orthanc::Encoding codepage) = 0;
+#endif
+
+  protected:
     virtual ICompositor& GetCompositor() = 0;
 
     virtual const ICompositor& GetCompositor() const