Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

get_color - Retrieves the specified palette entry. Allegro game programming library.

Description

       Retrieves the specified palette entry. Example:

          RGB color;
          ...
          get_color(11, &color);

Name

       get_color - Retrieves the specified palette entry. Allegro game programming library.

See Also

get_palette(3alleg4), set_color(3alleg4)

Allegro                                           version 4.4.3                               get_color(3alleg4)

Synopsis

#include<allegro.h>voidget_color(intindex,RGB*p);

See Also