From ba40e0e277a2a959209e082fd62a3c2e796a9566 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Tue, 24 Dec 2024 12:33:28 +1300 Subject: Completed Fl_Surface_Device binding --- doc/fl_device.html | 33 +++++++++++++++++++++++++++ doc/fl_surface_device.html | 57 ++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 83 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/fl_device.html b/doc/fl_device.html index 086a45c..c87b543 100644 --- a/doc/fl_device.html +++ b/doc/fl_device.html @@ -36,6 +36,39 @@ Device + +   + Device_Reference + + + + + + + + + + + + + + +
Static Attributes
+static const char * class_id = "Fl_Device";
+
Use runtime tag checks instead
+ + + + + + + + + + +
Functions and Procedures
+virtual const char * class_name();
+
Deprecated, use runtime tag checks instead
diff --git a/doc/fl_surface_device.html b/doc/fl_surface_device.html index f4fa6e4..b6ba5f5 100644 --- a/doc/fl_surface_device.html +++ b/doc/fl_surface_device.html @@ -46,7 +46,21 @@ - + + + + + + + +
Functions and Procedures
Static Attributes
+static const char * class_id = "Fl_Surface_Device";
+
Use runtime tag checks instead
+ + + + + +
Constructors
@@ -54,11 +68,18 @@ Fl_Surface_Device(Fl_Graphics_Driver *graphics_driver);
 
 function Create
-       (Graphics : in out FLTK.Devices.Graphics.Graphics_Driver)
+       (Graphics : in FLTK.Devices.Graphics.Graphics_Driver)
     return Surface_Device;
 
+ + + + + + + - + - @@ -90,13 +123,23 @@ procedure Set_Current +
Functions and Procedures
 const char * class_name();
@@ -68,16 +89,28 @@ const char * class_name();
 
   
-void driver(Fl_Graphics_Driver *graphics_driver);
+Fl_Graphics_Driver * driver();
+
+function Has_Driver
+       (This : in Surface_Device)
+    return Boolean;
+
+function Get_Driver
+       (This : in out Surface_Device)
+    return FLTK.Devices.Graphics.Graphics_Driver_Reference;
 
TBA
-Fl_Graphics_Driver * driver();
+void driver(Fl_Graphics_Driver *graphics_driver);
+
+procedure Set_Driver
+       (This   : in out Surface_Device;
+        Driver : in     FLTK.Devices.Graphics.Graphics_Driver'Class);
 
TBA
+ + + + + + -- cgit
Static Functions and Procedures
 static Fl_Surface_Device * surface();
 
 function Get_Current
-    return access Surface_Device'Class;
+    return Surface_Device_Reference;
+
+function Get_Original
+    return Surface_Device_Reference;