1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-07-01 03:22:01 +03:00

eeshow/style.h (COLOR_COMP_DWG_BG): use lighter yellow for background

0xffffc2 is the same color KiCad uses.
This commit is contained in:
Werner Almesberger 2016-08-16 12:27:37 -03:00
parent f08f43d706
commit a0be60f935
2 changed files with 8 additions and 2 deletions

View File

@ -37,6 +37,11 @@ uint32_t color_rgb[] = {
/* user-defined colors */
[COLOR_DARK_YELLOW] = 0x848400,
[COLOR_LIGHT_GREY] = 0xd0d0d0,
[COLOR_LIGHT_YELLOW] = 0xffffc2,
/*
* If COLOR_LIGHT_YELLOW should be visible in diff (and not
* just appear white), use 0xffffa0 or darker.
*/
};
unsigned n_color_rgb = ARRAY_ELEMENTS(color_rgb);

View File

@ -37,10 +37,11 @@
#define COLOR_PINK4 27
#define COLOR_DARK_YELLOW 32 /* user-defined */
#define COLOR_LIGHT_GREY 33 /* user-defined, not used for FIG */
#define COLOR_LIGHT_GREY 33 /* user-defined, not used by FIG */
#define COLOR_LIGHT_YELLOW 34 /* user-defined */
#define COLOR_COMP_DWG COLOR_RED4
#define COLOR_COMP_DWG_BG COLOR_YELLOW
#define COLOR_COMP_DWG_BG COLOR_LIGHT_YELLOW
#define COLOR_SHEET_DWG COLOR_BLUE
#define COLOR_TEXT COLOR_BLUE
#define COLOR_WIRE COLOR_GREEN4