diff options
Diffstat (limited to 'src/fltk-widgets-inputs-secret.adb')
-rw-r--r-- | src/fltk-widgets-inputs-secret.adb | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/fltk-widgets-inputs-secret.adb b/src/fltk-widgets-inputs-secret.adb index eb2bec4..ba04668 100644 --- a/src/fltk-widgets-inputs-secret.adb +++ b/src/fltk-widgets-inputs-secret.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.Secret is @@ -17,6 +22,8 @@ package body FLTK.Widgets.Inputs.Secret is pragma Import (C, secret_input_set_handle_hook, "secret_input_set_handle_hook"); + + function new_fl_secret_input (X, Y, W, H : in Interfaces.C.int; Text : in Interfaces.C.char_array) @@ -28,6 +35,8 @@ package body FLTK.Widgets.Inputs.Secret is pragma Import (C, free_fl_secret_input, "free_fl_secret_input"); + + procedure fl_secret_input_draw (W : in System.Address); pragma Import (C, fl_secret_input_draw, "fl_secret_input_draw"); @@ -86,8 +95,6 @@ package body FLTK.Widgets.Inputs.Secret is end Draw; - - function Handle (This : in out Secret_Input; Event : in Event_Kind) |