diff options
Diffstat (limited to 'src/fltk-widgets-inputs-integer.adb')
-rw-r--r-- | src/fltk-widgets-inputs-integer.adb | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/fltk-widgets-inputs-integer.adb b/src/fltk-widgets-inputs-integer.adb index f0fb7b9..b9b4eff 100644 --- a/src/fltk-widgets-inputs-integer.adb +++ b/src/fltk-widgets-inputs-integer.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.Integer is @@ -17,6 +22,8 @@ package body FLTK.Widgets.Inputs.Integer is pragma Import (C, int_input_set_handle_hook, "int_input_set_handle_hook"); + + function new_fl_int_input (X, Y, W, H : in Interfaces.C.int; Text : in Interfaces.C.char_array) @@ -28,6 +35,8 @@ package body FLTK.Widgets.Inputs.Integer is pragma Import (C, free_fl_int_input, "free_fl_int_input"); + + procedure fl_int_input_draw (W : in System.Address); pragma Import (C, fl_int_input_draw, "fl_int_input_draw"); @@ -97,8 +106,6 @@ package body FLTK.Widgets.Inputs.Integer is end Draw; - - function Handle (This : in out Integer_Input; Event : in Event_Kind) |