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-boxes.adb | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'src/fltk-widgets-boxes.adb') diff --git a/src/fltk-widgets-boxes.adb b/src/fltk-widgets-boxes.adb index 95b8c85..c8ef70b 100644 --- a/src/fltk-widgets-boxes.adb +++ b/src/fltk-widgets-boxes.adb @@ -1,8 +1,13 @@ -with Interfaces.C; -with System; -use type System.Address; +with + + Interfaces.C, + System; + +use type + + System.Address; package body FLTK.Widgets.Boxes is @@ -17,6 +22,8 @@ package body FLTK.Widgets.Boxes is pragma Import (C, box_set_handle_hook, "box_set_handle_hook"); + + function new_fl_box (X, Y, W, H : in Interfaces.C.int; Text : in Interfaces.C.char_array) @@ -28,6 +35,8 @@ package body FLTK.Widgets.Boxes is pragma Import (C, free_fl_box, "free_fl_box"); + + procedure fl_box_draw (W : in System.Address); pragma Import (C, fl_box_draw, "fl_box_draw"); @@ -86,8 +95,6 @@ package body FLTK.Widgets.Boxes is end Draw; - - function Handle (This : in out Box; Event : in Event_Kind) -- cgit