DirectFB Reference Manual
IDirectFBSurface   SetSrcColorKeyIndex

Set the source color key like with SetSrcColorKey() but using an index to the color/alpha lookup table.

SetSrcColorKeyIndex (
  IDirectFBSurface *thiz
  unsigned int index
);

This method is only supported by surfaces with an indexed pixelformat, e.g. DSPF_LUT8. For these formats this method should be used instead of SetSrcColorKey().

  (C) Copyright by convergence GmbH