GrafX2 2.9.3227
The ultimate 256-color painting program
Sinclair ZX Spectrum

Functions

void ZX_Spectrum_set_palette (T_Components *palette)
 Set the 16 colors ZX Spectrum palette. More...
 

Detailed Description

Function Documentation

◆ ZX_Spectrum_set_palette()

void ZX_Spectrum_set_palette ( T_Components palette)

Set the 16 colors ZX Spectrum palette.

The ZX Spectrum palette is a 16 color RGBI palette. The color components are in IGRB order.

References T_Components::B, T_Components::G, and T_Components::R.

Referenced by Button_Constraint_menu().