From b870f2a1e8fcb956ce316e6a600d7d0625604830 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sun, 29 Dec 2024 23:51:07 +1300 Subject: Revised FLTK.Devices.Surface subhierarchy --- src/c_fl_surface_device.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/c_fl_surface_device.cpp') diff --git a/src/c_fl_surface_device.cpp b/src/c_fl_surface_device.cpp index 34b2bac..50088cf 100644 --- a/src/c_fl_surface_device.cpp +++ b/src/c_fl_surface_device.cpp @@ -10,6 +10,8 @@ +// Adding relevant friends + class My_Surface_Device : public Fl_Surface_Device { public: using Fl_Surface_Device::Fl_Surface_Device; @@ -19,6 +21,8 @@ public: +// Flattened C API + SURFACEDEVICE new_fl_surface_device(void * g) { My_Surface_Device *s = new My_Surface_Device(reinterpret_cast(g)); return s; -- cgit