Logo Search packages:      
Sourcecode: adesklets version File versions

void imlib_image_set_irrelevant_format ( char  irrelevant  ) 

Parameters:
irrelevant Irrelevant format flag.
Sets if the format value of the current image is irrelevant for caching purposes - by default it is. pass irrelevant as 1 to make it irrelevant and 0 to make it relevant for caching.

Definition at line 2109 of file imlib2.c.

{
   ImlibImage         *im;

   if (!ctx)
      ctx = imlib_context_new();
   CHECK_PARAM_POINTER("imlib_image_set_irrelevant_format", "image",
                       ctx->image);
   CAST_IMAGE(im, ctx->image);
   if (irrelevant)
     {
        SET_FLAG(im->flags, F_FORMAT_IRRELEVANT);
     }
   else
     {
        UNSET_FLAG(im->flags, F_FORMAT_IRRELEVANT);
     }
}


Generated by  Doxygen 1.6.0   Back to index