summaryrefslogtreecommitdiff
path: root/body/fltk-labels.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-labels.adb
parentbefe66a0a98a58e0bdb31bb8c2db4a975a744072 (diff)
Slightly better / more consistent comments
Diffstat (limited to 'body/fltk-labels.adb')
-rw-r--r--body/fltk-labels.adb27
1 files changed, 21 insertions, 6 deletions
diff --git a/body/fltk-labels.adb b/body/fltk-labels.adb
index 006db6b..e03e5c5 100644
--- a/body/fltk-labels.adb
+++ b/body/fltk-labels.adb
@@ -16,6 +16,8 @@ package body FLTK.Labels is
-- Functions From C --
------------------------
+ -- Allocation --
+
function new_fl_label
(V : in Interfaces.C.Strings.chars_ptr;
F : in Interfaces.C.int;
@@ -35,6 +37,8 @@ package body FLTK.Labels is
+ -- Attributes --
+
procedure fl_label_set_value
(L : in Storage.Integer_Address;
V : in Interfaces.C.Strings.chars_ptr);
@@ -114,6 +118,8 @@ package body FLTK.Labels is
+ -- Drawing --
+
procedure fl_label_draw
(L : in Storage.Integer_Address;
X, Y, W, H : in Interfaces.C.int;
@@ -130,9 +136,9 @@ package body FLTK.Labels is
- -----------------------------------
- -- Controlled Type Subprograms --
- -----------------------------------
+ -------------------
+ -- Destructors --
+ -------------------
procedure Finalize
(This : in out Label) is
@@ -147,9 +153,9 @@ package body FLTK.Labels is
- -----------------
- -- Label API --
- -----------------
+ --------------------
+ -- Constructors --
+ --------------------
package body Forge is
@@ -183,6 +189,12 @@ package body FLTK.Labels is
+ -----------------------
+ -- API Subprograms --
+ -----------------------
+
+ -- Attributes --
+
function Get_Value
(This : in Label)
return String is
@@ -325,6 +337,8 @@ package body FLTK.Labels is
+ -- Drawing --
+
procedure Draw
(This : in out Label;
X, Y, W, H : in Integer;
@@ -339,6 +353,7 @@ package body FLTK.Labels is
Interfaces.C.unsigned (Place));
end Draw;
+
procedure Measure
(This : in Label;
W, H : out Integer) is