diff options
author | Jed Barber <jjbarber@y7mail.com> | 2017-05-09 14:11:42 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2017-05-09 14:11:42 +1000 |
commit | 2354ea851677fbd66fb2a9fb2074a6122fc04e03 (patch) | |
tree | 4b0eb41aaebe46937f5e57a7000ce28e469cb525 /src/fltk-widgets-inputs-float.ads | |
parent | d3b6a05cf266af9d426e9756a1b2deafdbca35fe (diff) |
Added Float_Input widgets
Diffstat (limited to 'src/fltk-widgets-inputs-float.ads')
-rw-r--r-- | src/fltk-widgets-inputs-float.ads | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/fltk-widgets-inputs-float.ads b/src/fltk-widgets-inputs-float.ads new file mode 100644 index 0000000..8d6abaa --- /dev/null +++ b/src/fltk-widgets-inputs-float.ads @@ -0,0 +1,35 @@ + + +package FLTK.Widgets.Inputs.Float is + + + type Float_Input is new Input with private; + + + function Create + (X, Y, W, H : in Integer; + Text : in String) + return Float_Input; + + + function Get_Value + (This : in Float_Input) + return Standard.Float; + + + procedure Draw + (This : in out Float_Input); + + +private + + + type Float_Input is new Input with null record; + + + overriding procedure Finalize + (This : in out Float_Input); + + +end FLTK.Widgets.Inputs.Float; + |