From b4438b2fbe895694be98e6e8426103deefc51448 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Tue, 21 Jan 2025 21:04:54 +1300 Subject: Split public API and private implementation files into different directories --- .../fltk-widgets-groups-browsers-textline-hold.ads | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 spec/fltk-widgets-groups-browsers-textline-hold.ads (limited to 'spec/fltk-widgets-groups-browsers-textline-hold.ads') diff --git a/spec/fltk-widgets-groups-browsers-textline-hold.ads b/spec/fltk-widgets-groups-browsers-textline-hold.ads new file mode 100644 index 0000000..7de4445 --- /dev/null +++ b/spec/fltk-widgets-groups-browsers-textline-hold.ads @@ -0,0 +1,54 @@ + + +-- Programmed by Jedidiah Barber +-- Released into the public domain + + +package FLTK.Widgets.Groups.Browsers.Textline.Hold is + + + type Hold_Browser is new Textline_Browser with private; + + type Hold_Browser_Reference (Data : not null access Hold_Browser'Class) is + limited null record with Implicit_Dereference => Data; + + + package Forge is + + function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return Hold_Browser; + + function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Hold_Browser; + + end Forge; + + +private + + + type Hold_Browser is new Textline_Browser with null record; + + overriding procedure Initialize + (This : in out Hold_Browser); + + overriding procedure Finalize + (This : in out Hold_Browser); + + procedure Extra_Init + (This : in out Hold_Browser; + X, Y, W, H : in Integer; + Text : in String); + + procedure Extra_Final + (This : in out Hold_Browser); + + +end FLTK.Widgets.Groups.Browsers.Textline.Hold; + + -- cgit