diff options
Diffstat (limited to 'src/fltk-widgets-inputs-float.adb')
-rw-r--r-- | src/fltk-widgets-inputs-float.adb | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/fltk-widgets-inputs-float.adb b/src/fltk-widgets-inputs-float.adb index 6115939..02f491f 100644 --- a/src/fltk-widgets-inputs-float.adb +++ b/src/fltk-widgets-inputs-float.adb @@ -1,8 +1,13 @@ -with Interfaces.C.Strings; -with System; -use type System.Address; +with + + Interfaces.C.Strings, + System; + +use type + + System.Address; package body FLTK.Widgets.Inputs.Float is @@ -17,6 +22,8 @@ package body FLTK.Widgets.Inputs.Float is pragma Import (C, float_input_set_handle_hook, "float_input_set_handle_hook"); + + function new_fl_float_input (X, Y, W, H : in Interfaces.C.int; Text : in Interfaces.C.char_array) @@ -28,6 +35,8 @@ package body FLTK.Widgets.Inputs.Float is pragma Import (C, free_fl_float_input, "free_fl_float_input"); + + procedure fl_float_input_draw (W : in System.Address); pragma Import (C, fl_float_input_draw, "fl_float_input_draw"); @@ -97,8 +106,6 @@ package body FLTK.Widgets.Inputs.Float is end Draw; - - function Handle (This : in out Float_Input; Event : in Event_Kind) |