summaryrefslogtreecommitdiff
path: root/fltk-widgets-buttons.ads
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-07-15 22:20:30 +1000
committerJed Barber <jjbarber@y7mail.com>2016-07-15 22:20:30 +1000
commitf419b275ee91792e08f211a588d891c4aa6bedac (patch)
treed882ff43970b292fc75f937c0136078f68c867a5 /fltk-widgets-buttons.ads
parentf15e45791a0658fd5a062629f59c4815ce8b2489 (diff)
Groups and Widgets should now keep track of themselves properly, also all named access types removed
Diffstat (limited to 'fltk-widgets-buttons.ads')
-rw-r--r--fltk-widgets-buttons.ads11
1 files changed, 5 insertions, 6 deletions
diff --git a/fltk-widgets-buttons.ads b/fltk-widgets-buttons.ads
index 42f6e8b..a31ed79 100644
--- a/fltk-widgets-buttons.ads
+++ b/fltk-widgets-buttons.ads
@@ -4,7 +4,6 @@ package FLTK.Widgets.Buttons is
type Button is new Widget with private;
- type Button_Access is access all Button;
type State is (On, Off);
@@ -12,22 +11,22 @@ package FLTK.Widgets.Buttons is
function Create
(X, Y, W, H : in Integer;
- Label : in String)
+ Text : in String)
return Button;
function Get_State
- (B : in Button'Class)
+ (This : in Button)
return State;
procedure Set_State
- (B : in out Button'Class;
- S : in State);
+ (This : in out Button;
+ St : in State);
procedure Set_Only
- (B : in out Button'Class);
+ (This : in out Button);
private