From c66caf5dce9331fd3e011873711a768adb28cf9d Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 7 Apr 2019 09:09:33 +0200 Subject: Simpler implementation of Fl_Cocoa_Window_Driver::resize() --- FL/Fl_Device.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'FL/Fl_Device.H') diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index 540ec8354..d2b9cfabb 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -126,6 +126,8 @@ public: virtual Fl_RGB_Image* rectangle_capture(Fl_Widget *widget, int x, int y, int w, int h) = 0; /** Returns the window's GL context */ virtual GLContext context(Fl_Widget *widget) = 0; + /** Equivalent to widget->as_gl_window()->valid(v) */ + virtual void valid(Fl_Widget *widget, char v) = 0; /** Returns the OpenGL plugin */ static Fl_Device_Plugin *opengl_plugin(); }; -- cgit v1.2.3