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.adb | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'fltk-widgets.adb') diff --git a/fltk-widgets.adb b/fltk-widgets.adb index cd91841..ff46bb5 100644 --- a/fltk-widgets.adb +++ b/fltk-widgets.adb @@ -50,7 +50,8 @@ package body FLTK.Widgets is - procedure Initialize (This : in out Widget) is + procedure Initialize + (This : in out Widget) is begin This.Void_Ptr := System.Null_Address; end Initialize; @@ -69,8 +70,8 @@ package body FLTK.Widgets is procedure Set_Box - (W : in Widget'Class; - B : in Box_Kind) is + (W : in out Widget'Class; + B : in Box_Kind) is begin fl_widget_set_box (W.Void_Ptr, Box_Kind'Pos (B)); end Set_Box; @@ -89,8 +90,8 @@ package body FLTK.Widgets is procedure Set_Label_Font - (W : in Widget'Class; - F : in Font_Kind) is + (W : in out Widget'Class; + F : in Font_Kind) is begin fl_widget_set_label_font (W.Void_Ptr, Font_Kind'Pos (F)); end Set_Label_Font; @@ -109,8 +110,8 @@ package body FLTK.Widgets is procedure Set_Label_Size - (W : in Widget'Class; - S : in Font_Size) is + (W : in out Widget'Class; + S : in Font_Size) is begin fl_widget_set_label_size (W.Void_Ptr, Interfaces.C.int (S)); end Set_Label_Size; @@ -129,8 +130,8 @@ package body FLTK.Widgets is procedure Set_Label_Type - (W : in Widget'Class; - L : in Label_Kind) is + (W : in out Widget'Class; + L : in Label_Kind) is begin fl_widget_set_label_type (W.Void_Ptr, Label_Kind'Pos (L)); end Set_Label_Type; -- cgit