diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-08-20 17:26:02 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-08-20 17:26:02 +0200 |
| commit | d5a1e7feb98f0d3efc17ea755a5f94d008cd4f80 (patch) | |
| tree | e1e2d4d00815f278588c17ac108cc66c14c3f2c8 /src/drivers/Wayland/Fl_Wayland_Window_Driver.H | |
| parent | 7deff86b5d70ca3f8a1ed4cbbc251c7fa31444dd (diff) | |
Add static Fl_Wayland_Window_Driver::gl_plugin() member function.
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Window_Driver.H')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.H | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H index 2a76b86ce..a419fa54b 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.H @@ -41,12 +41,14 @@ */ typedef struct _cairo_pattern cairo_pattern_t; +class Fl_Wayland_Plugin; class Fl_Wayland_Window_Driver : public Fl_Window_Driver { friend class Fl_X; friend class Fl_Wayland_Gl_Window_Driver; + friend class Fl_Wayland_Screen_Driver; private: struct shape_data_type { int lw_; ///< width of shape image @@ -55,6 +57,7 @@ private: cairo_pattern_t *mask_pattern_; } *shape_data_; static bool in_flush; // useful for progressive window drawing + static Fl_Wayland_Plugin *gl_plugin(); struct wl_cursor *cursor_; void delete_cursor_(); struct gl_start_support *gl_start_support_; // for support of gl_start/gl_finish |
