From 4657e988f7e351020876172218a5534e739bd18e Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 26 Mar 2021 07:52:21 +0100 Subject: Remove X11-specific code from platform-independent Fl_PostScript.cxx --- FL/Fl_Graphics_Driver.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'FL') diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index 9d2b85f26..58ea0062a 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -51,6 +51,7 @@ FL_EXPORT extern Fl_Graphics_Driver *fl_graphics_driver; typedef void (*Fl_Draw_Image_Cb)(void* data,int x,int y,int w,uchar* buf); struct Fl_Fontdesc; +typedef struct _PangoFontDescription PangoFontDescription; #define FL_REGION_STACK_SIZE 10 #define FL_MATRIX_STACK_SIZE 32 @@ -370,6 +371,7 @@ public: virtual void overlay_rect(int x, int y, int w , int h); virtual float override_scale(); virtual void restore_scale(float); + virtual PangoFontDescription* pango_font_description(Fl_Font fnum) { return NULL; } }; #ifndef FL_DOXYGEN -- cgit v1.2.3