1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-23 05:19:21 +02:00

eeshow/style.h, style.c: add Green, Red, Green2, Green3, and a user light grey

This commit is contained in:
Werner Almesberger 2016-08-07 14:04:04 -03:00
parent d953345397
commit 4418741fc6
2 changed files with 12 additions and 0 deletions

View File

@ -18,14 +18,21 @@
uint32_t color_rgb[] = { uint32_t color_rgb[] = {
[COLOR_BLACK] = 0x000000, [COLOR_BLACK] = 0x000000,
[COLOR_BLUE] = 0x0000ff, [COLOR_BLUE] = 0x0000ff,
[COLOR_GREEN] = 0x00ff00,
[COLOR_RED] = 0xff0000,
[COLOR_YELLOW] = 0xffff00, [COLOR_YELLOW] = 0xffff00,
[COLOR_WHITE] = 0xffffff, [COLOR_WHITE] = 0xffffff,
[COLOR_GREEN4] = 0x009000, [COLOR_GREEN4] = 0x009000,
[COLOR_GREEN3] = 0x00b000,
[COLOR_GREEN2] = 0x00d000,
[COLOR_CYAN4] = 0x009090, [COLOR_CYAN4] = 0x009090,
[COLOR_CYAN3] = 0x00b0b0, [COLOR_CYAN3] = 0x00b0b0,
[COLOR_RED4] = 0x900000, [COLOR_RED4] = 0x900000,
[COLOR_RED3] = 0xb00000, [COLOR_RED3] = 0xb00000,
[COLOR_MAGENTA4] = 0x900090, [COLOR_MAGENTA4] = 0x900090,
[COLOR_BROWN2] = 0xc06000, [COLOR_BROWN2] = 0xc06000,
/* user-defined colors */
[COLOR_DARK_YELLOW] = 0x848400, [COLOR_DARK_YELLOW] = 0x848400,
[COLOR_LIGHT_GREY] = 0xd0d0d0,
}; };

View File

@ -21,9 +21,13 @@
#define COLOR_NONE -1 #define COLOR_NONE -1
#define COLOR_BLACK 0 #define COLOR_BLACK 0
#define COLOR_BLUE 1 #define COLOR_BLUE 1
#define COLOR_GREEN 2
#define COLOR_RED 4
#define COLOR_YELLOW 6 #define COLOR_YELLOW 6
#define COLOR_WHITE 7 #define COLOR_WHITE 7
#define COLOR_GREEN4 12 #define COLOR_GREEN4 12
#define COLOR_GREEN3 13
#define COLOR_GREEN2 14
#define COLOR_CYAN4 15 #define COLOR_CYAN4 15
#define COLOR_CYAN3 16 #define COLOR_CYAN3 16
#define COLOR_RED4 18 #define COLOR_RED4 18
@ -32,6 +36,7 @@
#define COLOR_BROWN2 26 #define COLOR_BROWN2 26
#define COLOR_DARK_YELLOW 32 /* user-defined */ #define COLOR_DARK_YELLOW 32 /* user-defined */
#define COLOR_LIGHT_GREY 33 /* user-defined, not used for FIG */
#define COLOR_COMP_DWG COLOR_RED4 #define COLOR_COMP_DWG COLOR_RED4
#define COLOR_COMP_DWG_BG COLOR_YELLOW #define COLOR_COMP_DWG_BG COLOR_YELLOW