summaryrefslogtreecommitdiff
path: root/src/fltk-widgets-buttons-toggle.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk-widgets-buttons-toggle.ads')
-rw-r--r--src/fltk-widgets-buttons-toggle.ads19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/fltk-widgets-buttons-toggle.ads b/src/fltk-widgets-buttons-toggle.ads
index a218533..2e0c967 100644
--- a/src/fltk-widgets-buttons-toggle.ads
+++ b/src/fltk-widgets-buttons-toggle.ads
@@ -25,22 +25,14 @@ package FLTK.Widgets.Buttons.Toggle is
end Forge;
-
-
- procedure Draw
- (This : in out Toggle_Button);
-
- function Handle
- (This : in out Toggle_Button;
- Event : in Event_Kind)
- return Event_Outcome;
-
-
private
type Toggle_Button is new Button with null record;
+ overriding procedure Initialize
+ (This : in out Toggle_Button);
+
overriding procedure Finalize
(This : in out Toggle_Button);
@@ -55,9 +47,6 @@ private
with Inline;
- pragma Inline (Draw);
- pragma Inline (Handle);
-
-
end FLTK.Widgets.Buttons.Toggle;
+