summaryrefslogtreecommitdiff
path: root/src/fltk-images-bitmaps.ads
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2018-04-21 00:19:09 +1000
committerJed Barber <jjbarber@y7mail.com>2018-04-21 00:19:09 +1000
commitae3aaf71338960e85d27c88d7004497409c6a6d9 (patch)
treeef32eb7dcd82406fe4c65df53944d4f6ca9ab04c /src/fltk-images-bitmaps.ads
parent5c1f074e4db5d2e701011c60cc3e6f486fb2ecf4 (diff)
More polishing, fixing of minor overlooked things, etc
Diffstat (limited to 'src/fltk-images-bitmaps.ads')
-rw-r--r--src/fltk-images-bitmaps.ads13
1 files changed, 13 insertions, 0 deletions
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;
+
@@ -21,6 +24,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;
CX, CY : in Integer := 0);
@@ -35,5 +42,11 @@ private
(This : in out Bitmap);
+
+
+ pragma Inline (Copy);
+ pragma Inline (Draw);
+
+
end FLTK.Images.Bitmaps;