diff options
author | Jed Barber <jjbarber@y7mail.com> | 2017-06-17 11:28:39 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2017-06-17 11:28:39 +1000 |
commit | fb37523537cdb69a31dede401a604981ce8b7b9d (patch) | |
tree | 9d8f8dc3a00ce27b69aa4b7d7696b49d659fcbe1 /src/fltk-widgets-groups-scrolls.ads | |
parent | 33c3691b571ce4b6a2aa6997b70c3bc5d991ca9d (diff) |
Updated coding style, added progress log
Diffstat (limited to 'src/fltk-widgets-groups-scrolls.ads')
-rw-r--r-- | src/fltk-widgets-groups-scrolls.ads | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/fltk-widgets-groups-scrolls.ads b/src/fltk-widgets-groups-scrolls.ads index e4ead1b..5299cf8 100644 --- a/src/fltk-widgets-groups-scrolls.ads +++ b/src/fltk-widgets-groups-scrolls.ads @@ -5,7 +5,6 @@ package FLTK.Widgets.Groups.Scrolls is type Scroll is new Group with private; - type Scroll_Kind is (Horizontal, Vertical, @@ -16,48 +15,51 @@ package FLTK.Widgets.Groups.Scrolls is Both_Always); + + function Create (X, Y, W, H : in Integer; Text : in String) return Scroll; + + procedure Scroll_To (This : in out Scroll; X, Y : in Integer); + procedure Set_Type + (This : in out Scroll; + Mode : in Scroll_Kind); + + + function Get_Scrollbar_Size (This : in Scroll) return Integer; - procedure Set_Scrollbar_Size (This : in out Scroll; To : in Integer); - -- These two functions are far too similar in name and -- function to the Get_X and Get_Y for Widgets. function Get_Scroll_X (This : in Scroll) return Integer; - function Get_Scroll_Y (This : in Scroll) return Integer; - procedure Set_Type - (This : in out Scroll; - Mode : in Scroll_Kind); procedure Draw (This : in out Scroll); - function Handle (This : in out Scroll; Event : in Event_Kind) @@ -69,7 +71,6 @@ private type Scroll is new Group with null record; - overriding procedure Finalize (This : in out Scroll); |