summaryrefslogtreecommitdiff
path: root/body/fltk-asks.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-asks.adb
parentbefe66a0a98a58e0bdb31bb8c2db4a975a744072 (diff)
Slightly better / more consistent comments
Diffstat (limited to 'body/fltk-asks.adb')
-rw-r--r--body/fltk-asks.adb27
1 files changed, 19 insertions, 8 deletions
diff --git a/body/fltk-asks.adb b/body/fltk-asks.adb
index 2b27940..034a674 100644
--- a/body/fltk-asks.adb
+++ b/body/fltk-asks.adb
@@ -27,6 +27,8 @@ package body FLTK.Asks is
-- Functions From C --
------------------------
+ -- Static Attributes --
+
function fl_ask_get_cancel
return Interfaces.C.Strings.chars_ptr;
pragma Import (C, fl_ask_get_cancel, "fl_ask_get_cancel");
@@ -80,6 +82,8 @@ package body FLTK.Asks is
+ -- Simple Messages --
+
procedure fl_ask_alert
(M : in Interfaces.C.char_array);
pragma Import (C, fl_ask_alert, "fl_ask_alert");
@@ -124,6 +128,8 @@ package body FLTK.Asks is
+ -- Choosers --
+
function fl_ask_color_chooser
(N : in Interfaces.C.char_array;
R, G, B : in out Interfaces.C.double;
@@ -173,6 +179,8 @@ package body FLTK.Asks is
+ -- Settings --
+
function fl_ask_get_message_hotspot
return Interfaces.C.int;
pragma Import (C, fl_ask_get_message_hotspot, "fl_ask_get_message_hotspot");
@@ -246,9 +254,11 @@ package body FLTK.Asks is
- ------------------
- -- Attributes --
- ------------------
+ -----------------------
+ -- API Subprograms --
+ -----------------------
+
+ -- Static Attributes --
function Get_Cancel_String
return String is
@@ -332,9 +342,7 @@ package body FLTK.Asks is
- ----------------------
- -- Common Dialogs --
- ----------------------
+ -- Simple Messages --
procedure Alert
(Message : String) is
@@ -500,6 +508,8 @@ package body FLTK.Asks is
+ -- Choosers --
+
function Color_Chooser
(Title : in String;
R, G, B : in out RGB_Float;
@@ -625,6 +635,8 @@ package body FLTK.Asks is
+ -- Settings --
+
function Get_Message_Hotspot
return Boolean is
begin
@@ -668,8 +680,6 @@ package body FLTK.Asks is
end Set_Message_Title_Default;
-
-
begin
@@ -681,3 +691,4 @@ begin
end FLTK.Asks;
+