summaryrefslogtreecommitdiff
path: root/fltk-widgets.ads
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-05-27 04:03:00 +1000
committerJed Barber <jjbarber@y7mail.com>2016-05-27 04:03:00 +1000
commit32062c660307d5b34f46b1f7b75d17a184930e71 (patch)
tree6ab33672207fdef5b500e5a0bfded5190f05e79e /fltk-widgets.ads
parent2aac034b614d6de39f4aee9f41dba8f2bcc63d8d (diff)
Text buffers, access types and line lengths
Diffstat (limited to 'fltk-widgets.ads')
-rw-r--r--fltk-widgets.ads14
1 files changed, 3 insertions, 11 deletions
diff --git a/fltk-widgets.ads b/fltk-widgets.ads
index de9afdb..9c696ed 100644
--- a/fltk-widgets.ads
+++ b/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;