From 832e0b4db74b86f805372f3dda554ef1cb53884e Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Thu, 19 Dec 2024 16:04:28 +1300 Subject: Added Fl_Hold_Browser --- src/fltk-widgets-groups-browsers-textline-hold.ads | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/fltk-widgets-groups-browsers-textline-hold.ads (limited to 'src/fltk-widgets-groups-browsers-textline-hold.ads') diff --git a/src/fltk-widgets-groups-browsers-textline-hold.ads b/src/fltk-widgets-groups-browsers-textline-hold.ads new file mode 100644 index 0000000..51dbe98 --- /dev/null +++ b/src/fltk-widgets-groups-browsers-textline-hold.ads @@ -0,0 +1,48 @@ + + +-- 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; + + 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