From 2aac034b614d6de39f4aee9f41dba8f2bcc63d8d Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Thu, 26 May 2016 04:35:58 +1000 Subject: In the interests of readability and consistent style... --- fltk-widgets-buttons-light.adb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'fltk-widgets-buttons-light.adb') diff --git a/fltk-widgets-buttons-light.adb b/fltk-widgets-buttons-light.adb index f31f3a9..18e179d 100644 --- a/fltk-widgets-buttons-light.adb +++ b/fltk-widgets-buttons-light.adb @@ -10,7 +10,7 @@ package body FLTK.Widgets.Buttons.Light is function new_fl_light_button (X, Y, W, H : in Interfaces.C.int; - L : in Interfaces.C.char_array) + Label : in Interfaces.C.char_array) return System.Address; pragma Import (C, new_fl_light_button, "new_fl_light_button"); @@ -21,7 +21,8 @@ package body FLTK.Widgets.Buttons.Light is - procedure Finalize (This : in out Light_Button) is + procedure Finalize + (This : in out Light_Button) is begin if (This.Void_Ptr /= System.Null_Address) then free_fl_light_button (This.Void_Ptr); @@ -32,8 +33,8 @@ package body FLTK.Widgets.Buttons.Light is function Create - (X, Y, W, H : Integer; - Label : String) + (X, Y, W, H : in Integer; + Label : in String) return Light_Button is VP : System.Address; -- cgit