Project

General

Profile

Feature #2556

add support for COLOR statement in GUI

Added by Constantin Asofiei about 9 years ago. Updated about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
version:

color-check.p Magnifier (3.25 KB) Constantin Asofiei, 04/27/2015 03:47 AM

History

#1 Updated by Constantin Asofiei about 9 years ago

There's more than just drawing related to colors. When COLOR ... NORMAL/INPUT/MESSAGES is used, in GUI this affects both the BGCOLOR and FGCOLOR attributes - they are set to certain indexes in the standard color table, based on this configuration from progress.ini (specifies fg,bg).

NORMAL=0,15
INPUT=15,0
MESSAGES=15,1

In ChUI, this affects only the DCOLOR attribute

Second, we need to determine what happens if a color name other than NORMAL/INPUT/MESSAGES is given, as in COLOR DISPLAY some-color-name widget.. I suspect these are color names, but I can't find where they are configured, to determine if it affects both the foreground and the background.

Both the COLOR PROMPT and COLOR DISPLAY cases need to be checked.

#2 Updated by Greg Shah about 8 years ago

  • Target version deleted (Milestone 12)

Also available in: Atom PDF