forked from old/legacy-imlib2
parent
9caa5471b7
commit
9d7ebb119d
|
@ -156,6 +156,7 @@ Imlib_Updates imlib_updates_merge_for_rendering(Imlib_Updates updates, int w, in
|
|||
void imlib_updates_free(Imlib_Updates updates);
|
||||
Imlib_Updates imlib_updates_get_next(Imlib_Updates updates);
|
||||
void imlib_updates_get_coordinates(Imlib_Updates updates, int *x_return, int *y_return, int *width_return, int *height_return);
|
||||
void imlib_updates_set_coordinates(Imlib_Updates updates, int x, int y, int width, int height);
|
||||
void imlib_render_image_updates_on_drawable(Imlib_Updates updates, int x, int y);
|
||||
Imlib_Updates imlib_updates_init(void);
|
||||
Imlib_Updates imlib_updates_append_updates(Imlib_Updates updates, Imlib_Updates appended_updates);
|
||||
|
|
14
src/api.c
14
src/api.c
|
@ -1200,6 +1200,20 @@ imlib_updates_get_coordinates(Imlib_Updates updates,
|
|||
*height_return = u->h;
|
||||
}
|
||||
|
||||
void
|
||||
imlib_updates_set_coordinates(Imlib_Updates updates, int x, int y,
|
||||
int width, int height)
|
||||
{
|
||||
ImlibUpdate *u;
|
||||
|
||||
CHECK_PARAM_POINTER("imlib_updates_set_coordinates", "updates", updates);
|
||||
u = (ImlibUpdate *)updates;
|
||||
u->x = x;
|
||||
u->y = y;
|
||||
u->w = width;
|
||||
u->h = height;
|
||||
}
|
||||
|
||||
void
|
||||
imlib_render_image_updates_on_drawable(Imlib_Updates updates,
|
||||
int x, int y)
|
||||
|
|
Loading…
Reference in New Issue