From fb37523537cdb69a31dede401a604981ce8b7b9d Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sat, 17 Jun 2017 11:28:39 +1000 Subject: Updated coding style, added progress log --- src/fltk-widgets-inputs-file.adb | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'src/fltk-widgets-inputs-file.adb') diff --git a/src/fltk-widgets-inputs-file.adb b/src/fltk-widgets-inputs-file.adb index 187ec8d..7f9d6ad 100644 --- a/src/fltk-widgets-inputs-file.adb +++ b/src/fltk-widgets-inputs-file.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.File is @@ -17,6 +22,8 @@ package body FLTK.Widgets.Inputs.File is pragma Import (C, file_input_set_handle_hook, "file_input_set_handle_hook"); + + function new_fl_file_input (X, Y, W, H : in Interfaces.C.int; Text : in Interfaces.C.char_array) @@ -28,6 +35,8 @@ package body FLTK.Widgets.Inputs.File is pragma Import (C, free_fl_file_input, "free_fl_file_input"); + + procedure fl_file_input_draw (W : in System.Address); pragma Import (C, fl_file_input_draw, "fl_file_input_draw"); @@ -86,8 +95,6 @@ package body FLTK.Widgets.Inputs.File is end Draw; - - function Handle (This : in out File_Input; Event : in Event_Kind) -- cgit