summaryrefslogtreecommitdiff
path: root/src/drivers/GDI
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-05-09 09:51:36 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-05-09 09:51:36 +0200
commit043bac6f8d01e84881dcf90411bca931afd228ca (patch)
tree0734797d47a57d41fa212ba7a5b66cfc0915df84 /src/drivers/GDI
parentbcf51371d24283951948470e5ab62ea89e725dbd (diff)
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.
Diffstat (limited to 'src/drivers/GDI')
-rw-r--r--src/drivers/GDI/Fl_Font.H1
-rw-r--r--src/drivers/GDI/Fl_GDI_Graphics_Driver.H2
2 files changed, 2 insertions, 1 deletions
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 <config.h>
+#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 <FL/Fl_Graphics_Driver.H>
+#include "../../Fl_Scalable_Graphics_Driver.H"
#include <windows.h>
#include <stdlib.h>
#include <config.h>