Logo Search packages:      
Sourcecode: adesklets version File versions

Imlib_Updates imlib_update_append_rect ( Imlib_Updates  updates,
int  x,
int  y,
int  w,
int  h 

updates An updates list.
x The top left x coordinate of the rectangle.
y The top left y coordinate of the rectangle.
w The width of the rectangle.
h The height of the rectangle.
The updates handle.
Appends an update rectangle to the updates list passed in (if the updates is NULL it will create a new updates list) and returns a handle to the modified updates list (the handle may be modified so only use the new updates handle returned).

Definition at line 3054 of file imlib2.c.

   ImlibUpdate        *u;

   if (!ctx)
      ctx = imlib_context_new();
   u = (ImlibUpdate *) updates;
   return (Imlib_Updates) __imlib_AddUpdate(u, x, y, w, h);

Generated by  Doxygen 1.6.0   Back to index