From 0353e6eea265f5f6fa53eb75300529d9ffa6d4fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Mohari?= Date: Wed, 13 Nov 2013 20:54:09 +0100 Subject: Add support for changing the gamma value --- image.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'image.h') diff --git a/image.h b/image.h index 9a4efe6..7ed104e 100644 --- a/image.h +++ b/image.h @@ -55,6 +55,9 @@ typedef struct { bool aa; bool alpha; + Imlib_Color_Modifier cmod; + int gamma; + multi_img_t multi; } img_t; @@ -81,6 +84,8 @@ void img_flip(img_t*, flipdir_t); void img_toggle_antialias(img_t*); +void img_set_gamma(img_t*, int); + bool img_frame_navigate(img_t*, int); bool img_frame_animate(img_t*, bool); -- cgit v1.2.3