summaryrefslogtreecommitdiff
path: root/body/fltk-images-bitmaps.adb
diff options
context:
space:
mode:
Diffstat (limited to 'body/fltk-images-bitmaps.adb')
-rw-r--r--body/fltk-images-bitmaps.adb15
1 files changed, 15 insertions, 0 deletions
diff --git a/body/fltk-images-bitmaps.adb b/body/fltk-images-bitmaps.adb
index e2c7dd3..cfb63d7 100644
--- a/body/fltk-images-bitmaps.adb
+++ b/body/fltk-images-bitmaps.adb
@@ -16,6 +16,8 @@ package body FLTK.Images.Bitmaps is
-- Functions From C --
------------------------
+ -- Allocation --
+
function new_fl_bitmap
(D : in Storage.Integer_Address;
W, H : in Interfaces.C.int)
@@ -28,6 +30,11 @@ package body FLTK.Images.Bitmaps is
pragma Import (C, free_fl_bitmap, "free_fl_bitmap");
pragma Inline (free_fl_bitmap);
+
+
+
+ -- Copying --
+
function fl_bitmap_copy
(I : in Storage.Integer_Address;
W, H : in Interfaces.C.int)
@@ -44,6 +51,8 @@ package body FLTK.Images.Bitmaps is
+ -- Activity --
+
procedure fl_bitmap_uncache
(I : in Storage.Integer_Address);
pragma Import (C, fl_bitmap_uncache, "fl_bitmap_uncache");
@@ -52,6 +61,8 @@ package body FLTK.Images.Bitmaps is
+ -- Pixel Data --
+
function fl_bitmap_data
(B : in Storage.Integer_Address)
return Storage.Integer_Address;
@@ -61,6 +72,8 @@ package body FLTK.Images.Bitmaps is
+ -- Drawing --
+
procedure fl_bitmap_draw2
(I : in Storage.Integer_Address;
X, Y : in Interfaces.C.int);
@@ -120,6 +133,8 @@ package body FLTK.Images.Bitmaps is
-- API Subprograms --
-----------------------
+ -- Contracts --
+
function To_Next_Byte
(Bits : in Natural)
return Natural is