summaryrefslogtreecommitdiff
path: root/body/fltk-devices-graphics.adb
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-02-06 19:28:33 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-02-06 19:28:33 +1300
commit547e538476a788dfeb5974f9b8ad29441d18980b (patch)
tree00a3c7d80ee403969971bc4b814876b4399f3ada /body/fltk-devices-graphics.adb
parentbefe66a0a98a58e0bdb31bb8c2db4a975a744072 (diff)
Slightly better / more consistent comments
Diffstat (limited to 'body/fltk-devices-graphics.adb')
-rw-r--r--body/fltk-devices-graphics.adb21
1 files changed, 21 insertions, 0 deletions
diff --git a/body/fltk-devices-graphics.adb b/body/fltk-devices-graphics.adb
index f97cebe..7c5d160 100644
--- a/body/fltk-devices-graphics.adb
+++ b/body/fltk-devices-graphics.adb
@@ -12,6 +12,12 @@ with
package body FLTK.Devices.Graphics is
+ ------------------------
+ -- Functions From C --
+ ------------------------
+
+ -- Color --
+
function fl_graphics_driver_color
(G : in Storage.Integer_Address)
return Interfaces.C.unsigned;
@@ -21,6 +27,8 @@ package body FLTK.Devices.Graphics is
+ -- Text --
+
function fl_graphics_driver_descent
(G : in Storage.Integer_Address)
return Interfaces.C.int;
@@ -69,6 +77,8 @@ package body FLTK.Devices.Graphics is
+ -- Images --
+
procedure fl_graphics_driver_draw_scaled
(G, I : in Storage.Integer_Address;
X, Y, W, H : in Interfaces.C.int);
@@ -78,6 +88,12 @@ package body FLTK.Devices.Graphics is
+ -----------------------
+ -- API Subprograms --
+ -----------------------
+
+ -- Color --
+
function Get_Color
(This : in Graphics_Driver)
return Color is
@@ -88,6 +104,8 @@ package body FLTK.Devices.Graphics is
+ -- Text --
+
function Get_Text_Descent
(This : in Graphics_Driver)
return Integer is
@@ -152,6 +170,8 @@ package body FLTK.Devices.Graphics is
+ -- Images --
+
procedure Draw_Scaled_Image
(This : in Graphics_Driver;
Img : in FLTK.Images.Image'Class;
@@ -169,3 +189,4 @@ package body FLTK.Devices.Graphics is
end FLTK.Devices.Graphics;
+