DirectFB Reference Manual
IDirectFB   CreatePalette

Create a palette matching the specified description.

CreatePalette (
  IDirectFB *thiz
  DFBPaletteDescription *desc
  IDirectFBPalette **interface
);

Passing a NULL description creates a default palette with 256 entries filled with colors matching the RGB332 format.

  (C) Copyright by convergence GmbH