Reference Manual - 1.8.0
IDirectFBSurface   SetDstColorKeyIndex

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

DFBResult SetDstColorKeyIndex (
  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 SetDstColorKey().

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License