1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-30 02:03:45 +02:00

sch2fig/: use #848400 for hierarchical labels et al., not #c06000

This commit is contained in:
Werner Almesberger 2016-08-01 10:37:24 -03:00
parent ae736a0fdf
commit dc761d2dc2
4 changed files with 7 additions and 3 deletions

View File

@ -14,8 +14,6 @@
- PDF TOC
- let user set PNG size or zoom level
- implement dashed lines in cairo.c
- use correct color for hierarchical items, 0x848400 (or close) instead of
COLOR_BROWN2
- directly pick versions out of git, without requiring checkout to file
- handle differences
- parse .kicad_wks

View File

@ -197,6 +197,9 @@ static void fig_header(void)
printf("Single\n");
printf("-2\n");
printf("1200 2\n");
/* User32, COLOR_DARK_YELLOW */
printf("0 32 #848400\n");
}

View File

@ -27,4 +27,5 @@ uint32_t color_rgb[] = {
[COLOR_RED3] = 0xb00000,
[COLOR_MAGENTA4] = 0x900090,
[COLOR_BROWN2] = 0xc06000,
[COLOR_DARK_YELLOW] = 0x848400,
};

View File

@ -31,6 +31,8 @@
#define COLOR_MAGENTA4 21
#define COLOR_BROWN2 26
#define COLOR_DARK_YELLOW 32 /* user-defined */
#define COLOR_COMP_DWG COLOR_RED4
#define COLOR_COMP_DWG_BG COLOR_YELLOW
#define COLOR_SHEET_DWG COLOR_BLUE
@ -39,7 +41,7 @@
#define COLOR_BUS COLOR_BLUE
#define COLOR_NOCONN COLOR_BLUE
#define COLOR_GLABEL COLOR_RED4
#define COLOR_HLABEL COLOR_BROWN2 /* @@@ */
#define COLOR_HLABEL COLOR_DARK_YELLOW
#define COLOR_HSHEET_BOX COLOR_MAGENTA4
#define COLOR_HSHEET_SHEET COLOR_FIELD
#define COLOR_HSHEET_FILE COLOR_HLABEL