diff options
Diffstat (limited to 'src/fltk-widgets-inputs.adb')
-rw-r--r-- | src/fltk-widgets-inputs.adb | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/fltk-widgets-inputs.adb b/src/fltk-widgets-inputs.adb index 479d82e..633ede7 100644 --- a/src/fltk-widgets-inputs.adb +++ b/src/fltk-widgets-inputs.adb @@ -1,9 +1,13 @@ -with Interfaces.C; -with Interfaces.C.Strings; -with System; -use type System.Address; +with + + Interfaces.C.Strings, + System; + +use type + + System.Address; package body FLTK.Widgets.Inputs is @@ -18,6 +22,8 @@ package body FLTK.Widgets.Inputs is pragma Import (C, input_set_handle_hook, "input_set_handle_hook"); + + function new_fl_input (X, Y, W, H : in Interfaces.C.int; Text : in Interfaces.C.char_array) @@ -29,6 +35,8 @@ package body FLTK.Widgets.Inputs is pragma Import (C, free_fl_input, "free_fl_input"); + + procedure fl_input_draw (W : in System.Address); pragma Import (C, fl_input_draw, "fl_input_draw"); @@ -97,8 +105,6 @@ package body FLTK.Widgets.Inputs is end Draw; - - function Handle (This : in out Input; Event : in Event_Kind) |