mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-23 05:31:53 +02:00
sch2fig/style.c: forgot to add, oops
This commit is contained in:
parent
71aeab9ab8
commit
72e6ed53f4
30
sch2fig/style.c
Normal file
30
sch2fig/style.c
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/*
|
||||||
|
* style.c - Drawing style
|
||||||
|
*
|
||||||
|
* Written 2016 by Werner Almesberger
|
||||||
|
* Copyright 2016 by Werner Almesberger
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include "style.h"
|
||||||
|
|
||||||
|
|
||||||
|
uint32_t color_rgb[] = {
|
||||||
|
[COLOR_BLACK] = 0x000000,
|
||||||
|
[COLOR_BLUE] = 0x0000ff,
|
||||||
|
[COLOR_YELLOW] = 0xffff00,
|
||||||
|
[COLOR_WHITE] = 0xffffff,
|
||||||
|
[COLOR_GREEN4] = 0x009000,
|
||||||
|
[COLOR_CYAN4] = 0x009090,
|
||||||
|
[COLOR_CYAN3] = 0x00b0b0,
|
||||||
|
[COLOR_RED4] = 0x900000,
|
||||||
|
[COLOR_RED3] = 0xb00000,
|
||||||
|
[COLOR_MAGENTA4] = 0x900090,
|
||||||
|
[COLOR_BROWN2] = 0xc06000,
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user