diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-21 21:04:54 +1300 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2025-01-21 21:04:54 +1300 |
commit | b4438b2fbe895694be98e6e8426103deefc51448 (patch) | |
tree | 760d86cd7c06420a91dad102cc9546aee73146fc /src/fltk-widgets-valuators-sliders-scrollbars.ads | |
parent | a4703a65b015140cd4a7a985db66264875ade734 (diff) |
Split public API and private implementation files into different directories
Diffstat (limited to 'src/fltk-widgets-valuators-sliders-scrollbars.ads')
-rw-r--r-- | src/fltk-widgets-valuators-sliders-scrollbars.ads | 110 |
1 files changed, 0 insertions, 110 deletions
diff --git a/src/fltk-widgets-valuators-sliders-scrollbars.ads b/src/fltk-widgets-valuators-sliders-scrollbars.ads deleted file mode 100644 index 79b4c69..0000000 --- a/src/fltk-widgets-valuators-sliders-scrollbars.ads +++ /dev/null @@ -1,110 +0,0 @@ - - --- Programmed by Jedidiah Barber --- Released into the public domain - - -limited with - - FLTK.Widgets.Groups; - - -package FLTK.Widgets.Valuators.Sliders.Scrollbars is - - - type Scrollbar is new Slider with private; - - type Scrollbar_Reference (Data : not null access Scrollbar'Class) is - limited null record with Implicit_Dereference => Data; - - - - - package Forge is - - function Create - (X, Y, W, H : in Integer; - Text : in String := "") - return Scrollbar; - - function Create - (Parent : in out FLTK.Widgets.Groups.Group'Class; - X, Y, W, H : in Integer; - Text : in String := "") - return Scrollbar; - - end Forge; - - - - - function Get_Line_Size - (This : in Scrollbar) - return Natural; - - procedure Set_Line_Size - (This : in out Scrollbar; - To : in Natural); - - function Get_Position - (This : in Scrollbar) - return Natural; - - procedure Set_Position - (This : in out Scrollbar; - To : in Natural); - - procedure Set_All - (This : in out Scrollbar; - Position : in Natural; - Win_Size : in Natural; - First_Line : in Natural; - Total_Lines : in Natural); - - - - - procedure Draw - (This : in out Scrollbar); - - function Handle - (This : in out Scrollbar; - Event : in Event_Kind) - return Event_Outcome; - - -private - - - type Scrollbar is new Slider with null record; - - overriding procedure Initialize - (This : in out Scrollbar); - - overriding procedure Finalize - (This : in out Scrollbar); - - procedure Extra_Init - (This : in out Scrollbar; - X, Y, W, H : in Integer; - Text : in String) - with Inline; - - procedure Extra_Final - (This : in out Scrollbar) - with Inline; - - - pragma Inline (Get_Line_Size); - pragma Inline (Set_Line_Size); - pragma Inline (Get_Position); - pragma Inline (Set_Position); - pragma Inline (Set_All); - - pragma Inline (Draw); - pragma Inline (Handle); - - -end FLTK.Widgets.Valuators.Sliders.Scrollbars; - - |