diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-04-07 09:09:33 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-04-07 09:09:33 +0200 |
| commit | c66caf5dce9331fd3e011873711a768adb28cf9d (patch) | |
| tree | 20a0be9cad0737a97da2ddadf497268f52415ab5 /FL | |
| parent | cc955d27a09ef834d94ad798458093463e486dfd (diff) | |
Simpler implementation of Fl_Cocoa_Window_Driver::resize()
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Device.H | 2 |
1 files changed, 2 insertions, 0 deletions
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(); }; |
