get_palette_range man page

get_palette_range ā€” Retrieves a specific palette range. Allegro game programming library.


#include <allegro.h>

void get_palette_range(PALETTE p, int from, int to);


Retrieves the palette entries between from and to (inclusive: pass 0 and Ā 255 to get the entire palette).

See Also

get_palette(3), set_palette_range(3)

Referenced By

get_palette(3), set_palette_range(3).

version 4.4.3 Allegro manual