From f8b638b57cc1318ef3536efae662b54b3d14a3bb Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sun, 12 Jan 2025 13:16:48 +1300 Subject: Added show(int argc, char **argv) methods for Window classes --- src/fltk-widgets-groups-windows-double-overlay.adb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/fltk-widgets-groups-windows-double-overlay.adb') diff --git a/src/fltk-widgets-groups-windows-double-overlay.adb b/src/fltk-widgets-groups-windows-double-overlay.adb index 33a2f92..3b16b62 100644 --- a/src/fltk-widgets-groups-windows-double-overlay.adb +++ b/src/fltk-widgets-groups-windows-double-overlay.adb @@ -48,6 +48,13 @@ package body FLTK.Widgets.Groups.Windows.Double.Overlay is pragma Import (C, fl_overlay_window_show, "fl_overlay_window_show"); pragma Inline (fl_overlay_window_show); + procedure fl_overlay_window_show2 + (W : in Storage.Integer_Address; + C : in Interfaces.C.int; + V : in Storage.Integer_Address); + pragma Import (C, fl_overlay_window_show2, "fl_overlay_window_show2"); + pragma Inline (fl_overlay_window_show2); + procedure fl_overlay_window_hide (W : in Storage.Integer_Address); pragma Import (C, fl_overlay_window_hide, "fl_overlay_window_hide"); @@ -212,6 +219,13 @@ package body FLTK.Widgets.Groups.Windows.Double.Overlay is end Show; + procedure Show_With_Args + (This : in out Overlay_Window) is + begin + Dispatch_Show_With_Args (fl_overlay_window_show2'Access, This.Void_Ptr); + end Show_With_Args; + + procedure Hide (This : in out Overlay_Window) is begin -- cgit