From 203e7b70985b269de64a5b855c0ed9f1c5dfffd9 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 9 Sep 2022 15:19:15 +0200 Subject: New OPTION_WAYLAND_ONLY for CMake to build pure Wayland platform. --- src/drivers/Cairo/Fl_Cairo_Graphics_Driver.H | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/drivers/Cairo') diff --git a/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.H b/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.H index 5ca8ab027..1a9d22e81 100644 --- a/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.H +++ b/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.H @@ -28,6 +28,12 @@ typedef struct _PangoLayout PangoLayout; typedef struct _PangoContext PangoContext; typedef struct _PangoFontDescription PangoFontDescription; +#if USE_PANGO + struct flCairoRegion { + int count; + struct _cairo_rectangle *rects; + }; // a region is the union of a series of rectangles +#endif class Fl_Cairo_Font_Descriptor : public Fl_Font_Descriptor { public: -- cgit v1.2.3