Logo Search packages:      
Sourcecode: adesklets version File versions

void imlib_updates_set_coordinates ( Imlib_Updates  updates,
int  x,
int  y,
int  width,
int  height 
)

Parameters:
updates An updates list.
x The top left x coordinate of the update.
y The top left y coordinate of the update.
width The width of the update.
height The height of the update.
Modifies the coordinates of an update in update.

Definition at line 3182 of file imlib2.c.

{
   ImlibUpdate        *u;

   if (!ctx)
      ctx = imlib_context_new();
   CHECK_PARAM_POINTER("imlib_updates_set_coordinates", "updates", updates);
   u = (ImlibUpdate *) updates;
   u->x = x;
   u->y = y;
   u->w = width;
   u->h = height;
}


Generated by  Doxygen 1.6.0   Back to index