From c7e4f58a5fb0d62c4af3b82dabb1b52e72f99743 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Thu, 19 Dec 2024 20:03:55 +1300 Subject: Added Fl_Select_Browser --- ...ltk-widgets-groups-browsers-textline-choice.ads | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/fltk-widgets-groups-browsers-textline-choice.ads (limited to 'src/fltk-widgets-groups-browsers-textline-choice.ads') diff --git a/src/fltk-widgets-groups-browsers-textline-choice.ads b/src/fltk-widgets-groups-browsers-textline-choice.ads new file mode 100644 index 0000000..a1b78af --- /dev/null +++ b/src/fltk-widgets-groups-browsers-textline-choice.ads @@ -0,0 +1,48 @@ + + +-- Programmed by Jedidiah Barber +-- Released into the public domain + + +package FLTK.Widgets.Groups.Browsers.Textline.Choice is + + + type Choice_Browser is new Textline_Browser with private; + + type Choice_Browser_Reference (Data : not null access Choice_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 Choice_Browser; + + end Forge; + + +private + + + type Choice_Browser is new Textline_Browser with null record; + + overriding procedure Initialize + (This : in out Choice_Browser); + + overriding procedure Finalize + (This : in out Choice_Browser); + + procedure Extra_Init + (This : in out Choice_Browser; + X, Y, W, H : in Integer; + Text : in String); + + procedure Extra_Final + (This : in out Choice_Browser); + + +end FLTK.Widgets.Groups.Browsers.Textline.Choice; + + -- cgit