Video_library/source/base/video-images-indexed-unbounded.ads

37 lines
1,004 B
Ada
Raw Normal View History

2023-08-04 02:02:53 +02:00
with Video.Colors.Maps.Generic_Fixed;
with Video.Colors.Maps.Shared_Palettes;
with Video.Images.Raster.Generic_Unbounded;
package Video.Images.Indexed.Unbounded is
generic
with package Base is new Indexed_Base (<>);
package Generic_Unbounded is
package With_Own_Palette is new Raster.Generic_Unbounded (
Raster_Images => Base.Raster,
2023-08-04 22:47:16 +02:00
Parent => Base.Own.Indexed_Image_Base);
2023-08-04 02:02:53 +02:00
type Image_with_Own_Palette is new With_Own_Palette.Image with null record;
--
package With_Shared_Palette is new Raster.Generic_Unbounded (
Raster_Images => Base.Raster,
2023-08-04 22:47:16 +02:00
Parent => Base.Shared.Indexed_Image_Base);
2023-08-04 02:02:53 +02:00
type Image_with_Shared_Palette is new With_Shared_Palette.Image with null record;
end Generic_Unbounded;
package Unbounded_Index_1 is new Generic_Unbounded (
2023-08-08 12:20:39 +02:00
Base => Index_1);
2023-08-04 02:02:53 +02:00
package Unbounded_Index_4 is new Generic_Unbounded (
2023-08-08 12:20:39 +02:00
Base => Index_4);
2023-08-04 02:02:53 +02:00
package Unbounded_Index_8 is new Generic_Unbounded (
2023-08-08 12:20:39 +02:00
Base => Index_8);
2023-08-04 02:02:53 +02:00
end Video.Images.Indexed.Unbounded;