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-inputs.ads | |
parent | 33c3691b571ce4b6a2aa6997b70c3bc5d991ca9d (diff) |
Updated coding style, added progress log
Diffstat (limited to 'src/fltk-widgets-inputs.ads')
-rw-r--r-- | src/fltk-widgets-inputs.ads | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/fltk-widgets-inputs.ads b/src/fltk-widgets-inputs.ads index 90d6bb5..9f69795 100644 --- a/src/fltk-widgets-inputs.ads +++ b/src/fltk-widgets-inputs.ads @@ -1,7 +1,9 @@ -private with Interfaces.C.Strings; -private with System; +private with + + Interfaces.C.Strings, + System; package FLTK.Widgets.Inputs is @@ -10,21 +12,26 @@ package FLTK.Widgets.Inputs is type Input is new Widget with private; + + function Create (X, Y, W, H : in Integer; Text : in String) return Input; + + function Get_Value (This : in Input) return String; + + procedure Draw (This : in out Input); - function Handle (This : in out Input; Event : in Event_Kind) @@ -36,11 +43,12 @@ private type Input is new Widget with null record; - overriding procedure Finalize (This : in out Input); + + function fl_input_get_value (F : in System.Address) return Interfaces.C.Strings.chars_ptr; |