summaryrefslogtreecommitdiff
path: root/src/fltk_binding/fltk-widgets.ads
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk_binding/fltk-widgets.ads')
-rw-r--r--src/fltk_binding/fltk-widgets.ads9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/fltk_binding/fltk-widgets.ads b/src/fltk_binding/fltk-widgets.ads
index c0f89c1..05bba29 100644
--- a/src/fltk_binding/fltk-widgets.ads
+++ b/src/fltk_binding/fltk-widgets.ads
@@ -10,8 +10,6 @@ package FLTK.Widgets is
type Widget is abstract new Wrapper with private;
- type Widget_Cursor (Data : access Widget'Class) is limited null record
- with Implicit_Dereference => Data;
type Widget_Callback is interface;
@@ -20,11 +18,6 @@ package FLTK.Widgets is
Item : in out Widget'Class) is abstract;
- -- would like to move this definition to FLTK.Widgets.Groups somehow
- type Group_Cursor (Data : access FLTK.Widgets.Groups.Group'Class) is limited null record
- with Implicit_Dereference => Data;
-
-
type Font_Size is new Natural;
Normal_Size : constant Font_Size := 14;
type Color is new Natural;
@@ -38,7 +31,7 @@ package FLTK.Widgets is
function Parent
(This : in Widget)
- return Group_Cursor;
+ return access FLTK.Widgets.Groups.Group'Class;
function Get_Box