diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-05-26 00:38:43 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-05-26 00:38:43 +1000 |
commit | 524edbb4463b66d61e92c92a7020d9d09b82e744 (patch) | |
tree | b2ec49fdcc88a34c4c2f80ead9548358a382da77 /src/fltk_binding/fltk-widgets-buttons.ads | |
parent | ed6fcd873aad9e574de0b2c6311d1c4404cb76dc (diff) |
The Great Package Naming Style Change(tm)
Diffstat (limited to 'src/fltk_binding/fltk-widgets-buttons.ads')
-rw-r--r-- | src/fltk_binding/fltk-widgets-buttons.ads | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/fltk_binding/fltk-widgets-buttons.ads b/src/fltk_binding/fltk-widgets-buttons.ads new file mode 100644 index 0000000..63329b8 --- /dev/null +++ b/src/fltk_binding/fltk-widgets-buttons.ads @@ -0,0 +1,40 @@ + + +package FLTK.Widgets.Buttons is + + + type Button is new Widget with private; + type State is (On, Off); + + + function Create + (X, Y, W, H : Integer; + Label : String) + return Button; + + + function Get_State + (B : in Button'Class) + return State; + + + procedure Set_State + (B : in Button'Class; + S : in State); + + + procedure Set_Only + (B : in Button'Class); + + +private + + + type Button is new Widget with null record; + + + overriding procedure Finalize (This : in out Button); + + +end FLTK.Widgets.Buttons; + |