diff options
| author | Matthias Melcher <github@matthiasm.com> | 2025-11-27 23:43:08 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2025-11-27 23:43:08 +0100 |
| commit | 147247f8f1a66c03e1d30ded73cc214448e77539 (patch) | |
| tree | b1cd1dc9ec4b979e0e8281311fa38e02675a2d15 /src/drivers/WinAPI/fl_WinAPI_platform_init.cxx | |
| parent | 86b9df01ee698246665847f7dcc52351ce83fecb (diff) | |
Refactor pen interface into driver system.
Diffstat (limited to 'src/drivers/WinAPI/fl_WinAPI_platform_init.cxx')
| -rw-r--r-- | src/drivers/WinAPI/fl_WinAPI_platform_init.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/WinAPI/fl_WinAPI_platform_init.cxx b/src/drivers/WinAPI/fl_WinAPI_platform_init.cxx index fa6b41d24..49c7436c3 100644 --- a/src/drivers/WinAPI/fl_WinAPI_platform_init.cxx +++ b/src/drivers/WinAPI/fl_WinAPI_platform_init.cxx @@ -21,6 +21,7 @@ #include "Fl_WinAPI_System_Driver.H" #include "Fl_WinAPI_Window_Driver.H" #include "../GDI/Fl_GDI_Image_Surface_Driver.H" +#include "../Base/Fl_Base_Pen_Events.H" Fl_Copy_Surface_Driver *Fl_Copy_Surface_Driver::newCopySurfaceDriver(int w, int h) @@ -81,3 +82,10 @@ Fl_Image_Surface_Driver *Fl_Image_Surface_Driver::newImageSurfaceDriver(int w, i { return new Fl_GDI_Image_Surface_Driver(w, h, high_res, off); } + +namespace FL { +namespace Pen{ +Driver default_driver; +Driver& driver { default_driver }; +} // namespace Pen +} // namespace FL |
