need new updates call.....

SVN revision: 2406
This commit is contained in:
Carsten Haitzler 2000-04-02 20:31:40 +00:00
parent 9caa5471b7
commit 9d7ebb119d
2 changed files with 15 additions and 0 deletions

View File

@ -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);

View File

@ -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)