delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2011/10/04/13:21:49

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
ham02.websitewelcome.com
X-Spam-Flag2999: NO
X-Spam-Level2999: &&&
X-Spam-Status2999: "No, score=3.5 required=5.0 tests=BAYES_99 autolearn=no
version=3.3.1
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gibibit.com;
h=Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding:X-BWhitelist:X-Source:X-Source-Args:X-Source-Dir:X-Source-Sender:X-Source-Auth:X-Email-Count:X-Source-Cap;
b=Wrrcv6Wa1BT/+nwF0Utu8gJuHOb22sR9szUm2VHDKKJaP1JX8v+jxjnJf2wfKJvYh/PGmtq9a5bPevOfKqdwH5QS0yvWNwW3g5DldZMCaJMrLoj5ZiOubApxByxYf+7j;
Date: Tue, 4 Oct 2011 10:04:16 -0700
From: Colin D Bennett <colin AT gibibit DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] PCB linux git head questions
Message-ID: <20111004100416.1f4a6fb8@svelte>
In-Reply-To: <4E88D4D9.5000300@ecosensory.com>
References: <4E88A49F DOT 50904 AT ecosensory DOT com>
<1317587253 DOT 5335 DOT 1 DOT camel AT localhost>
<20111003041302 DOT GB2946 AT malakian DOT lan>
<4E88D4D9 DOT 5000300 AT ecosensory DOT com>
X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; x86_64-pc-linux-gnu)
Mime-Version: 1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - gator297.hostgator.com
X-AntiAbuse: Original Domain - delorie.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - gibibit.com
X-BWhitelist: no
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: spk.venturedesignservices.com (svelte) [65.61.115.34]:12973
X-Source-Auth: colin AT gibibit DOT com
X-Email-Count: 1
X-Source-Cap: c2t5bGVuO3NreWxlbjtnYXRvcjI5Ny5ob3N0Z2F0b3IuY29t
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 02 Oct 2011 16:17:13 -0500
John Griessen <john AT ecosensory DOT com> wrote:

> On 10/02/2011 11:13 PM, Andrew Poelstra wrote:
> > The hard part would be making --layer-color-N and
> > --layer-selected-color-N command-line options work sensibly, as
> > well as the .preferences settings.
> 
> Oh, lets not do a messy fix.
> 
> My work around for project definable colors is to use more layers
> and keep them the same color, and some projects use all, some a
> subset.

I think a good solution would be for the user preferences file to
map layer names to colors, rather than layer numbers.  This way,
each layout would receive the right colors for its layers, no
matter whether there were extra layers inserted or some removed.

For instance, the user colors file might have lines like:
connected-color = #ff79e2       ; as always
off-limit-color = #cccccc       ; as always
grid-color = #ff0000            ; as always
layer-color-top = #ff6868       ; layer color assigned by name!
layer-color-bottom = #5f88ff    ; ... bottom layer
layer-color-layer2 = #5f88ff    ; ... first internal layer
layer-color-layer3 = #5f88ff    ; ... second internal layer
layer-color-outline = #5f88ff   ; ... special outline layer
layer-color-silk = #ffffff      ; ... silk layer

Then the names of layers in the .pcb layout file determine which
colors are used.

Regards,
Colin

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019