aboutsummaryrefslogtreecommitdiff
path: root/image.h
diff options
context:
space:
mode:
authorAndrás Mohari <andras.mohari@gmail.com>2013-11-13 20:54:09 +0100
committerAndrás Mohari <andras.mohari@gmail.com>2013-11-13 20:54:09 +0100
commit0353e6eea265f5f6fa53eb75300529d9ffa6d4fa (patch)
tree8b1e30131ec3eb3edd4cd7df7d955db3270b0c17 /image.h
parent450c1ed9b54de4d374bff80735c874bb6f7a4a0f (diff)
Add support for changing the gamma value
Diffstat (limited to 'image.h')
-rw-r--r--image.h5
1 files changed, 5 insertions, 0 deletions
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);