From ca9cca53a19145216cb0e00462db239e1194696d Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sun, 29 Apr 2018 00:39:36 +1000 Subject: FLTK.Event done, a whole bunch more polishing --- src/fltk-devices-surfaces-image.ads | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/fltk-devices-surfaces-image.ads') diff --git a/src/fltk-devices-surfaces-image.ads b/src/fltk-devices-surfaces-image.ads index 6023af2..21870dd 100644 --- a/src/fltk-devices-surfaces-image.ads +++ b/src/fltk-devices-surfaces-image.ads @@ -12,6 +12,9 @@ package FLTK.Devices.Surfaces.Image is type Image_Surface is new Surface_Device with private; + type Image_Surface_Reference (Data : not null access Image_Surface'Class) is + limited null record with Implicit_Dereference => Data; + @@ -73,5 +76,21 @@ private (This : in out Image_Surface); + + + pragma Inline (Is_Highres); + + + pragma Inline (Draw_Widget); + pragma Inline (Draw_Decorated_Window); + + + pragma Inline (Get_Image); + pragma Inline (Get_Highres_Image); + + + pragma Inline (Set_Current); + + end FLTK.Devices.Surfaces.Image; -- cgit