2022-09-08 18:48:58 +02:00
|
|
|
with Video.Colors;
|
|
|
|
with SDL.Video.Pixel_Formats;
|
2022-09-11 23:02:26 +02:00
|
|
|
with SDL.Video.Palettes;
|
2022-09-08 18:48:58 +02:00
|
|
|
package Video.SDL2.Colors is
|
|
|
|
|
2022-09-11 23:02:26 +02:00
|
|
|
function To_SDL (Color : Video.Colors.Color) return SDL.Video.Palettes.Colour;
|
|
|
|
|
2022-09-08 18:48:58 +02:00
|
|
|
function To_Pixel (
|
|
|
|
Format : SDL.Video.Pixel_Formats.Pixel_Format_Access;
|
|
|
|
Color : Video.Colors.Color)
|
|
|
|
return Unsigned_32;
|
|
|
|
|
|
|
|
end Video.SDL2.Colors;
|