| Home
| Previous
| Next
| Up

MGL_COLORS

Declaration

typedef enum {
MGL_BLACK,
MGL_BLUE,
MGL_GREEN,
MGL_CYAN,
MGL_RED,
MGL_MAGENTA,
MGL_BROWN,
MGL_LIGHTGRAY,
MGL_DARKGRAY,
MGL_LIGHTBLUE,
MGL_LIGHTGREEN,
MGL_LIGHTCYAN,
MGL_LIGHTRED,
MGL_LIGHTMAGENTA,
MGL_YELLOW,
MGL_WHITE
} MGL_COLORS

Prototype In

mgraph.h

Description

Defines the MGL standard colors. This is the standard set of colors for the IBM PC in DOS graphics modes. The default palette will have been programmed to contain these values by the MGL when a graphics mode is started. If the palette has been changed, the colors on the screen will not correspond to the names defined here. Under a Windowing system (like Windows, OS/2 PM or X Windows) these colors will not correspond to the default colors. For Windows see the MGL_WIN_COLORS enumeration which defines the default colors in a windowed mode.

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com