From e93b9bbc02e2791f3a35b6f077fcbb8514c28aed Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sun, 12 Jan 2025 01:14:58 +1300 Subject: Refactored draw/handle methods in Widgets hierarchy, improved docs, added a few minor method bindings here and there --- src/fltk-widgets-groups-tiled.ads | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/fltk-widgets-groups-tiled.ads') diff --git a/src/fltk-widgets-groups-tiled.ads b/src/fltk-widgets-groups-tiled.ads index 7dc3d0d..1580464 100644 --- a/src/fltk-widgets-groups-tiled.ads +++ b/src/fltk-widgets-groups-tiled.ads @@ -32,11 +32,12 @@ package FLTK.Widgets.Groups.Tiled is Old_X, Old_Y : in Integer; New_X, New_Y : in Integer); + procedure Resize + (This : in out Tiled_Group; + X, Y, W, H : in Integer); - procedure Draw - (This : in out Tiled_Group); function Handle (This : in out Tiled_Group; @@ -49,6 +50,9 @@ private type Tiled_Group is new Group with null record; + overriding procedure Initialize + (This : in out Tiled_Group); + overriding procedure Finalize (This : in out Tiled_Group); @@ -64,10 +68,11 @@ private pragma Inline (Position); + pragma Inline (Resize); - pragma Inline (Draw); pragma Inline (Handle); end FLTK.Widgets.Groups.Tiled; + -- cgit