[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: Ground color
On Mon, Jun 23, 2008 at 08:06:41AM +0200, Bert Timmerman wrote:
> > You just need to go through SelectBlock and change all the
> > !TEST_FLAG(LOCKFLAG,x) calls to be (!TEST_FLAG(LOCKFLAG,x) || !Flag)
> >
> Just to be sure:
>
> You probably want to substitute "x" for "line", or "element", or "arc", or
> whatever, just the way a macro would substitute the "x".
>
> x = {line | element | via | text | arc }
Yes, I meant the 'x' as a wildcard. Everywhere it tests for the lock
flag, there needs to be an exception if `!Flag' (Flag=true for select,
false for deselect). So all "if not locked" tests become "if not locked
or we're deselecting".
--
Ben Jackson AD7GD
<ben@xxxxxxx>
http://www.ben.com/
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user