and the flim goes on..........

SVN revision: 1009
This commit is contained in:
Carsten Haitzler 1999-10-27 17:44:15 +00:00
parent 5b0cea49ee
commit 919848cfaa
2 changed files with 4 additions and 3 deletions

3
api.c
View File

@ -1471,7 +1471,8 @@ imlib_image_copy_rect(Imlib_Image image, int x, int y, int width, int height,
__imlib_copy_image_data(im, x, y, width, height, new_x, new_y);
}
Imlib_Color_Range imlib_create_color_range(void)
Imlib_Color_Range
imlib_create_color_range(void)
{
return (Imlib_Color_Range)__imlib_CreateRange();
}

4
main.c
View File

@ -314,10 +314,10 @@ int main (int argc, char **argv)
cl.red = 32; cl.green = 48; cl.blue = 80; cl.alpha = 0;
imlib_add_color_to_color_range(rg, &cl, 1);
}
imlib_image_fill_color_range_rectangle(im, 30, 30, 256, 256,
imlib_image_fill_color_range_rectangle(im, 60, 60, 256, 256,
rg, (double)x,
IMLIB_OP_COPY);
up = imlib_update_append_rect(up, 40, 40, 256, 256);
up = imlib_update_append_rect(up, 60, 60, 256, 256);
}
if (fon)
{