1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-27 01:59:42 +02:00

eeshow/diff.c: make red a little less dominant

This commit is contained in:
Werner Almesberger 2016-08-09 14:19:21 -03:00
parent 29f4db55ed
commit 315494d617

View File

@ -37,6 +37,15 @@
#define MASK 0xffffff #define MASK 0xffffff
/* steal from schhist/ppmdiff.c */
#define ONLY_OLD 0xff5050
#define ONLY_NEW 0x00c000
#define BOTH 0x707070
#define AREA_FILL 0xffffc8
struct area { struct area {
int xa, ya, xb, yb; int xa, ya, xb, yb;
@ -178,15 +187,6 @@ fail_open:
} }
/* steal from schhist/ppmdiff.c */
#define ONLY_OLD 0xff0000
#define ONLY_NEW 0x00d000
#define BOTH 0x707070
#define AREA_FILL 0xffffc8
static void mark_area(struct diff *diff, int x, int y) static void mark_area(struct diff *diff, int x, int y)
{ {
struct area *area; struct area *area;