From ae3aaf71338960e85d27c88d7004497409c6a6d9 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Sat, 21 Apr 2018 00:19:09 +1000 Subject: More polishing, fixing of minor overlooked things, etc --- src/fltk-images-bitmaps.ads | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/fltk-images-bitmaps.ads') diff --git a/src/fltk-images-bitmaps.ads b/src/fltk-images-bitmaps.ads index 53229e2..14df718 100644 --- a/src/fltk-images-bitmaps.ads +++ b/src/fltk-images-bitmaps.ads @@ -5,6 +5,9 @@ package FLTK.Images.Bitmaps is type Bitmap is new Image with private; + type Bitmap_Reference (Data : not null access Bitmap'Class) is limited null record + with Implicit_Dereference => Data; + @@ -20,6 +23,10 @@ package FLTK.Images.Bitmaps is + procedure Draw + (This : in Bitmap; + X, Y : in Integer); + procedure Draw (This : in Bitmap; X, Y, W, H : in Integer; @@ -35,5 +42,11 @@ private (This : in out Bitmap); + + + pragma Inline (Copy); + pragma Inline (Draw); + + end FLTK.Images.Bitmaps; -- cgit