From 1d64b785549fcfe5f329cd7b06547e7bf2687df3 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sat, 7 May 2022 15:16:29 +0200 Subject: Change protection levels in classes Fl_XXX_Gl_Window_Driver --- src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.H | 4 +--- src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src/drivers/Wayland') diff --git a/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.H b/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.H index 3698551f9..8a1c4abc2 100644 --- a/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Gl_Window_Driver.H @@ -34,9 +34,8 @@ Consequently, FL_DOUBLE is enforced in all Fl_Gl_Window::mode_ values under Wayl */ class Fl_Wayland_Gl_Window_Driver : public Fl_Gl_Window_Driver { - friend class Fl_Gl_Window_Driver; + friend Fl_Gl_Window_Driver* Fl_Gl_Window_Driver::newGlWindowDriver(Fl_Gl_Window *); bool egl_resize_in_progress; -protected: Fl_Wayland_Gl_Window_Driver(Fl_Gl_Window *win); virtual float pixels_per_unit(); virtual void make_current_before(); @@ -54,7 +53,6 @@ protected: virtual void gl_start(); virtual Fl_RGB_Image* capture_gl_rectangle(int x, int y, int w, int h); char *alpha_mask_for_string(const char *str, int n, int w, int h, Fl_Fontsize fs); -public: static EGLDisplay egl_display; static EGLint configs_count; static struct wl_event_queue *gl_event_queue; diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H index b650fcffd..1a15312ad 100644 --- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H +++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.H @@ -53,7 +53,6 @@ #include "../Cairo/Fl_Cairo_Graphics_Driver.H" #include // for uint32_t -typedef struct _PangoLayout PangoLayout; struct fl_wld_buffer { struct wl_buffer *wl_buffer; -- cgit v1.2.3