Logo Search packages:      
Sourcecode: adesklets version File versions

void imlib_updates_get_coordinates ( Imlib_Updates  updates,
int *  x_return,
int *  y_return,
int *  width_return,
int *  height_return 

updates An updates list.
x_return The top left x coordinate of the update.
y_return The top left y coordinate of the update.
width_return The width of the update.
height_return The height of the update.
Returns the coordinates of an update.

Definition at line 3152 of file imlib2.c.

   ImlibUpdate        *u;

   if (!ctx)
      ctx = imlib_context_new();
   CHECK_PARAM_POINTER("imlib_updates_get_coordinates", "updates", updates);
   u = (ImlibUpdate *) updates;
   if (x_return)
      *x_return = u->x;
   if (y_return)
      *y_return = u->y;
   if (width_return)
      *width_return = u->w;
   if (height_return)
      *height_return = u->h;

Generated by  Doxygen 1.6.0   Back to index