get_palette

Retrieves the entire palette of 256 colors.

Description

void get_palette(PALETTE p);
Retrieves the entire palette of 256 colors. You should provide an array of 256 RGB structures to store it in. Example:
      PALETTE pal;
      ...
      get_palette(pal);

Related Discussions

The following threads each have code containing this keyword: Note: You can click on the numbers to jump directly to the posts that reference this page.

Related Projects

The following projects include source code containing this keyword: