forked from old/legacy-imlib2
parent
5b0cea49ee
commit
919848cfaa
3
api.c
3
api.c
|
@ -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
4
main.c
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue