diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-05-27 04:03:00 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-05-27 04:03:00 +1000 |
commit | b1a8b46960380dc3a771935a09c4e4a23e811c4a (patch) | |
tree | 25d2693835dc3410165e19670b16a0c50a51ef4b /src/fltk_binding/fltk-widgets.ads | |
parent | 2b4468a62a55d9f8520582f9aa2e420ab89ed7bd (diff) |
Text buffers, access types and line lengths
Diffstat (limited to 'src/fltk_binding/fltk-widgets.ads')
-rw-r--r-- | src/fltk_binding/fltk-widgets.ads | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/fltk_binding/fltk-widgets.ads b/src/fltk_binding/fltk-widgets.ads index de9afdb..9c696ed 100644 --- a/src/fltk_binding/fltk-widgets.ads +++ b/src/fltk_binding/fltk-widgets.ads @@ -1,14 +1,13 @@ with FLTK.Enums; use FLTK.Enums; -with Ada.Finalization; -private with System; package FLTK.Widgets is - type Widget is abstract new Ada.Finalization.Limited_Controlled with private; + type Widget is abstract new Wrapper with private; + type Widget_Access is access all Widget; type Font_Size is new Natural; @@ -67,14 +66,7 @@ package FLTK.Widgets is private - type Widget is abstract new Ada.Finalization.Limited_Controlled with - record - Void_Ptr : System.Address; - end record; - - - overriding procedure Initialize - (This : in out Widget); + type Widget is abstract new Wrapper with null record; end FLTK.Widgets; |