diff Framework/OpenGL/SdlOpenGLContext.h @ 1205:6009c59d8676 broker

fix to sdl
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Dec 2019 14:32:05 +0100
parents 4cc997207d8a
children 0ca50d275b9a
line wrap: on
line diff
--- a/Framework/OpenGL/SdlOpenGLContext.h	Fri Nov 29 21:24:29 2019 +0100
+++ b/Framework/OpenGL/SdlOpenGLContext.h	Mon Dec 02 14:32:05 2019 +0100
@@ -64,6 +64,11 @@
     virtual unsigned int GetCanvasWidth() const ORTHANC_OVERRIDE;
 
     virtual unsigned int GetCanvasHeight() const ORTHANC_OVERRIDE;
+
+    void ToggleMaximize()
+    {
+      window_.ToggleMaximize();
+    }
   };
 }