From ebfe1e95a240cdd29d295522f002325c65df622b Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Fri, 11 Nov 2016 18:28:48 +0100 Subject: Minor changes & improvements on image color palletization handling --- src/gdisp/gdisp_image.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gdisp/gdisp_image.h') diff --git a/src/gdisp/gdisp_image.h b/src/gdisp/gdisp_image.h index a07a633d..41ed7531 100644 --- a/src/gdisp/gdisp_image.h +++ b/src/gdisp/gdisp_image.h @@ -247,10 +247,10 @@ extern "C" { * frame/page. */ delaytime_t gdispImageNext(gdispImage *img); - - int gdispImageGetPaletteSize(gdispImage *img); - color_t gdispImageGetPalette(gdispImage *img, int index); - bool_t gdispImageAdjustPalette(gdispImage *img, int index, color_t newColor); + + uint16_t gdispImageGetPaletteSize(gdispImage *img); + color_t gdispImageGetPalette(gdispImage *img, uint16_t index); + bool_t gdispImageAdjustPalette(gdispImage *img, uint16_t index, color_t newColor); #ifdef __cplusplus } -- cgit v1.2.3