summaryrefslogtreecommitdiff
path: root/body/fltk-widgets-groups-tables.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-widgets-groups-tables.adb
parentbefe66a0a98a58e0bdb31bb8c2db4a975a744072 (diff)
Slightly better / more consistent comments
Diffstat (limited to 'body/fltk-widgets-groups-tables.adb')
-rw-r--r--body/fltk-widgets-groups-tables.adb42
1 files changed, 42 insertions, 0 deletions
diff --git a/body/fltk-widgets-groups-tables.adb b/body/fltk-widgets-groups-tables.adb
index 061deb4..74ed22d 100644
--- a/body/fltk-widgets-groups-tables.adb
+++ b/body/fltk-widgets-groups-tables.adb
@@ -60,6 +60,8 @@ package body FLTK.Widgets.Groups.Tables is
-- Functions From C --
------------------------
+ -- Allocation --
+
function new_fl_table
(X, Y, W, H : in Interfaces.C.int;
Text : in Interfaces.C.char_array)
@@ -75,6 +77,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Attributes --
+
function fl_table_hscrollbar
(T : in Storage.Integer_Address)
return Storage.Integer_Address;
@@ -96,6 +100,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Contents Modification --
+
procedure fl_table_add
(T, W : in Storage.Integer_Address);
pragma Import (C, fl_table_add, "fl_table_add");
@@ -120,6 +126,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Contents Query --
+
function fl_table_child
(T : in Storage.Integer_Address;
P : in Interfaces.C.int)
@@ -148,6 +156,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Current --
+
procedure fl_table_begin
(T : in Storage.Integer_Address);
pragma Import (C, fl_table_begin, "fl_table_begin");
@@ -161,6 +171,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Callbacks --
+
procedure fl_table_set_callback
(T, F : in Storage.Integer_Address);
pragma Import (C, fl_table_set_callback, "fl_table_set_callback");
@@ -204,6 +216,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Columns --
+
function fl_table_get_col_header
(T : in Storage.Integer_Address)
return Interfaces.C.int;
@@ -317,6 +331,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Rows --
+
function fl_table_get_row_header
(T : in Storage.Integer_Address)
return Interfaces.C.int;
@@ -442,6 +458,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Selection --
+
procedure fl_table_change_cursor
(T : in Storage.Integer_Address;
C : in Interfaces.C.int);
@@ -514,6 +532,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Dimensions --
+
function fl_table_get_scrollbar_size
(T : in Storage.Integer_Address)
return Interfaces.C.int;
@@ -561,6 +581,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Drawing, Events --
+
procedure fl_table_draw
(T : in Storage.Integer_Address);
pragma Import (C, fl_table_draw, "fl_table_draw");
@@ -869,6 +891,8 @@ package body FLTK.Widgets.Groups.Tables is
-- API Subprograms --
-----------------------
+ -- Attributes --
+
function H_Bar
(This : in out Table)
return Valuators.Sliders.Scrollbars.Scrollbar_Reference is
@@ -895,6 +919,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Contents Modification --
+
procedure Add
(This : in out Table;
Item : in out Widget'Class) is
@@ -946,6 +972,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Contents Query --
+
function Has_Child
(This : in Table;
Place : in Index)
@@ -1023,6 +1051,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Current --
+
procedure Begin_Current
(This : in out Table) is
begin
@@ -1039,6 +1069,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Callbacks --
+
procedure Set_Callback
(This : in out Table;
Func : in Widget_Callback) is
@@ -1122,6 +1154,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Columns --
+
function Column_Headers_Enabled
(This : in Table)
return Boolean is
@@ -1307,6 +1341,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Rows --
+
function Row_Headers_Enabled
(This : in Table)
return Boolean is
@@ -1514,6 +1550,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Selection --
+
procedure Set_Cursor_Kind
(This : in out Table;
Kind : in Mouse_Cursor_Kind) is
@@ -1719,6 +1757,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Dimensions --
+
function Get_Scrollbar_Size
(This : in Table)
return Integer is
@@ -1792,6 +1832,8 @@ package body FLTK.Widgets.Groups.Tables is
+ -- Drawing, Events --
+
procedure Draw
(This : in out Table) is
begin