| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |
Arguments: nil
Returns the default-pixmap-color-vector. This is a color vector shared by the texture-infos of many Allegro pixmaps for efficiency. It contains the following sixteen colors:
0black
1dark-red
2dark-green
3dark-yellow
4dark-blue
5dark-magenta
6dark-cyan
7light-gray
8gray
9red
10green
11yellow
12blue
13magenta
14cyan
15white
An application pixmap that uses these 16 colors in this order could
use this color vector in the colors slot of the texture-info
used with the pixmap
in order to reduce the total number of color vectors needed by the
application. Pixmap-creating programs such as the Paint applet may
create pixmaps that use this color order or a similar one that could
be edited to this one.
An additional advantage of using default-pixmap-color-vector is that Allegro automatically changes the vector's gray entry to the system-edge-shadow-color, the light-gray entry to the system-dialog-background-color, and the white entry to the system-background-color. This means that button pixmaps using this color vector will automatically appear in the custom colors that the end user has set up in the Windows Control Panel.
default-pixmap-color-vector is a
property of the system
class.
In releases prior to 7.0, this function was named default-palette-vector and took one argument, which was in fact ignored. New code should use this function called without arguments.
Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |