DCCOLOR.AR...........The color configuration file
HEADER SYMBOLS.......Definition of dCLIP color manifest symbols/constants

DCCOLOR.AR

The color configuration file

Description:

DCCOLOR.AR is a color configuration file that is used to store
the different color "palettes" for dCLIP high-level functions
and menus. A default set of colors (one palette only) is
built-in to dCLIP. This color set is named the "Standard Color
Set" and may be modified by using the COLOR SETUP command or
DC_CLRSETUP() function. Once the color configuration has been
changed, the new configuration is saved in DCCOLOR.AR.

The user may create as many color "palettes" as desired to meet
individual needs. For example, if you use wish to establish a
mulitiple-window browse with a different color scheme for each
window, you will need to create a new color set. This is
accomplished in the COLOR SETUP menu or by using the
DC_COLORADD() function.

Selecting a color set is accomplished via the BROWSE / EDITING
menus, COLOR SETUP menu, or DC_COLORSEL() function.

DCCOLOR.AR is an array-image file that stores the values in the
PUBLIC "DCCOLOR" color array and is used to restore the array
at startup time.

HEADER SYMBOLS

Definition of dCLIP color manifest symbols/constants

Description:

// dCLIP Color Manifest Symbols

The below manifest "symbols" can be used in your source code to
set a system color. These symbols are used with the DC_COLOR()
or SETCOLOR() function as follows:

-- Examples --

#include "dccolor.ch"

DC_COLOR( cC_POPMENF ) // set color of pulldown menu frames

Manifest
Symbol Array element Description
------------ ---------------------- ----------------------------

cC_DOTPROMPT dCCOLOR[dCCOLOR[1]+1,1] Main dot-prompt
cC_BRMENUF dCCOLOR[dCCOLOR[1]+1,2] Browse menus frame
cC_BRMENUD dCCOLOR[dCCOLOR[1]+1,3] Browse menus data
cC_BRMENUH dCCOLOR[dCCOLOR[1]+1,4] Browse menus header
cC_BRMENUB dCCOLOR[dCCOLOR[1]+1,5] Browse menus menu bar
cC_BRMENUS dCCOLOR[dCCOLOR[1]+1,6] Browse menus select bar
cC_POPMENF dCCOLOR[dCCOLOR[1]+1,7] Popup / pulldown menu frames
cC_POPMENI dCCOLOR[dCCOLOR[1]+1,8] Popup / pulldown menu items
cC_POPMENS dCCOLOR[dCCOLOR[1]+1,9] Popup / pulldown menu select
cC_MEMOBOX dCCOLOR[dCCOLOR[1]+1,10] All memos box
cC_MEMOTXT dCCOLOR[dCCOLOR[1]+1,11] All memos contents
cC_EXPBOXF dCCOLOR[dCCOLOR[1]+1,12] Exploding boxes frame
cC_EXPBOXC dCCOLOR[dCCOLOR[1]+1,13] Exploding boxes contents
cC_DBUGGER dCCOLOR[dCCOLOR[1]+1,14] DBUGGER main screen
cC_WARNBOX dCCOLOR[dCCOLOR[1]+1,15] Warning boxes frame
cC_WARNTXT dCCOLOR[dCCOLOR[1]+1,16] Warning boxes contents
cC_DBUGBOX dCCOLOR[dCCOLOR[1]+1,17] Debug boxes frames
cC_DBUGTXT dCCOLOR[dCCOLOR[1]+1,18] Debug boxes contents
cC_DBUGBAR dCCOLOR[dCCOLOR[1]+1,19] Debug boxes select bar
cC_SPECIAL dCCOLOR[dCCOLOR[1]+1,20] Special codes
cC_SAY dCCOLOR[dCCOLOR[1]+1,21] SAYs
cC_PENDGET dCCOLOR[dCCOLOR[1]+1,22] Pending GETs
cC_CURRGET dCCOLOR[dCCOLOR[1]+1,23] Current GET
cC_STAT1 dCCOLOR[dCCOLOR[1]+1,24] Dot-prompt status line / lines
cC_STAT2 dCCOLOR[dCCOLOR[1]+1,25] Dot-prompt status line / data
cC_POPGRAY dCCOLOR[dCCOLOR[1]+1,26] Pop-up menus gray items

lC_BLINKBIT dCCOLOR[dCCOLOR[1]+1,34] Blink-bit or High Intensity
cC_SETNAME dCCOLOR[dCCOLOR[1]+1,35] Name of this color set

nC_COLORNAME 35 Numeric value of cC_SETNAME
nC_COLORPAL dCCOLOR[1] Selected color palette


// dCLIP Color Manifest Constants

The below manifest "constants" can be used in your source code
to set a system color. These constants are used with the
DC_COLOR() function as follows:

DC_COLOR( nC_MEMOBOX ) // set color to memo box color

Manifest
Constant Value Description
---------- ----- --------------------------------------
nC_DOTPROMPT 1 Main dot-prompt
nC_BRMENUF 2 Browse menus frame
nC_BRMENUD 3 Browse menus data
nC_BRMENUH 4 Browse menus header
nC_BRMENUB 5 Browse menus menu bar
nC_BRMENUS 6 Browse menus select bar
nC_POPMENF 7 Popup / pulldown menu frames
nC_POPMENI 8 Popup / pulldown menu items
nC_POPMENS 9 Popup / pulldown menu select bars
nC_MEMOBOX 10 All memos box
nC_MEMOTXT 11 All memos contents
nC_EXPBOXF 12 Exploding boxes frame
nC_EXPBOXC 13 Exploding boxes contents
nC_DBUGGER 14 DBUGGER main screen
nC_WARNBOX 15 Warning boxes frame
nC_WARNTXT 16 Warning boxes contents
nC_DBUGBOX 17 Debug boxes frames
nC_DBUGTXT 18 Debug boxes contents
nC_DBUGBAR 19 Debug boxes select bar
nC_SPECIAL 20 Special codes
nC_SAY 21 SAYs
nC_PENDGET 22 Pending GETs
nC_CURRGET 23 Current GET
nC_STAT1 24 Dot-prompt status line / lines
nC_STAT2 25 Dot-prompt status line / data
nC_BLINKBIT 34 Blink-bit or High Intensity
nC_SETNAME 35 Name of this color set
nC_POPGRAY 36 Name of this color set
nC_SAYGETS 100 Standard foreground/background for SAYS..GETS

Source/Library:

DCCOLOR.CH