summaryrefslogtreecommitdiff
path: root/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-09 15:19:15 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-09 15:19:15 +0200
commit203e7b70985b269de64a5b855c0ed9f1c5dfffd9 (patch)
tree233666e3e01800de81b824a2cd09f6399d15ade4 /src/drivers/Cairo/Fl_Cairo_Graphics_Driver.H
parent1b0f21cc8fec9a933770a2ed6d7feafe91ee8333 (diff)
New OPTION_WAYLAND_ONLY for CMake to build pure Wayland platform.
Diffstat (limited to 'src/drivers/Cairo/Fl_Cairo_Graphics_Driver.H')
-rw-r--r--src/drivers/Cairo/Fl_Cairo_Graphics_Driver.H6
1 files changed, 6 insertions, 0 deletions
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: