summaryrefslogtreecommitdiff
path: root/fltk-widgets-buttons.ads
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-05-26 04:35:58 +1000
committerJed Barber <jjbarber@y7mail.com>2016-05-26 04:35:58 +1000
commit2aac034b614d6de39f4aee9f41dba8f2bcc63d8d (patch)
treec3a06709e36cccb576dddf81614c8cddfefffb9f /fltk-widgets-buttons.ads
parent0f28695be695a0b2e8fbfff388c61cb69cdc03af (diff)
In the interests of readability and consistent style...
Diffstat (limited to 'fltk-widgets-buttons.ads')
-rw-r--r--fltk-widgets-buttons.ads13
1 files changed, 7 insertions, 6 deletions
diff --git a/fltk-widgets-buttons.ads b/fltk-widgets-buttons.ads
index 63329b8..8469bcc 100644
--- a/fltk-widgets-buttons.ads
+++ b/fltk-widgets-buttons.ads
@@ -8,8 +8,8 @@ package FLTK.Widgets.Buttons is
function Create
- (X, Y, W, H : Integer;
- Label : String)
+ (X, Y, W, H : in Integer;
+ Label : in String)
return Button;
@@ -19,12 +19,12 @@ package FLTK.Widgets.Buttons is
procedure Set_State
- (B : in Button'Class;
- S : in State);
+ (B : in out Button'Class;
+ S : in State);
procedure Set_Only
- (B : in Button'Class);
+ (B : in out Button'Class);
private
@@ -33,7 +33,8 @@ private
type Button is new Widget with null record;
- overriding procedure Finalize (This : in out Button);
+ overriding procedure Finalize
+ (This : in out Button);
end FLTK.Widgets.Buttons;