comparison 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
comparison
equal deleted inserted replaced
939:ab90628e70d9 942:685c9a2d115f
48 48
49 virtual const std::string& GetCanvasIdentifier() const = 0; 49 virtual const std::string& GetCanvasIdentifier() const = 0;
50 50
51 virtual ScenePoint2D GetPixelCenterCoordinates(int x, int y) const = 0; 51 virtual ScenePoint2D GetPixelCenterCoordinates(int x, int y) const = 0;
52 52
53 #if ORTHANC_ENABLE_LOCALE == 1
54 virtual void SetFont(size_t index,
55 Orthanc::EmbeddedResources::FileResourceId resource,
56 unsigned int fontSize,
57 Orthanc::Encoding codepage) = 0;
58 #endif
59
60 protected:
53 virtual ICompositor& GetCompositor() = 0; 61 virtual ICompositor& GetCompositor() = 0;
54 62
55 virtual const ICompositor& GetCompositor() const 63 virtual const ICompositor& GetCompositor() const
56 { 64 {
57 IViewport* self = const_cast<IViewport*>(this); 65 IViewport* self = const_cast<IViewport*>(this);