TSDL_Color

Name

TSDL_Color -- Format independent color description

Structure Definition

  TSDL_Color = record
r: Uint8;
g: Uint8;
b: Uint8;
unused: Uint8;
end;

Structure Data

r Red intensity
g Green intensity
b Blue intensity
unused Unused

Description

TSDL_Color describes a color in a format  independent way. You can convert a SDL_Color     to a pixel value for a certain pixel format using TSDL_MapRGB.

See Also

TSDL_PixelFormat , SDL_SetColors , TSDL_Palette