get_color(3alleg4)

get_color3alleg4

Retrieves the specified palette entry. allegro game programming library.

Usage

#include <allegro.h>

void get_color(int index, RGB *p);

Overview

Retrieves the specified palette entry. Example:

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

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.