tavli
diff src/image.h @ 22:c2a2069a49ec
slot highlighting, TODO blur
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 07 Jul 2015 21:56:37 +0300 |
parents | b41ceead1708 |
children | 3e6430028d54 |
line diff
1.1 --- a/src/image.h Thu Jul 02 00:01:39 2015 +0300 1.2 +++ b/src/image.h Tue Jul 07 21:56:37 2015 +0300 1.3 @@ -30,7 +30,8 @@ 1.4 }; 1.5 1.6 void clear_image(Image *img); 1.7 -void clear_image(Image *img, float r, float g, float b); 1.8 +void clear_image(Image *img, float r, float g, float b, float a = 255); 1.9 +void clear_image_alpha(Image *img, float a); 1.10 1.11 enum ImgCombine { 1.12 IMG_OP_ADD,