summaryrefslogtreecommitdiff
path: root/body/fltk-images-rgb.adb
diff options
context:
space:
mode:
Diffstat (limited to 'body/fltk-images-rgb.adb')
-rw-r--r--body/fltk-images-rgb.adb30
1 files changed, 29 insertions, 1 deletions
diff --git a/body/fltk-images-rgb.adb b/body/fltk-images-rgb.adb
index 4e193bf..f3dff61 100644
--- a/body/fltk-images-rgb.adb
+++ b/body/fltk-images-rgb.adb
@@ -16,6 +16,8 @@ package body FLTK.Images.RGB is
-- Functions From C --
------------------------
+ -- Allocation --
+
function new_fl_rgb_image
(Data : in Storage.Integer_Address;
W, H, D, L : in Interfaces.C.int)
@@ -35,6 +37,11 @@ package body FLTK.Images.RGB is
pragma Import (C, free_fl_rgb_image, "free_fl_rgb_image");
pragma Inline (free_fl_rgb_image);
+
+
+
+ -- Static Settings --
+
function fl_rgb_image_get_max_size
return Interfaces.C.size_t;
pragma Import (C, fl_rgb_image_get_max_size, "fl_rgb_image_get_max_size");
@@ -45,6 +52,11 @@ package body FLTK.Images.RGB is
pragma Import (C, fl_rgb_image_set_max_size, "fl_rgb_image_set_max_size");
pragma Inline (fl_rgb_image_set_max_size);
+
+
+
+ -- Copying --
+
function fl_rgb_image_copy
(I : in Storage.Integer_Address;
W, H : in Interfaces.C.int)
@@ -61,6 +73,8 @@ package body FLTK.Images.RGB is
+ -- Colors --
+
procedure fl_rgb_image_color_average
(I : in Storage.Integer_Address;
C : in Interfaces.C.int;
@@ -76,6 +90,8 @@ package body FLTK.Images.RGB is
+ -- Activity --
+
procedure fl_rgb_image_uncache
(I : in Storage.Integer_Address);
pragma Import (C, fl_rgb_image_uncache, "fl_rgb_image_uncache");
@@ -84,6 +100,8 @@ package body FLTK.Images.RGB is
+ -- Pixel Data --
+
function fl_rgb_image_data
(I : in Storage.Integer_Address)
return Storage.Integer_Address;
@@ -93,6 +111,8 @@ package body FLTK.Images.RGB is
+ -- Drawing --
+
procedure fl_rgb_image_draw2
(I : in Storage.Integer_Address;
X, Y : in Interfaces.C.int);
@@ -165,7 +185,11 @@ package body FLTK.Images.RGB is
- -- Copying --
+ -----------------------
+ -- API Subprograms --
+ -----------------------
+
+ -- Static Settings --
function Get_Max_Size
return Natural is
@@ -181,6 +205,10 @@ package body FLTK.Images.RGB is
end Set_Max_Size;
+
+
+ -- Copying --
+
function Copy
(This : in RGB_Image;
Width, Height : in Natural)