summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-groups-windows-single.adb
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-12 13:16:48 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-12 14:06:05 +1300
commitf8b638b57cc1318ef3536efae662b54b3d14a3bb (patch)
tree3d1e34a93bfa418e0dbbeb18b8a490d13d915895 /src/fltk-widgets-groups-windows-single.adb
parente93b9bbc02e2791f3a35b6f077fcbb8514c28aed (diff)
Added show(int argc, char **argv) methods for Window classes
Diffstat (limited to 'src/fltk-widgets-groups-windows-single.adb')
-rw-r--r--src/fltk-widgets-groups-windows-single.adb14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/fltk-widgets-groups-windows-single.adb b/src/fltk-widgets-groups-windows-single.adb
index 720ce28..6e7c7c1 100644
--- a/src/fltk-widgets-groups-windows-single.adb
+++ b/src/fltk-widgets-groups-windows-single.adb
@@ -43,6 +43,13 @@ package body FLTK.Widgets.Groups.Windows.Single is
pragma Import (C, fl_single_window_show, "fl_single_window_show");
pragma Inline (fl_single_window_show);
+ procedure fl_single_window_show2
+ (S : in Storage.Integer_Address;
+ C : in Interfaces.C.int;
+ V : in Storage.Integer_Address);
+ pragma Import (C, fl_single_window_show2, "fl_single_window_show2");
+ pragma Inline (fl_single_window_show2);
+
procedure fl_single_window_flush
(S : in Storage.Integer_Address);
pragma Import (C, fl_single_window_flush, "fl_single_window_flush");
@@ -168,6 +175,13 @@ package body FLTK.Widgets.Groups.Windows.Single is
end Show;
+ procedure Show_With_Args
+ (This : in out Single_Window) is
+ begin
+ Dispatch_Show_With_Args (fl_single_window_show2'Access, This.Void_Ptr);
+ end Show_With_Args;
+
+
procedure Flush
(This : in out Single_Window) is
begin