From 16422831ed49c573c1b8a43ba907bceb00fd5eea Mon Sep 17 00:00:00 2001 From: Christian C Date: Sat, 22 Mar 2025 22:27:40 -0700 Subject: Named Types --- include/lib/color.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/lib/color.h') diff --git a/include/lib/color.h b/include/lib/color.h index 1bc9393..ceaecbd 100644 --- a/include/lib/color.h +++ b/include/lib/color.h @@ -4,16 +4,17 @@ #include #include #include +#include // Color Equal to Background // Background: zeros in RGB, alpha can be whatever -bool_t color_zero(const uint8_t* color1, size_t channels); +bool_t color_zero(const ImageData_t* color1, size_t channels); // Color Equality // Determine if two colors are identical -bool_t color_equal(const uint8_t* color1, const uint8_t* color2, size_t channels); +bool_t color_equal(const ImageData_t* color1, const ImageData_t* color2, size_t channels); // Print out the `channels` length color vector -void print_color(uint8_t* color, size_t channels); +void print_color(ImageData_t* color, size_t channels); #endif -- cgit v1.2.1