summaryrefslogtreecommitdiff
path: root/body/fltk-images-tiled.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-images-tiled.adb
parentbefe66a0a98a58e0bdb31bb8c2db4a975a744072 (diff)
Slightly better / more consistent comments
Diffstat (limited to 'body/fltk-images-tiled.adb')
-rw-r--r--body/fltk-images-tiled.adb17
1 files changed, 17 insertions, 0 deletions
diff --git a/body/fltk-images-tiled.adb b/body/fltk-images-tiled.adb
index bf9dfb3..cb0d935 100644
--- a/body/fltk-images-tiled.adb
+++ b/body/fltk-images-tiled.adb
@@ -16,6 +16,8 @@ package body FLTK.Images.Tiled is
-- Functions From C --
------------------------
+ -- Allocation --
+
function new_fl_tiled_image
(T : in Storage.Integer_Address;
W, H : in Interfaces.C.int)
@@ -28,6 +30,11 @@ package body FLTK.Images.Tiled is
pragma Import (C, free_fl_tiled_image, "free_fl_tiled_image");
pragma Inline (free_fl_tiled_image);
+
+
+
+ -- Copying --
+
function fl_tiled_image_copy
(T : in Storage.Integer_Address;
W, H : in Interfaces.C.int)
@@ -44,6 +51,8 @@ package body FLTK.Images.Tiled is
+ -- Miscellaneous --
+
function fl_tiled_image_get_image
(T : in Storage.Integer_Address)
return Storage.Integer_Address;
@@ -53,6 +62,8 @@ package body FLTK.Images.Tiled is
+ -- Colors --
+
procedure fl_tiled_image_color_average
(T : in Storage.Integer_Address;
C : in Interfaces.C.int;
@@ -68,6 +79,8 @@ package body FLTK.Images.Tiled is
+ -- Drawing --
+
procedure fl_tiled_image_draw
(T : in Storage.Integer_Address;
X, Y : in Interfaces.C.int);
@@ -126,6 +139,10 @@ package body FLTK.Images.Tiled is
+ -----------------------
+ -- API Subprograms --
+ -----------------------
+
-- Copying --
function Copy