Reference Manual - 0.9.25
IDirectFBPalette   SetEntries

Write entries to the palette.

SetEntries (
  IDirectFBPalette   * thiz,
  const DFBColor   * entries,
  unsigned int   num_entries,
  unsigned int   offset
);

Writes the specified number of entries to the palette at the specified offset.