From 043bac6f8d01e84881dcf90411bca931afd228ca Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 9 May 2025 09:51:36 +0200 Subject: Remove declaration of Fl_Scalable_Graphics_Driver from FL/Fl_Graphics_Driver.H and declare it in non-public header src/Fl_Scalable_Graphics_Driver.H which also declares classes Fl_Font_Descriptor and Fl_Fontdesc. --- src/drivers/GDI/Fl_Font.H | 1 + src/drivers/GDI/Fl_GDI_Graphics_Driver.H | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/drivers/GDI') diff --git a/src/drivers/GDI/Fl_Font.H b/src/drivers/GDI/Fl_Font.H index d160c55e9..3e8b1296f 100644 --- a/src/drivers/GDI/Fl_Font.H +++ b/src/drivers/GDI/Fl_Font.H @@ -23,6 +23,7 @@ #define FL_FONT_ #include +#include "../../Fl_Scalable_Graphics_Driver.H" class Fl_GDI_Font_Descriptor : public Fl_Font_Descriptor { public: diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.H b/src/drivers/GDI/Fl_GDI_Graphics_Driver.H index 01ecf9531..336fa1ebc 100644 --- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.H +++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.H @@ -23,7 +23,7 @@ #ifndef FL_GDI_GRAPHICS_DRIVER_H #define FL_GDI_GRAPHICS_DRIVER_H -#include +#include "../../Fl_Scalable_Graphics_Driver.H" #include #include #include -- cgit v1.2.3