From 99ea64c2c914608d3429e63845f8ed396b234dd7 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Wed, 25 May 2016 01:10:29 +1000 Subject: Buttons and accessors --- src/fltk_binding/fltk-widget-button-toggle.ads | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/fltk_binding/fltk-widget-button-toggle.ads (limited to 'src/fltk_binding/fltk-widget-button-toggle.ads') diff --git a/src/fltk_binding/fltk-widget-button-toggle.ads b/src/fltk_binding/fltk-widget-button-toggle.ads new file mode 100644 index 0000000..e9d185e --- /dev/null +++ b/src/fltk_binding/fltk-widget-button-toggle.ads @@ -0,0 +1,25 @@ + + +package FLTK.Widget.Button.Toggle is + + + type Toggle_Type is new Button_Type with private; + + + function Create + (X, Y, W, H : Integer; + Label : String) + return Toggle_Type; + + +private + + + type Toggle_Type is new Button_Type with null record; + + + overriding procedure Finalize (This : in out Toggle_Type); + + +end FLTK.Widget.Button.Toggle; + -- cgit